An object defining the basic abilities we want all of our hibernate objects to have.
| name | data type | constraints | description |
|---|---|---|---|
| travelerFirstName | string | ||
| travelerLastName | string | ||
| confirmationCode | string | ||
| startDate | number | ||
| commission | number | ||
| commissionRate | number | ||
| vendorType | string | ||
| propertyName | string | ||
| vendorCode | string | ||
| cityName | string | ||
| zipCode | string | ||
| stateCountryCode | string | ||
| phoneNumber | string | ||
| propertyId | string | ||
| propertyIataCode | string | ||
| statusCode | string | ||
| agressoId | number | ||
| itinerary | Itinerary | ||
| loaded | boolean | required boolean | |
| inputId | string | ||
| endDate | number | ||
| country | string | ||
| address | string | ||
| cityCode | string | ||
| matchedFields | string | ||
| segmentId | number | ||
| segmentFoundInAgresso | boolean | ||
Properties inherited from BaseHibernateEntity |
|||
| id | number | The unique internal ID of the object. | |
| version | number | For internal use only. This is the serialization recorder for optimistic locking of several objects between sessions. | |
Properties inherited from BaseEntity |
|||
| violations | array of SimpleViolation | A list of constraint violations, if any, that this object has. | |
Example
{
"travelerFirstName" : "...",
"travelerLastName" : "...",
"confirmationCode" : "...",
"startDate" : 12345,
"commission" : 12345.0,
"commissionRate" : 12345.0,
"vendorType" : "...",
"propertyName" : "...",
"vendorCode" : "...",
"cityName" : "...",
"zipCode" : "...",
"stateCountryCode" : "...",
"phoneNumber" : "...",
"propertyId" : "...",
"propertyIataCode" : "...",
"statusCode" : "...",
"agressoId" : 12345,
"itinerary" : {
"recordLocator" : "...",
"agentName" : "...",
"client" : {
"status" : { },
"parentClient" : { },
"accountNumber" : "...",
"name" : "...",
"type" : { },
"id" : 12345,
"version" : 12345,
"violations" : [ { }, { } ]
},
"office" : {
"pcc" : "...",
"name" : "...",
"address1" : "...",
"address2" : "...",
"address3" : "...",
"city" : "...",
"state" : "...",
"zip" : "...",
"parentCompany" : { },
"active" : "...",
"branch" : "...",
"clientPrefix" : "...",
"profileSettings" : { },
"afterHoursNumber" : "...",
"collectVoidLogs" : true,
"gds" : { },
"arcNumber" : "...",
"logo" : "...",
"logoLink" : "...",
"afterHoursInternationalNumber" : "...",
"tollFreeNumber" : "...",
"phoneNumber" : "...",
"onlineOffice" : { },
"showTmcAppLinks" : true,
"vipTollFree" : "...",
"vipAfterHours" : "...",
"cityCode" : { },
"tmcHeadQuarters" : true,
"id" : 12345,
"version" : 12345,
"violations" : [ { }, { } ]
},
"departureDate" : 12345,
"completionDate" : 12345,
"importDate" : 12345,
"gds" : {
"code" : "...",
"name" : "...",
"enabled" : true,
"id" : 12345,
"version" : 12345,
"violations" : [ { }, { } ]
},
"latest" : true,
"citySummary" : "...",
"departureCity" : {
"code" : "...",
"countryCode" : "...",
"latitude" : 12345.0,
"longitude" : 12345.0,
"name" : "...",
"stateOrCountry" : "...",
"airportName" : "...",
"region" : { },
"timeZone" : { },
"retentionOnly" : true,
"position" : 12345,
"unique" : true,
"alias" : true,
"id" : 12345,
"version" : 12345,
"violations" : [ { }, { } ]
},
"arrivalCity" : {
"code" : "...",
"countryCode" : "...",
"latitude" : 12345.0,
"longitude" : 12345.0,
"name" : "...",
"stateOrCountry" : "...",
"airportName" : "...",
"region" : { },
"timeZone" : { },
"retentionOnly" : true,
"position" : 12345,
"unique" : true,
"alias" : true,
"id" : 12345,
"version" : 12345,
"violations" : [ { }, { } ]
},
"arrivalDate" : 12345,
"utcArrivalDate" : 12345,
"startDate" : 12345,
"endDate" : 12345,
"purpose" : "...",
"explanation" : "...",
"authorizationCode" : "...",
"costCenterCode" : "...",
"departmentCode" : "...",
"clientCode" : "...",
"regionCode" : "...",
"billable" : "...",
"travelerCode" : "...",
"managerCode" : "...",
"projectCode" : "...",
"status" : {
"name" : "...",
"position" : 12345,
"id" : 12345,
"version" : 12345,
"violations" : [ { }, { } ]
},
"observers" : [ {
"status" : { },
"parentClient" : { },
"accountNumber" : "...",
"name" : "...",
"type" : { },
"id" : 12345,
"version" : 12345,
"violations" : [ { }, { } ]
}, {
"status" : { },
"parentClient" : { },
"accountNumber" : "...",
"name" : "...",
"type" : { },
"id" : 12345,
"version" : 12345,
"violations" : [ { }, { } ]
} ],
"id" : 12345,
"version" : 12345,
"violations" : [ {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
}, {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
} ]
},
"loaded" : true,
"inputId" : "...",
"endDate" : 12345,
"country" : "...",
"address" : "...",
"cityCode" : "...",
"matchedFields" : "...",
"segmentId" : 12345,
"segmentFoundInAgresso" : true,
"id" : 12345,
"version" : 12345,
"violations" : [ {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
}, {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
} ]
}