CreateTravelBookingInput
Defines the input for creating a travel booking.
input CreateTravelBookingInput {
airlineReference: String
arrivalDate: LocalDate
arrivalPortId: ID
arrivalTerminal: String
arrivalTimezone: TimeZone
bookingNotes: String
bookingReference: String
carrierId: ID
class: String
comment: String
contactId: ID!
customFields: [CustomFieldInput!]
departureDate: LocalDate
departurePortId: ID
departureTerminal: String
departureTimezone: TimeZone
eta: LocalTime
etd: LocalTime
eventId: ID!
flightNumber: String
itinerary: String
passengers: [CreateTravelPassengerInput!]
paymentDetails: CreateTravelPaymentDetailsInput!
sectorId: ID
taxOverrides: [TaxOverrideInput!]
temporaryHoldContextId: ID
tickets: PositiveInt!
travelTypeId: ID!
}
Fields
CreateTravelBookingInput.airlineReference ● String scalar
The airline reference for the travel booking. Optional.
CreateTravelBookingInput.arrivalDate ● LocalDate scalar
The arrival date of the travel booking. Optional.
CreateTravelBookingInput.arrivalPortId ● ID scalar
The identifier of the port of arrival for the travel booking. Optional.
CreateTravelBookingInput.arrivalTerminal ● String scalar
A UTF-8 string that represents the terminal of arrival for the travel booking. Optional.
CreateTravelBookingInput.arrivalTimezone ● TimeZone scalar
The time zone in which the arrival date and time are specified. Optional.
If not specified, the arrival date and time are expected to be expressed in the local time zone of the arrival port.
CreateTravelBookingInput.bookingNotes ● String scalar
A UTF-8 string that represents the booking notes for the travel booking. Optional.
CreateTravelBookingInput.bookingReference ● String scalar
A UTF-8 string that represents the booking reference for the travel booking. Optional.
CreateTravelBookingInput.carrierId ● ID scalar
The identifier of the carrier for the travel booking. Optional.
CreateTravelBookingInput.class ● String scalar
The class for the travel booking. Optional.
CreateTravelBookingInput.comment ● String scalar
A UTF-8 string that represents the comment for the travel booking. Optional.
CreateTravelBookingInput.contactId ● ID! non-null scalar
The identifier of the contact for the travel booking.
CreateTravelBookingInput.customFields ● [CustomFieldInput!] list input
The custom fields to create for the travel booking. Optional.
CreateTravelBookingInput.departureDate ● LocalDate scalar
The departure date of the travel booking. Optional.
CreateTravelBookingInput.departurePortId ● ID scalar
The identifier of the port of departure for the travel booking. Optional.
CreateTravelBookingInput.departureTerminal ● String scalar
A UTF-8 string that represents the terminal of departure for the travel booking. Optional.
CreateTravelBookingInput.departureTimezone ● TimeZone scalar
The time zone in which the departure date and time are specified. Optional.
If not specified, the departure date and time are expected to be expressed in the local time zone of the departure port.
CreateTravelBookingInput.eta ● LocalTime scalar
The estimated arrival time of the travel booking in a 24 hours format. Optional.
CreateTravelBookingInput.etd ● LocalTime scalar
The estimated departure time of the travel booking in a 24 hours format. Optional.
CreateTravelBookingInput.eventId ● ID! non-null scalar
The identifier of the event the travel booking is associated with.
CreateTravelBookingInput.flightNumber ● String scalar
A UTF-8 string that represents the flight number for the travel booking. Optional.
CreateTravelBookingInput.itinerary ● String scalar
A UTF-8 string that represents the itinerary for the travel booking. Optional.
CreateTravelBookingInput.passengers ● [CreateTravelPassengerInput!] list input
The list of passengers for the travel booking. Optional.
Defaults to a single passenger with empty strings for all values.
CreateTravelBookingInput.paymentDetails ● CreateTravelPaymentDetailsInput! non-null input
The payment details for the travel booking.
CreateTravelBookingInput.sectorId ● ID scalar
The identifier of the sector for the travel booking. Optional.
CreateTravelBookingInput.taxOverrides ● [TaxOverrideInput!] list input
The collection of taxes for the travel booking that will override the taxes from setup. Optional.
When set to null, the default taxes for the travel booking will be applied. When set to an empty array, no taxes will be applied.
CreateTravelBookingInput.temporaryHoldContextId ● ID scalar
A user-defined identifier representing the context for any previously created holds. If this field is specified, any outstanding hold on the travel booking will automatically be released when the travel booking is successfully created. Optional.
CreateTravelBookingInput.tickets ● PositiveInt! non-null scalar
The number of tickets for the travel booking.
CreateTravelBookingInput.travelTypeId ● ID! non-null scalar
The identifier of the travel type for the travel booking.
Member Of
createTravelBooking mutation