TravelGroupRequestItinerary Data Type

A relationship between requests and itineraries. This is its own domain so that we can better control when to add or remove itineraries from requests.

Properties
name data type description
request TravelGroupRequest The initial request for this itinerary.
itinerary Itinerary The trip that was built in response to the request.
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

{
  "request" : {
    "status" : {
      "name" : "...",
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "name" : "...",
    "departureDate" : "...",
    "returnDate" : "...",
    "coordinatorName" : "...",
    "coordinatorPhone" : "...",
    "coordinatorEmail" : "...",
    "agent" : {
      "user" : { },
      "agentCode" : "...",
      "office" : { },
      "workEmail" : "...",
      "active" : "...",
      "type" : "...",
      "emailList" : "...",
      "category" : "...",
      "directLine" : "...",
      "hours" : "...",
      "onlineAgent" : true,
      "recheckEmails" : true,
      "serviceFeesPct" : 12345.0,
      "otherServiceFeesPct" : 12345.0,
      "internationalAirCommissionPct" : 12345.0,
      "miscCommissionPct" : 12345.0,
      "airCommissionPct" : 12345.0,
      "hotelCommissionPct" : 12345.0,
      "carCommissionPct" : 12345.0,
      "employeeType" : { },
      "ticketingAgent" : true,
      "supportAgent" : true,
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "client" : {
      "status" : { },
      "parentClient" : { },
      "accountNumber" : "...",
      "name" : "...",
      "type" : { },
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "air" : true,
    "hotel" : true,
    "ground" : true,
    "meeting" : true,
    "equipment" : true,
    "departures" : [ {
      "airport" : { },
      "travelers" : [ { }, { } ],
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    }, {
      "airport" : { },
      "travelers" : [ { }, { } ],
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    } ],
    "group" : {
      "groupName" : "...",
      "client" : { },
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "destinations" : [ {
      "locationName" : "...",
      "locationAddress1" : "...",
      "locationPhone" : "...",
      "arrivalTime" : "...",
      "transport" : "...",
      "cityName" : "...",
      "zip" : "...",
      "departureTime" : "...",
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    }, {
      "locationName" : "...",
      "locationAddress1" : "...",
      "locationPhone" : "...",
      "arrivalTime" : "...",
      "transport" : "...",
      "cityName" : "...",
      "zip" : "...",
      "departureTime" : "...",
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    } ],
    "destinationName" : "...",
    "hotels" : [ {
      "position" : 12345,
      "date" : 12345,
      "queens" : 12345,
      "king" : 12345,
      "suite" : 12345,
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    }, {
      "position" : 12345,
      "date" : 12345,
      "queens" : 12345,
      "king" : 12345,
      "suite" : 12345,
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    } ],
    "grounds" : [ {
      "text" : "...",
      "urls" : [ { }, { } ],
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    }, {
      "text" : "...",
      "urls" : [ { }, { } ],
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    } ],
    "attachmentUrls" : [ {
      "url" : "...",
      "name" : "...",
      "creationDate" : "...",
      "signed" : true,
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    }, {
      "url" : "...",
      "name" : "...",
      "creationDate" : "...",
      "signed" : true,
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    } ],
    "id" : 12345,
    "version" : 12345,
    "violations" : [ {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    }, {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    } ]
  },
  "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" : [ { }, { } ]
    },
    "hide" : 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" : "...",
    "id" : 12345,
    "version" : 12345,
    "violations" : [ {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    }, {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    } ]
  },
  "id" : 12345,
  "version" : 12345,
  "violations" : [ {
    "propertyName" : "...",
    "failureMessage" : "...",
    "stackTrace" : "..."
  }, {
    "propertyName" : "...",
    "failureMessage" : "...",
    "stackTrace" : "..."
  } ]
}