FlatTravelRequest Data Type

Created by jeremiah on 1/11/18.

Properties
name data type description
clientId number
agentEmail string
arrangingFor string
passengers array of FlatTravelRequestPassenger
contacts array of FlatTravelRequestContact
udids array of FlatTravelRequestUdid
segments array of FlatTravelRequestSegment
client Client
arranger User

Example

{
  "clientId" : 12345,
  "agentEmail" : "...",
  "arrangingFor" : "...",
  "passengers" : [ {
    "name" : "...",
    "dateOfBirth" : "...",
    "gender" : "..."
  }, {
    "name" : "...",
    "dateOfBirth" : "...",
    "gender" : "..."
  } ],
  "contacts" : [ {
    "name" : "...",
    "email" : "...",
    "phone" : "...",
    "extension" : "...",
    "clientName" : "..."
  }, {
    "name" : "...",
    "email" : "...",
    "phone" : "...",
    "extension" : "...",
    "clientName" : "..."
  } ],
  "udids" : [ {
    "number" : 12345,
    "name" : "...",
    "value" : "..."
  }, {
    "number" : 12345,
    "name" : "...",
    "value" : "..."
  } ],
  "segments" : [ {
    "type" : "...",
    "departureDate" : "...",
    "departureTime" : "...",
    "departure" : "...",
    "destination" : "...",
    "returnDate" : "...",
    "returnTime" : "...",
    "preferredAirline" : "...",
    "airFlightType" : "...",
    "preferredClass" : "...",
    "airPaymentTerms" : "...",
    "preferredSeat" : "...",
    "sameAsPickup" : true,
    "pickup" : "...",
    "pickupDate" : "...",
    "preferredVendor" : "...",
    "preferredSize" : "...",
    "notes" : "...",
    "checkIn" : "...",
    "checkOut" : "...",
    "location" : "...",
    "rooms" : 12345,
    "adults" : 12345,
    "children" : 12345,
    "pickupTime" : "...",
    "dropOff" : "..."
  }, {
    "type" : "...",
    "departureDate" : "...",
    "departureTime" : "...",
    "departure" : "...",
    "destination" : "...",
    "returnDate" : "...",
    "returnTime" : "...",
    "preferredAirline" : "...",
    "airFlightType" : "...",
    "preferredClass" : "...",
    "airPaymentTerms" : "...",
    "preferredSeat" : "...",
    "sameAsPickup" : true,
    "pickup" : "...",
    "pickupDate" : "...",
    "preferredVendor" : "...",
    "preferredSize" : "...",
    "notes" : "...",
    "checkIn" : "...",
    "checkOut" : "...",
    "location" : "...",
    "rooms" : 12345,
    "adults" : 12345,
    "children" : 12345,
    "pickupTime" : "...",
    "dropOff" : "..."
  } ],
  "client" : {
    "status" : {
      "name" : "...",
      "active" : true,
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "parentClient" : { },
    "accountNumber" : "...",
    "name" : "...",
    "type" : {
      "name" : "...",
      "hide" : true,
      "level" : 12345,
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "id" : 12345,
    "version" : 12345,
    "violations" : [ {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    }, {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    } ]
  },
  "arranger" : {
    "answer" : "...",
    "emailed" : true,
    "newUser" : true,
    "temporaryPassword" : "...",
    "question" : "...",
    "obeUserName" : "...",
    "obePassword" : "...",
    "obeSyncId" : "...",
    "created" : 12345,
    "emailedWhen" : 12345,
    "travelgpaLogin" : "...",
    "groups" : [ {
      "name" : "...",
      "permissions" : [ { }, { } ],
      "description" : "...",
      "role" : { },
      "type" : "...",
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    }, {
      "name" : "...",
      "permissions" : [ { }, { } ],
      "description" : "...",
      "role" : { },
      "type" : "...",
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    } ],
    "active" : true,
    "prefix" : "...",
    "firstName" : "...",
    "lastName" : "...",
    "middleName" : "...",
    "suffix" : "...",
    "email" : "...",
    "tripitAuthorized" : true,
    "supportTitle" : "...",
    "automatedNotifications" : true,
    "enableHotelAttachment" : true,
    "atHomeNotificationMethod" : {
      "name" : "...",
      "code" : "...",
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "inTravelNotificationMethod" : {
      "name" : "...",
      "code" : "...",
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "cellPhoneNumber" : "...",
    "defaultClient" : {
      "status" : { },
      "parentClient" : { },
      "accountNumber" : "...",
      "name" : "...",
      "type" : { },
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "defaultPlannerGroup" : {
      "status" : { },
      "parentClient" : { },
      "accountNumber" : "...",
      "name" : "...",
      "type" : { },
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "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" : [ {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    }, {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    } ]
  }
}