GroupRequestTraveler Data Type

A traveler that intends to go on a trip that is requested by the request system.

Properties
name data type constraints description
firstName string required The first name of the traveler.
lastName string required The last name of the traveler.
middleName string   The middle name of the traveler.
dateOfBirth string   The date of the birth of the traveler.
gender string   The gender of the traveler.
knownTravelerNumber string   The number TSA uses to identify the traveler.
email string   The traveler's email.
phone string   The traveler's phone number.
weight number   The traveler's weight.
request TravelGroupRequest required The requested trip this traveler will attend.
loyaltyPrograms array of GroupRequestTravelerLoyaltyProgram   The discount programs this traveler has with independent airlines.
passports array of GroupRequestTravelerPassport   The passports this user has with different countries.
type GroupTravelerType   The type of traveler this is. Probably indicative of leadership level or responsibilities.
leader boolean   Whether or not this traveler is responsible for the other travelers during the trip.
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

{
  "firstName" : "...",
  "lastName" : "...",
  "middleName" : "...",
  "dateOfBirth" : "...",
  "gender" : "...",
  "knownTravelerNumber" : "...",
  "email" : "...",
  "phone" : "...",
  "weight" : 12345,
  "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" : "..."
    } ]
  },
  "loyaltyPrograms" : [ {
    "airVendor" : {
      "airlineNumber" : 12345,
      "checkinLink" : "...",
      "baggageLink" : "...",
      "alliance" : { },
      "lowCostCarrier" : true,
      "longCode" : "...",
      "manualTicketingOnly" : true,
      "airTicketsUseOrigIssueDate" : true,
      "mcoTicketsUseOrigIssueDate" : true,
      "minDomesticValue" : 12345,
      "minIntlValue" : 12345,
      "position" : 12345,
      "imageUrl" : "...",
      "code" : "...",
      "name" : "...",
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "programId" : "...",
    "programName" : "...",
    "id" : 12345,
    "version" : 12345,
    "violations" : [ {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    }, {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    } ]
  }, {
    "airVendor" : {
      "airlineNumber" : 12345,
      "checkinLink" : "...",
      "baggageLink" : "...",
      "alliance" : { },
      "lowCostCarrier" : true,
      "longCode" : "...",
      "manualTicketingOnly" : true,
      "airTicketsUseOrigIssueDate" : true,
      "mcoTicketsUseOrigIssueDate" : true,
      "minDomesticValue" : 12345,
      "minIntlValue" : 12345,
      "position" : 12345,
      "imageUrl" : "...",
      "code" : "...",
      "name" : "...",
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "programId" : "...",
    "programName" : "...",
    "id" : 12345,
    "version" : 12345,
    "violations" : [ {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    }, {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    } ]
  } ],
  "passports" : [ {
    "nationality" : "...",
    "number" : "...",
    "dateIssued" : "...",
    "countryIssued" : "...",
    "expiration" : "...",
    "id" : 12345,
    "version" : 12345,
    "violations" : [ {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    }, {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    } ]
  }, {
    "nationality" : "...",
    "number" : "...",
    "dateIssued" : "...",
    "countryIssued" : "...",
    "expiration" : "...",
    "id" : 12345,
    "version" : 12345,
    "violations" : [ {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    }, {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    } ]
  } ],
  "type" : {
    "name" : "...",
    "id" : 12345,
    "version" : 12345,
    "violations" : [ {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    }, {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    } ]
  },
  "leader" : true,
  "id" : 12345,
  "version" : 12345,
  "violations" : [ {
    "propertyName" : "...",
    "failureMessage" : "...",
    "stackTrace" : "..."
  }, {
    "propertyName" : "...",
    "failureMessage" : "...",
    "stackTrace" : "..."
  } ]
}