TravelBooking
Travel booking encapsulates information about the attendee and the attendee's travel booking.
type TravelBooking {
airlineReference: String
arrivalDate: LocalDate
arrivalPort: Port
arrivalTerminal: String
arrivalTimezone: TimeZone
bookingNotes: String
bookingReference: String
bookingStatus: TravelBookingStatus!
carrier: Carrier
class: String
comment: String
contact: Contact!
createdAt: DateTime!
createdBy: String
currency: Currency!
customFields(
input: CustomFieldSearchFilterInput! = [object Object]
limit: PaginationLimit! = 100
offset: NonNegativeInt! = 0
): [CustomField!]!
departureDate: LocalDate
departurePort: Port
departureTerminal: String
departureTimezone: TimeZone
eta: LocalTime
etd: LocalTime
flightNumber: String
id: ID!
itinerary: String
lastModifiedAt: DateTime!
lastModifiedBy: String
passengers: [TravelPassenger!]!
paymentDetails: TravelBookingPaymentDetails!
sector: Sector
tickets: PositiveInt!
travelType: TravelType!
}
Fields
TravelBooking.airlineReference
● String
scalar
The airline reference for the travel booking. Optional.
TravelBooking.arrivalDate
● LocalDate
scalar
The arrival date of the travel booking. Optional.
TravelBooking.arrivalPort
● Port
object
The arrival port of the travel booking. Optional.
TravelBooking.arrivalTerminal
● String
scalar
The arrival terminal of the travel booking. Optional.
TravelBooking.arrivalTimezone
● TimeZone
scalar
The time zone in which the arrival date and time are specified. Optional.
If null
, the arrival date and time are expected to be expressed in the local time zone of the arrival port, if any.
TravelBooking.bookingNotes
● String
scalar
The booking notes for the travel booking. Optional.
TravelBooking.bookingReference
● String
scalar
The booking reference for the travel booking. Optional.
TravelBooking.bookingStatus
● TravelBookingStatus!
non-null enum
The booking status of the travel booking.
TravelBooking.carrier
● Carrier
object
The carrier of the travel booking. Optional.
TravelBooking.class
● String
scalar
The class of the travel booking. Optional.
TravelBooking.comment
● String
scalar
A UTF-8 string comment for the travel booking. Optional.
TravelBooking.contact
● Contact!
non-null object
The contact who the travel booking belongs to.
TravelBooking.createdAt
● DateTime!
non-null scalar
The date and time the record was created.
TravelBooking.createdBy
● String
scalar
UTF-8 string value that represents the username of the user who created the record. Optional.
TravelBooking.currency
● Currency!
non-null object
The currency of the amounts for the travel booking's payment details.
TravelBooking.customFields
● [CustomField!]!
non-null object
A list of custom field values associated with this travel booking.
CustomField
s and CustomFieldDefinition
s can be matched through the definitionId
and id
fields, respectively.
See CustomFieldSearchFilterInput
for details on how the optional input
argument can be used to filter custom fields.
Optionally, the offset
and limit
arguments can be used to page through multiple items:
offset
must be a non-negative integer (defaults to0
).limit
must be a positive integer from1
to2000
(defaults to100
).
TravelBooking.customFields.input
● CustomFieldSearchFilterInput!
non-null input
TravelBooking.customFields.limit
● PaginationLimit!
non-null scalar
TravelBooking.customFields.offset
● NonNegativeInt!
non-null scalar
TravelBooking.departureDate
● LocalDate
scalar
The departure date of the travel booking. Optional.
TravelBooking.departurePort
● Port
object
The departure port of the travel booking. Optional.
TravelBooking.departureTerminal
● String
scalar
The departure terminal of the travel booking. Optional.
TravelBooking.departureTimezone
● TimeZone
scalar
The time zone in which the departure date and time are specified. Optional.
If null
, the departure date and time are expected to be expressed in the local time zone of the departure port, if any.
TravelBooking.eta
● LocalTime
scalar
The estimated arrival time of the travel booking in a 24 hours format. Optional.
TravelBooking.etd
● LocalTime
scalar
The estimated departure time of the travel booking in a 24 hours format. Optional.
TravelBooking.flightNumber
● String
scalar
The flight number of the travel booking. Optional.
TravelBooking.id
● ID!
non-null scalar
The unique identifier for a travel booking.
TravelBooking.itinerary
● String
scalar
The itinerary for the travel booking. Optional.
TravelBooking.lastModifiedAt
● DateTime!
non-null scalar
The date and time the record was last modified.
TravelBooking.lastModifiedBy
● String
scalar
UTF-8 string value that represents the username of the user who last modified the record. Optional.
TravelBooking.passengers
● [TravelPassenger!]!
non-null object
A list of passengers.
TravelBooking.paymentDetails
● TravelBookingPaymentDetails!
non-null object
The payment details for the travel booking.
TravelBooking.sector
● Sector
object
The sector selected for the travel booking. Optional.
TravelBooking.tickets
● PositiveInt!
non-null scalar
The number of tickets registered for the travel booking.
TravelBooking.travelType
● TravelType!
non-null object
The travel type that was selected for the travel booking.