TravelGroupRequestDeparture Data Type

A departure is the location that a traveler will be leaving from.

Properties
name data type constraints description
airport City required The airport that travelers will depart from.
travelers array of MaskedGroupTraveler   The travelers that are local to this airport.
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

{
  "airport" : {
    "code" : "...",
    "countryCode" : "...",
    "latitude" : 12345.0,
    "longitude" : 12345.0,
    "name" : "...",
    "stateOrCountry" : "...",
    "airportName" : "...",
    "region" : {
      "name" : "...",
      "code" : "...",
      "country" : { },
      "position" : 12345,
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "timeZone" : {
      "name" : "...",
      "offset" : 12345.0,
      "daylightSavingsOffset" : 12345.0,
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "retentionOnly" : true,
    "position" : 12345,
    "unique" : true,
    "alias" : true,
    "id" : 12345,
    "version" : 12345,
    "violations" : [ {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    }, {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    } ]
  },
  "travelers" : [ {
    "id" : 12345,
    "user" : {
      "answer" : "...",
      "emailed" : true,
      "newUser" : true,
      "temporaryPassword" : "...",
      "question" : "...",
      "obeUserName" : "...",
      "obePassword" : "...",
      "obeSyncId" : "...",
      "created" : 12345,
      "emailedWhen" : 12345,
      "travelgpaLogin" : "...",
      "groups" : [ { }, { } ],
      "active" : true,
      "prefix" : "...",
      "firstName" : "...",
      "lastName" : "...",
      "middleName" : "...",
      "suffix" : "...",
      "email" : "...",
      "tripitAuthorized" : true,
      "supportTitle" : "...",
      "automatedNotifications" : true,
      "enableHotelAttachment" : true,
      "atHomeNotificationMethod" : { },
      "inTravelNotificationMethod" : { },
      "cellPhoneNumber" : "...",
      "defaultClient" : { },
      "defaultPlannerGroup" : { },
      "showWelcomeDialog" : true,
      "siteTour" : true,
      "unusedTicketEmail" : true,
      "surveyEmail" : true,
      "wt0EmailEnabled" : true,
      "wt0EmailDaily" : true,
      "wt0EmailDay" : 12345,
      "wt0EmailHour" : 12345,
      "marketingSubscribed" : true,
      "responsive" : true,
      "businessPhoneNumber" : "...",
      "homePhoneNumber" : "...",
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "firstName" : "...",
    "lastName" : "...",
    "middleName" : "...",
    "dateOfBirth" : "...",
    "leader" : true,
    "gender" : "...",
    "knownTravelerNumber" : "...",
    "email" : "...",
    "phone" : "...",
    "weight" : 12345,
    "client" : {
      "status" : { },
      "parentClient" : { },
      "accountNumber" : "...",
      "name" : "...",
      "type" : { },
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "groups" : [ {
      "groupName" : "...",
      "client" : { },
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    }, {
      "groupName" : "...",
      "client" : { },
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    } ],
    "loyaltyPrograms" : [ {
      "id" : 12345,
      "airVendor" : { },
      "programId" : "...",
      "programName" : "..."
    }, {
      "id" : 12345,
      "airVendor" : { },
      "programId" : "...",
      "programName" : "..."
    } ],
    "passports" : [ {
      "id" : 12345,
      "nationality" : "...",
      "number" : "...",
      "dateIssued" : 12345,
      "countryIssued" : "...",
      "expiration" : 12345
    }, {
      "id" : 12345,
      "nationality" : "...",
      "number" : "...",
      "dateIssued" : 12345,
      "countryIssued" : "...",
      "expiration" : 12345
    } ],
    "travelGroups" : [ {
      "groupName" : "...",
      "client" : { },
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    }, {
      "groupName" : "...",
      "client" : { },
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    } ],
    "violations" : [ {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    }, {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    } ],
    "type" : {
      "name" : "...",
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "request" : {
      "id" : 12345,
      "name" : "..."
    },
    "origination" : {
      "airport" : { },
      "travelers" : [ { }, { } ],
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    }
  }, {
    "id" : 12345,
    "user" : {
      "answer" : "...",
      "emailed" : true,
      "newUser" : true,
      "temporaryPassword" : "...",
      "question" : "...",
      "obeUserName" : "...",
      "obePassword" : "...",
      "obeSyncId" : "...",
      "created" : 12345,
      "emailedWhen" : 12345,
      "travelgpaLogin" : "...",
      "groups" : [ { }, { } ],
      "active" : true,
      "prefix" : "...",
      "firstName" : "...",
      "lastName" : "...",
      "middleName" : "...",
      "suffix" : "...",
      "email" : "...",
      "tripitAuthorized" : true,
      "supportTitle" : "...",
      "automatedNotifications" : true,
      "enableHotelAttachment" : true,
      "atHomeNotificationMethod" : { },
      "inTravelNotificationMethod" : { },
      "cellPhoneNumber" : "...",
      "defaultClient" : { },
      "defaultPlannerGroup" : { },
      "showWelcomeDialog" : true,
      "siteTour" : true,
      "unusedTicketEmail" : true,
      "surveyEmail" : true,
      "wt0EmailEnabled" : true,
      "wt0EmailDaily" : true,
      "wt0EmailDay" : 12345,
      "wt0EmailHour" : 12345,
      "marketingSubscribed" : true,
      "responsive" : true,
      "businessPhoneNumber" : "...",
      "homePhoneNumber" : "...",
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "firstName" : "...",
    "lastName" : "...",
    "middleName" : "...",
    "dateOfBirth" : "...",
    "leader" : true,
    "gender" : "...",
    "knownTravelerNumber" : "...",
    "email" : "...",
    "phone" : "...",
    "weight" : 12345,
    "client" : {
      "status" : { },
      "parentClient" : { },
      "accountNumber" : "...",
      "name" : "...",
      "type" : { },
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "groups" : [ {
      "groupName" : "...",
      "client" : { },
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    }, {
      "groupName" : "...",
      "client" : { },
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    } ],
    "loyaltyPrograms" : [ {
      "id" : 12345,
      "airVendor" : { },
      "programId" : "...",
      "programName" : "..."
    }, {
      "id" : 12345,
      "airVendor" : { },
      "programId" : "...",
      "programName" : "..."
    } ],
    "passports" : [ {
      "id" : 12345,
      "nationality" : "...",
      "number" : "...",
      "dateIssued" : 12345,
      "countryIssued" : "...",
      "expiration" : 12345
    }, {
      "id" : 12345,
      "nationality" : "...",
      "number" : "...",
      "dateIssued" : 12345,
      "countryIssued" : "...",
      "expiration" : 12345
    } ],
    "travelGroups" : [ {
      "groupName" : "...",
      "client" : { },
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    }, {
      "groupName" : "...",
      "client" : { },
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    } ],
    "violations" : [ {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    }, {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    } ],
    "type" : {
      "name" : "...",
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "request" : {
      "id" : 12345,
      "name" : "..."
    },
    "origination" : {
      "airport" : { },
      "travelers" : [ { }, { } ],
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    }
  } ],
  "id" : 12345,
  "version" : 12345,
  "violations" : [ {
    "propertyName" : "...",
    "failureMessage" : "...",
    "stackTrace" : "..."
  }, {
    "propertyName" : "...",
    "failureMessage" : "...",
    "stackTrace" : "..."
  } ]
}