Skip to content

TravelComponents

Defined in: src/travel/types.gen.ts:85

headers: never

Defined in: src/travel/types.gen.ts:792


parameters: never

Defined in: src/travel/types.gen.ts:790


pathItems: never

Defined in: src/travel/types.gen.ts:793


requestBodies: never

Defined in: src/travel/types.gen.ts:791


responses: never

Defined in: src/travel/types.gen.ts:789


schemas: object

Defined in: src/travel/types.gen.ts:86

Address: object

A location. All fields are optional, but the object will hold as much information as possible.

optional address_line_1?: string | null

The first line of the address.

Av. Vinte de Janeiro, S/N

optional address_line_2?: string | null

The second line of the address.

Ilha do Governador

optional administrative_area?: string | null

Depending on the country, this can be a state, a province, or something equivalent to those. May be an abbreviation or the full name.

RJ

optional city?: string | null

The city where the address is located.

Rio de Janeiro

optional coordinates?: object

latitude: number

Format: double

-22.8145373

longitude: number

Format: double

-43.2465548

optional country?: string | null

The country where the address is located. May be an alpha-2 code, an alpha-3 code, or the full name of the country.

Brazil

optional postal_code?: string | null

The postal code of the given address.

21941-900

optional timezone?: string | null

The timezone in the given address.

America/Sao_Paulo

Address.GeoCoordinates: object

The coordinates of an address.

latitude: number

Format: double

-22.8145373

longitude: number

Format: double

-43.2465548

AirBookingData: object

Air-specific booking information.

journeys: object[]

The journeys that make up this booking.

optional known_traveler_number?: object

AirBookingData.known_traveler_number.document_number
Section titled “AirBookingData.known_traveler_number.document_number”

document_number: string

The actual document number.

1231231
AirBookingData.known_traveler_number.issuing_country
Section titled “AirBookingData.known_traveler_number.issuing_country”

issuing_country: string

The country that issued this document.

BR

optional redress_number?: object

AirBookingData.redress_number.document_number
Section titled “AirBookingData.redress_number.document_number”

document_number: string

The actual document number.

1231231
AirBookingData.redress_number.issuing_country
Section titled “AirBookingData.redress_number.issuing_country”

issuing_country: string

The country that issued this document.

BR

tickets: object[]

The flight tickets in this booking.

type: "AIR"

discriminator enum property added by openapi-typescript

AirBookingData.CabinClass: "BUSINESS" | "ECONOMY" | "PREMIUM_ECONOMY" | "FIRST"

The cabin class of a flight.

ECONOMY
@enum {string}

AirBookingData.DocumentNumber: object

A document number such as a redress number or a known traveler number.

AirBookingData.DocumentNumber.document_number
Section titled “AirBookingData.DocumentNumber.document_number”

document_number: string

The actual document number.

1231231
AirBookingData.DocumentNumber.issuing_country
Section titled “AirBookingData.DocumentNumber.issuing_country”

issuing_country: string

The country that issued this document.

BR

AirBookingData.Flight: object

A flight taken by the traveler.

arrival_time: object

AirBookingData.Flight.arrival_time.local_time
Section titled “AirBookingData.Flight.arrival_time.local_time”

local_time: string

Format: date-time

The local time in the relevant location in the ISO 8601 format.

AirBookingData.Flight.arrival_time.timestamp?
Section titled “AirBookingData.Flight.arrival_time.timestamp?”

optional timestamp?: string | null

Format: date-time

An ISO 8601 timestamp.

2017-12-27T15:42:30Z

optional cabin_class?: "BUSINESS" | "ECONOMY" | "PREMIUM_ECONOMY" | "FIRST"

optional confirmation_code?: string | null

The airline confirmation code.

PWZRTQ

departure_time: object

AirBookingData.Flight.departure_time.local_time
Section titled “AirBookingData.Flight.departure_time.local_time”

local_time: string

Format: date-time

The local time in the relevant location in the ISO 8601 format.

AirBookingData.Flight.departure_time.timestamp?
Section titled “AirBookingData.Flight.departure_time.timestamp?”

optional timestamp?: string | null

Format: date-time

An ISO 8601 timestamp.

2017-12-27T15:42:30Z

destination: object

AirBookingData.Flight.destination.airport_code
Section titled “AirBookingData.Flight.destination.airport_code”

airport_code: string

The 3-letter IATA code of the airport.

GIG
AirBookingData.Flight.destination.airport_location?
Section titled “AirBookingData.Flight.destination.airport_location?”

optional airport_location?: object

AirBookingData.Flight.destination.airport_location.address_line_1?
Section titled “AirBookingData.Flight.destination.airport_location.address_line_1?”

optional address_line_1?: string | null

The first line of the address.

Av. Vinte de Janeiro, S/N
AirBookingData.Flight.destination.airport_location.address_line_2?
Section titled “AirBookingData.Flight.destination.airport_location.address_line_2?”

optional address_line_2?: string | null

The second line of the address.

Ilha do Governador
AirBookingData.Flight.destination.airport_location.administrative_area?
Section titled “AirBookingData.Flight.destination.airport_location.administrative_area?”

optional administrative_area?: string | null

Depending on the country, this can be a state, a province, or something equivalent to those. May be an abbreviation or the full name.

RJ
AirBookingData.Flight.destination.airport_location.city?
Section titled “AirBookingData.Flight.destination.airport_location.city?”

optional city?: string | null

The city where the address is located.

Rio de Janeiro
AirBookingData.Flight.destination.airport_location.coordinates?
Section titled “AirBookingData.Flight.destination.airport_location.coordinates?”

optional coordinates?: object

AirBookingData.Flight.destination.airport_location.coordinates.latitude
Section titled “AirBookingData.Flight.destination.airport_location.coordinates.latitude”

latitude: number

Format: double

-22.8145373
AirBookingData.Flight.destination.airport_location.coordinates.longitude
Section titled “AirBookingData.Flight.destination.airport_location.coordinates.longitude”

longitude: number

Format: double

-43.2465548
AirBookingData.Flight.destination.airport_location.country?
Section titled “AirBookingData.Flight.destination.airport_location.country?”

optional country?: string | null

The country where the address is located. May be an alpha-2 code, an alpha-3 code, or the full name of the country.

Brazil
AirBookingData.Flight.destination.airport_location.postal_code?
Section titled “AirBookingData.Flight.destination.airport_location.postal_code?”

optional postal_code?: string | null

The postal code of the given address.

21941-900
AirBookingData.Flight.destination.airport_location.timezone?
Section titled “AirBookingData.Flight.destination.airport_location.timezone?”

optional timezone?: string | null

The timezone in the given address.

America/Sao_Paulo

optional gate?: string | null

The gate for boarding or leaving the plane.

B13
AirBookingData.Flight.destination.terminal?
Section titled “AirBookingData.Flight.destination.terminal?”

optional terminal?: string | null

The terminal name and/or number.

T2

optional duration?: string | null

The duration of the flight in the ISO 8601 PnYnMnDTnHnMnS format.

PT4h20M

optional marketing_flight?: object

AirBookingData.Flight.marketing_flight.airline_code
Section titled “AirBookingData.Flight.marketing_flight.airline_code”

airline_code: string

The IATA code for the airline.

G3
AirBookingData.Flight.marketing_flight.airline_name?
Section titled “AirBookingData.Flight.marketing_flight.airline_name?”

optional airline_name?: string | null

The name of the airline.

GOL Linhas Aereas S.A.
AirBookingData.Flight.marketing_flight.number
Section titled “AirBookingData.Flight.marketing_flight.number”

number: string

The number of the flight.

1234

optional operating_flight?: object

AirBookingData.Flight.operating_flight.airline_code
Section titled “AirBookingData.Flight.operating_flight.airline_code”

airline_code: string

The IATA code for the airline.

G3
AirBookingData.Flight.operating_flight.airline_name?
Section titled “AirBookingData.Flight.operating_flight.airline_name?”

optional airline_name?: string | null

The name of the airline.

GOL Linhas Aereas S.A.
AirBookingData.Flight.operating_flight.number
Section titled “AirBookingData.Flight.operating_flight.number”

number: string

The number of the flight.

1234

origin: object

airport_code: string

The 3-letter IATA code of the airport.

GIG
AirBookingData.Flight.origin.airport_location?
Section titled “AirBookingData.Flight.origin.airport_location?”

optional airport_location?: object

AirBookingData.Flight.origin.airport_location.address_line_1?
Section titled “AirBookingData.Flight.origin.airport_location.address_line_1?”

optional address_line_1?: string | null

The first line of the address.

Av. Vinte de Janeiro, S/N
AirBookingData.Flight.origin.airport_location.address_line_2?
Section titled “AirBookingData.Flight.origin.airport_location.address_line_2?”

optional address_line_2?: string | null

The second line of the address.

Ilha do Governador
AirBookingData.Flight.origin.airport_location.administrative_area?
Section titled “AirBookingData.Flight.origin.airport_location.administrative_area?”

optional administrative_area?: string | null

Depending on the country, this can be a state, a province, or something equivalent to those. May be an abbreviation or the full name.

RJ
AirBookingData.Flight.origin.airport_location.city?
Section titled “AirBookingData.Flight.origin.airport_location.city?”

optional city?: string | null

The city where the address is located.

Rio de Janeiro
AirBookingData.Flight.origin.airport_location.coordinates?
Section titled “AirBookingData.Flight.origin.airport_location.coordinates?”

optional coordinates?: object

AirBookingData.Flight.origin.airport_location.coordinates.latitude
Section titled “AirBookingData.Flight.origin.airport_location.coordinates.latitude”

latitude: number

Format: double

-22.8145373
AirBookingData.Flight.origin.airport_location.coordinates.longitude
Section titled “AirBookingData.Flight.origin.airport_location.coordinates.longitude”

longitude: number

Format: double

-43.2465548
AirBookingData.Flight.origin.airport_location.country?
Section titled “AirBookingData.Flight.origin.airport_location.country?”

optional country?: string | null

The country where the address is located. May be an alpha-2 code, an alpha-3 code, or the full name of the country.

Brazil
AirBookingData.Flight.origin.airport_location.postal_code?
Section titled “AirBookingData.Flight.origin.airport_location.postal_code?”

optional postal_code?: string | null

The postal code of the given address.

21941-900
AirBookingData.Flight.origin.airport_location.timezone?
Section titled “AirBookingData.Flight.origin.airport_location.timezone?”

optional timezone?: string | null

The timezone in the given address.

America/Sao_Paulo

optional gate?: string | null

The gate for boarding or leaving the plane.

B13

optional terminal?: string | null

The terminal name and/or number.

T2

optional seat?: object

number: string

The seat number.

31D

optional status?: "CANCELED" | "PENDING" | "CONFIRMED"

AirBookingData.FlightEndpoint: object

The place where a flight departs from or arrives at.

AirBookingData.FlightEndpoint.airport_code
Section titled “AirBookingData.FlightEndpoint.airport_code”

airport_code: string

The 3-letter IATA code of the airport.

GIG
AirBookingData.FlightEndpoint.airport_location?
Section titled “AirBookingData.FlightEndpoint.airport_location?”

optional airport_location?: object

AirBookingData.FlightEndpoint.airport_location.address_line_1?
Section titled “AirBookingData.FlightEndpoint.airport_location.address_line_1?”

optional address_line_1?: string | null

The first line of the address.

Av. Vinte de Janeiro, S/N
AirBookingData.FlightEndpoint.airport_location.address_line_2?
Section titled “AirBookingData.FlightEndpoint.airport_location.address_line_2?”

optional address_line_2?: string | null

The second line of the address.

Ilha do Governador
AirBookingData.FlightEndpoint.airport_location.administrative_area?
Section titled “AirBookingData.FlightEndpoint.airport_location.administrative_area?”

optional administrative_area?: string | null

Depending on the country, this can be a state, a province, or something equivalent to those. May be an abbreviation or the full name.

RJ
AirBookingData.FlightEndpoint.airport_location.city?
Section titled “AirBookingData.FlightEndpoint.airport_location.city?”

optional city?: string | null

The city where the address is located.

Rio de Janeiro
AirBookingData.FlightEndpoint.airport_location.coordinates?
Section titled “AirBookingData.FlightEndpoint.airport_location.coordinates?”

optional coordinates?: object

AirBookingData.FlightEndpoint.airport_location.coordinates.latitude
Section titled “AirBookingData.FlightEndpoint.airport_location.coordinates.latitude”

latitude: number

Format: double

-22.8145373
AirBookingData.FlightEndpoint.airport_location.coordinates.longitude
Section titled “AirBookingData.FlightEndpoint.airport_location.coordinates.longitude”

longitude: number

Format: double

-43.2465548
AirBookingData.FlightEndpoint.airport_location.country?
Section titled “AirBookingData.FlightEndpoint.airport_location.country?”

optional country?: string | null

The country where the address is located. May be an alpha-2 code, an alpha-3 code, or the full name of the country.

Brazil
AirBookingData.FlightEndpoint.airport_location.postal_code?
Section titled “AirBookingData.FlightEndpoint.airport_location.postal_code?”

optional postal_code?: string | null

The postal code of the given address.

21941-900
AirBookingData.FlightEndpoint.airport_location.timezone?
Section titled “AirBookingData.FlightEndpoint.airport_location.timezone?”

optional timezone?: string | null

The timezone in the given address.

America/Sao_Paulo

optional gate?: string | null

The gate for boarding or leaving the plane.

B13

optional terminal?: string | null

The terminal name and/or number.

T2

AirBookingData.FlightNumber: object

The flight number, including carrier information.

airline_code: string

The IATA code for the airline.

G3

optional airline_name?: string | null

The name of the airline.

GOL Linhas Aereas S.A.

number: string

The number of the flight.

1234

AirBookingData.FlightSeat: object

Seat information in a flight.

number: string

The seat number.

31D

optional status?: "CANCELED" | "PENDING" | "CONFIRMED"

AirBookingData.FlightSeatStatus: "CANCELED" | "PENDING" | "CONFIRMED"

The status of a flight seat.

CONFIRMED
@enum {string}

AirBookingData.FlightTicket: object

A flight ticket.

optional issue_date?: string | null

Format: date

The date when the ticket was issued.

2017-12-27

number: string

The ticket number provided by the airline.

0017959463925

AirBookingData.Journey: object

A journey is composed of one or more flight segments that take a passenger from an origin to a final destination. E.g. if a traveler is doing a round trip from GIG to SFO, but they need to make a connection in IAH in each direction, the booking will contain 2 journeys. The first will contain 2 segments: GIG > IAH, and IAH > SFO. The second journey will also contain 2 segments: SFO > IAH, and IAH > GIG.

AirBookingData.Journey.cabin_display_name?
Section titled “AirBookingData.Journey.cabin_display_name?”

optional cabin_display_name?: string | null

The cabin name as shown by the airline.

Flexible Economy

flights: object[]

The flights that make up this journey.

status: "PROCESSING" | "CANCELED" | "REFUNDED" | "IN_PROGRESS" | "APPROVAL_DENIED" | "PENDING" | "CONFIRMED" | "HOLD" | "COMPLETED" | "VOIDED" | "UNCONFIRMED" | "AIRLINE_CONTROL" | "PAYMENT_DECLINED" | "SCHEDULE_CHANGE" | "APPROVAL_REQUESTED" | "CANCELLATION_IN_PROGRESS"

Booking: object

A booking representation.

booking_data: { journeys: object[]; known_traveler_number?: { document_number: string; issuing_country: string; }; redress_number?: { document_number: string; issuing_country: string; }; tickets: object[]; type: "AIR"; } | { car_details: { car_class?: "OTHER" | "ECONOMY" | "COMPACT" | "INTERMEDIATE" | "PREMIUM" | "LUXURY" | "CONVERTIBLE" | "COMPACT_SUV" | "INTERMEDIATE_SUV" | "PREMIUM_SUV" | "LUXURY_SUV" | "MINI_VAN" | "PASSENGER_VAN" | "PICKUP_TRUCK" | "HYBRID" | "ELECTRIC" | "MINI" | "STANDARD" | "FULL_SIZE" | "SUV" | "SPORTS" | "SPECIAL" | "RECREATIONAL_VEHICLE"; display_name: string; }; reservation_details: { confirmation_code?: string | null; drop_off: { location: { address_line_1?: string | null; address_line_2?: string | null; administrative_area?: string | null; city?: string | null; coordinates?: { latitude: number; longitude: number; }; country?: string | null; postal_code?: string | null; timezone?: string | null; }; time: { local_time: string; timestamp?: string | null; }; }; pickup: { location: { address_line_1?: string | null; address_line_2?: string | null; administrative_area?: string | null; city?: string | null; coordinates?: { latitude: number; longitude: number; }; country?: string | null; postal_code?: string | null; timezone?: string | null; }; time: { local_time: string; timestamp?: string | null; }; }; rental_company?: string | null; }; type: "CAR_RENTAL"; } | { lodging_details: { brand_name?: string | null; chain_name?: string | null; contact_information?: { email?: string | null; fax?: string | null; phone?: string | null; }; display_name: string; location?: { address_line_1?: string | null; address_line_2?: string | null; administrative_area?: string | null; city?: string | null; coordinates?: { latitude: number; longitude: number; }; country?: string | null; postal_code?: string | null; timezone?: string | null; }; star_rating?: number | null; }; reservation_details: { check_in_time: { local_time: string; timestamp?: string | null; }; checkout_time: { local_time: string; timestamp?: string | null; }; confirmation_code?: string | null; room?: { bed_count?: number | null; bed_type?: string | null; description?: string | null; display_name?: string | null; }; }; type: "LODGING"; } | { journeys: object[]; type: "RAIL"; }

{ journeys: object[]; known_traveler_number?: { document_number: string; issuing_country: string; }; redress_number?: { document_number: string; issuing_country: string; }; tickets: object[]; type: "AIR"; }

journeys: object[]

The journeys that make up this booking.

optional known_traveler_number?: object

document_number: string

The actual document number.

1231231

issuing_country: string

The country that issued this document.

BR

optional redress_number?: object

document_number: string

The actual document number.

1231231

issuing_country: string

The country that issued this document.

BR

tickets: object[]

The flight tickets in this booking.

type: "AIR"

discriminator enum property added by openapi-typescript


{ car_details: { car_class?: "OTHER" | "ECONOMY" | "COMPACT" | "INTERMEDIATE" | "PREMIUM" | "LUXURY" | "CONVERTIBLE" | "COMPACT_SUV" | "INTERMEDIATE_SUV" | "PREMIUM_SUV" | "LUXURY_SUV" | "MINI_VAN" | "PASSENGER_VAN" | "PICKUP_TRUCK" | "HYBRID" | "ELECTRIC" | "MINI" | "STANDARD" | "FULL_SIZE" | "SUV" | "SPORTS" | "SPECIAL" | "RECREATIONAL_VEHICLE"; display_name: string; }; reservation_details: { confirmation_code?: string | null; drop_off: { location: { address_line_1?: string | null; address_line_2?: string | null; administrative_area?: string | null; city?: string | null; coordinates?: { latitude: number; longitude: number; }; country?: string | null; postal_code?: string | null; timezone?: string | null; }; time: { local_time: string; timestamp?: string | null; }; }; pickup: { location: { address_line_1?: string | null; address_line_2?: string | null; administrative_area?: string | null; city?: string | null; coordinates?: { latitude: number; longitude: number; }; country?: string | null; postal_code?: string | null; timezone?: string | null; }; time: { local_time: string; timestamp?: string | null; }; }; rental_company?: string | null; }; type: "CAR_RENTAL"; }

car_details: object

optional car_class?: "OTHER" | "ECONOMY" | "COMPACT" | "INTERMEDIATE" | "PREMIUM" | "LUXURY" | "CONVERTIBLE" | "COMPACT_SUV" | "INTERMEDIATE_SUV" | "PREMIUM_SUV" | "LUXURY_SUV" | "MINI_VAN" | "PASSENGER_VAN" | "PICKUP_TRUCK" | "HYBRID" | "ELECTRIC" | "MINI" | "STANDARD" | "FULL_SIZE" | "SUV" | "SPORTS" | "SPECIAL" | "RECREATIONAL_VEHICLE"

display_name: string

The name of the car as displayed to the user.

Intermediate car

reservation_details: object

optional confirmation_code?: string | null

The confirmation code given by the vendor.

7003XBQ504

drop_off: object

location: object

reservation_details.drop_off.location.address_line_1?
Section titled “reservation_details.drop_off.location.address_line_1?”

optional address_line_1?: string | null

The first line of the address.

Av. Vinte de Janeiro, S/N
reservation_details.drop_off.location.address_line_2?
Section titled “reservation_details.drop_off.location.address_line_2?”

optional address_line_2?: string | null

The second line of the address.

Ilha do Governador
reservation_details.drop_off.location.administrative_area?
Section titled “reservation_details.drop_off.location.administrative_area?”

optional administrative_area?: string | null

Depending on the country, this can be a state, a province, or something equivalent to those. May be an abbreviation or the full name.

RJ
reservation_details.drop_off.location.city?
Section titled “reservation_details.drop_off.location.city?”

optional city?: string | null

The city where the address is located.

Rio de Janeiro
reservation_details.drop_off.location.coordinates?
Section titled “reservation_details.drop_off.location.coordinates?”

optional coordinates?: object

reservation_details.drop_off.location.coordinates.latitude
Section titled “reservation_details.drop_off.location.coordinates.latitude”

latitude: number

Format: double

-22.8145373
reservation_details.drop_off.location.coordinates.longitude
Section titled “reservation_details.drop_off.location.coordinates.longitude”

longitude: number

Format: double

-43.2465548
reservation_details.drop_off.location.country?
Section titled “reservation_details.drop_off.location.country?”

optional country?: string | null

The country where the address is located. May be an alpha-2 code, an alpha-3 code, or the full name of the country.

Brazil
reservation_details.drop_off.location.postal_code?
Section titled “reservation_details.drop_off.location.postal_code?”

optional postal_code?: string | null

The postal code of the given address.

21941-900
reservation_details.drop_off.location.timezone?
Section titled “reservation_details.drop_off.location.timezone?”

optional timezone?: string | null

The timezone in the given address.

America/Sao_Paulo

time: object

reservation_details.drop_off.time.local_time
Section titled “reservation_details.drop_off.time.local_time”

local_time: string

Format: date-time

The local time in the relevant location in the ISO 8601 format.

reservation_details.drop_off.time.timestamp?
Section titled “reservation_details.drop_off.time.timestamp?”

optional timestamp?: string | null

Format: date-time

An ISO 8601 timestamp.

2017-12-27T15:42:30Z

pickup: object

location: object

reservation_details.pickup.location.address_line_1?
Section titled “reservation_details.pickup.location.address_line_1?”

optional address_line_1?: string | null

The first line of the address.

Av. Vinte de Janeiro, S/N
reservation_details.pickup.location.address_line_2?
Section titled “reservation_details.pickup.location.address_line_2?”

optional address_line_2?: string | null

The second line of the address.

Ilha do Governador
reservation_details.pickup.location.administrative_area?
Section titled “reservation_details.pickup.location.administrative_area?”

optional administrative_area?: string | null

Depending on the country, this can be a state, a province, or something equivalent to those. May be an abbreviation or the full name.

RJ

optional city?: string | null

The city where the address is located.

Rio de Janeiro
reservation_details.pickup.location.coordinates?
Section titled “reservation_details.pickup.location.coordinates?”

optional coordinates?: object

reservation_details.pickup.location.coordinates.latitude
Section titled “reservation_details.pickup.location.coordinates.latitude”

latitude: number

Format: double

-22.8145373
reservation_details.pickup.location.coordinates.longitude
Section titled “reservation_details.pickup.location.coordinates.longitude”

longitude: number

Format: double

-43.2465548
reservation_details.pickup.location.country?
Section titled “reservation_details.pickup.location.country?”

optional country?: string | null

The country where the address is located. May be an alpha-2 code, an alpha-3 code, or the full name of the country.

Brazil
reservation_details.pickup.location.postal_code?
Section titled “reservation_details.pickup.location.postal_code?”

optional postal_code?: string | null

The postal code of the given address.

21941-900
reservation_details.pickup.location.timezone?
Section titled “reservation_details.pickup.location.timezone?”

optional timezone?: string | null

The timezone in the given address.

America/Sao_Paulo

time: object

reservation_details.pickup.time.local_time
Section titled “reservation_details.pickup.time.local_time”

local_time: string

Format: date-time

The local time in the relevant location in the ISO 8601 format.

reservation_details.pickup.time.timestamp?
Section titled “reservation_details.pickup.time.timestamp?”

optional timestamp?: string | null

Format: date-time

An ISO 8601 timestamp.

2017-12-27T15:42:30Z

optional rental_company?: string | null

Name of car rental company.

Catch-A-Ride

type: "CAR_RENTAL"

discriminator enum property added by openapi-typescript


{ lodging_details: { brand_name?: string | null; chain_name?: string | null; contact_information?: { email?: string | null; fax?: string | null; phone?: string | null; }; display_name: string; location?: { address_line_1?: string | null; address_line_2?: string | null; administrative_area?: string | null; city?: string | null; coordinates?: { latitude: number; longitude: number; }; country?: string | null; postal_code?: string | null; timezone?: string | null; }; star_rating?: number | null; }; reservation_details: { check_in_time: { local_time: string; timestamp?: string | null; }; checkout_time: { local_time: string; timestamp?: string | null; }; confirmation_code?: string | null; room?: { bed_count?: number | null; bed_type?: string | null; description?: string | null; display_name?: string | null; }; }; type: "LODGING"; }

lodging_details: object

optional brand_name?: string | null

The brand name of the hotel.

Marriott Hotels

optional chain_name?: string | null

The name of the hotel chain.

Accor Hotels

optional contact_information?: object

lodging_details.contact_information.email?
Section titled “lodging_details.contact_information.email?”

optional email?: string | null

The email address of the venue.

city@hotelchain.com

optional fax?: string | null

The fax number of the venue.

12345554321
lodging_details.contact_information.phone?
Section titled “lodging_details.contact_information.phone?”

optional phone?: string | null

The phone number of the venue.

12345554321

display_name: string

The name of the venue as displayed to the user.

Fancy Hotel

optional location?: object

optional address_line_1?: string | null

The first line of the address.

Av. Vinte de Janeiro, S/N

optional address_line_2?: string | null

The second line of the address.

Ilha do Governador
lodging_details.location.administrative_area?
Section titled “lodging_details.location.administrative_area?”

optional administrative_area?: string | null

Depending on the country, this can be a state, a province, or something equivalent to those. May be an abbreviation or the full name.

RJ

optional city?: string | null

The city where the address is located.

Rio de Janeiro

optional coordinates?: object

lodging_details.location.coordinates.latitude
Section titled “lodging_details.location.coordinates.latitude”

latitude: number

Format: double

-22.8145373
lodging_details.location.coordinates.longitude
Section titled “lodging_details.location.coordinates.longitude”

longitude: number

Format: double

-43.2465548

optional country?: string | null

The country where the address is located. May be an alpha-2 code, an alpha-3 code, or the full name of the country.

Brazil

optional postal_code?: string | null

The postal code of the given address.

21941-900

optional timezone?: string | null

The timezone in the given address.

America/Sao_Paulo

optional star_rating?: number | null

Format: float

The star rating of the hotel. Some hotels have half stars.

3.5

reservation_details: object

check_in_time: object

reservation_details.check_in_time.local_time
Section titled “reservation_details.check_in_time.local_time”

local_time: string

Format: date-time

The local time in the relevant location in the ISO 8601 format.

reservation_details.check_in_time.timestamp?
Section titled “reservation_details.check_in_time.timestamp?”

optional timestamp?: string | null

Format: date-time

An ISO 8601 timestamp.

2017-12-27T15:42:30Z

checkout_time: object

reservation_details.checkout_time.local_time
Section titled “reservation_details.checkout_time.local_time”

local_time: string

Format: date-time

The local time in the relevant location in the ISO 8601 format.

reservation_details.checkout_time.timestamp?
Section titled “reservation_details.checkout_time.timestamp?”

optional timestamp?: string | null

Format: date-time

An ISO 8601 timestamp.

2017-12-27T15:42:30Z

optional confirmation_code?: string | null

Confirmation code provided by the vendor.

7003XBQ504

optional room?: object

optional bed_count?: number | null

Format: int32

The number of beds.

1

optional bed_type?: string | null

The kind of bed.

DOUBLE

optional description?: string | null

A description of the room.

Superior room

optional display_name?: string | null

The name of the room as displayed to the user.

Standard room

type: "LODGING"

discriminator enum property added by openapi-typescript


{ journeys: object[]; type: "RAIL"; }

journeys: object[]

The journeys that make up this booking.

type: "RAIL"

discriminator enum property added by openapi-typescript

created_at: string

Format: date-time

The time when the booking was created.

2017-12-27T15:42:30Z

id: string

The ID of the booking.

booking_cl9t5dnu800040m3071dandeq

source: "BREX_TRAVEL" | "EXTERNAL"

status: "PROCESSING" | "CANCELED" | "REFUNDED" | "IN_PROGRESS" | "APPROVAL_DENIED" | "PENDING" | "CONFIRMED" | "HOLD" | "COMPLETED" | "VOIDED" | "UNCONFIRMED" | "AIRLINE_CONTROL" | "PAYMENT_DECLINED" | "SCHEDULE_CHANGE" | "APPROVAL_REQUESTED" | "CANCELLATION_IN_PROGRESS"

trip_id: string

The ID of the trip to which this booking belongs.

trip_cl9rh1n8g001e0j84w6fb4fd1

type: "CAR_RENTAL" | "LODGING" | "AIR" | "RAIL"

updated_at: string

Format: date-time

The time when the booking was last updated.

2017-12-27T15:42:30Z

version: number

Format: int32

The current version of the booking.

2

Booking.Data: { journeys: object[]; known_traveler_number?: { document_number: string; issuing_country: string; }; redress_number?: { document_number: string; issuing_country: string; }; tickets: object[]; type: "AIR"; } | { car_details: { car_class?: "OTHER" | "ECONOMY" | "COMPACT" | "INTERMEDIATE" | "PREMIUM" | "LUXURY" | "CONVERTIBLE" | "COMPACT_SUV" | "INTERMEDIATE_SUV" | "PREMIUM_SUV" | "LUXURY_SUV" | "MINI_VAN" | "PASSENGER_VAN" | "PICKUP_TRUCK" | "HYBRID" | "ELECTRIC" | "MINI" | "STANDARD" | "FULL_SIZE" | "SUV" | "SPORTS" | "SPECIAL" | "RECREATIONAL_VEHICLE"; display_name: string; }; reservation_details: { confirmation_code?: string | null; drop_off: { location: { address_line_1?: string | null; address_line_2?: string | null; administrative_area?: string | null; city?: string | null; coordinates?: { latitude: number; longitude: number; }; country?: string | null; postal_code?: string | null; timezone?: string | null; }; time: { local_time: string; timestamp?: string | null; }; }; pickup: { location: { address_line_1?: string | null; address_line_2?: string | null; administrative_area?: string | null; city?: string | null; coordinates?: { latitude: number; longitude: number; }; country?: string | null; postal_code?: string | null; timezone?: string | null; }; time: { local_time: string; timestamp?: string | null; }; }; rental_company?: string | null; }; type: "CAR_RENTAL"; } | { lodging_details: { brand_name?: string | null; chain_name?: string | null; contact_information?: { email?: string | null; fax?: string | null; phone?: string | null; }; display_name: string; location?: { address_line_1?: string | null; address_line_2?: string | null; administrative_area?: string | null; city?: string | null; coordinates?: { latitude: number; longitude: number; }; country?: string | null; postal_code?: string | null; timezone?: string | null; }; star_rating?: number | null; }; reservation_details: { check_in_time: { local_time: string; timestamp?: string | null; }; checkout_time: { local_time: string; timestamp?: string | null; }; confirmation_code?: string | null; room?: { bed_count?: number | null; bed_type?: string | null; description?: string | null; display_name?: string | null; }; }; type: "LODGING"; } | { journeys: object[]; type: "RAIL"; }

{ journeys: object[]; known_traveler_number?: { document_number: string; issuing_country: string; }; redress_number?: { document_number: string; issuing_country: string; }; tickets: object[]; type: "AIR"; }

journeys: object[]

The journeys that make up this booking.

optional known_traveler_number?: object

document_number: string

The actual document number.

1231231

issuing_country: string

The country that issued this document.

BR

optional redress_number?: object

document_number: string

The actual document number.

1231231

issuing_country: string

The country that issued this document.

BR

tickets: object[]

The flight tickets in this booking.

type: "AIR"

discriminator enum property added by openapi-typescript


{ car_details: { car_class?: "OTHER" | "ECONOMY" | "COMPACT" | "INTERMEDIATE" | "PREMIUM" | "LUXURY" | "CONVERTIBLE" | "COMPACT_SUV" | "INTERMEDIATE_SUV" | "PREMIUM_SUV" | "LUXURY_SUV" | "MINI_VAN" | "PASSENGER_VAN" | "PICKUP_TRUCK" | "HYBRID" | "ELECTRIC" | "MINI" | "STANDARD" | "FULL_SIZE" | "SUV" | "SPORTS" | "SPECIAL" | "RECREATIONAL_VEHICLE"; display_name: string; }; reservation_details: { confirmation_code?: string | null; drop_off: { location: { address_line_1?: string | null; address_line_2?: string | null; administrative_area?: string | null; city?: string | null; coordinates?: { latitude: number; longitude: number; }; country?: string | null; postal_code?: string | null; timezone?: string | null; }; time: { local_time: string; timestamp?: string | null; }; }; pickup: { location: { address_line_1?: string | null; address_line_2?: string | null; administrative_area?: string | null; city?: string | null; coordinates?: { latitude: number; longitude: number; }; country?: string | null; postal_code?: string | null; timezone?: string | null; }; time: { local_time: string; timestamp?: string | null; }; }; rental_company?: string | null; }; type: "CAR_RENTAL"; }

car_details: object

optional car_class?: "OTHER" | "ECONOMY" | "COMPACT" | "INTERMEDIATE" | "PREMIUM" | "LUXURY" | "CONVERTIBLE" | "COMPACT_SUV" | "INTERMEDIATE_SUV" | "PREMIUM_SUV" | "LUXURY_SUV" | "MINI_VAN" | "PASSENGER_VAN" | "PICKUP_TRUCK" | "HYBRID" | "ELECTRIC" | "MINI" | "STANDARD" | "FULL_SIZE" | "SUV" | "SPORTS" | "SPECIAL" | "RECREATIONAL_VEHICLE"

display_name: string

The name of the car as displayed to the user.

Intermediate car

reservation_details: object

optional confirmation_code?: string | null

The confirmation code given by the vendor.

7003XBQ504

drop_off: object

location: object

reservation_details.drop_off.location.address_line_1?
Section titled “reservation_details.drop_off.location.address_line_1?”

optional address_line_1?: string | null

The first line of the address.

Av. Vinte de Janeiro, S/N
reservation_details.drop_off.location.address_line_2?
Section titled “reservation_details.drop_off.location.address_line_2?”

optional address_line_2?: string | null

The second line of the address.

Ilha do Governador
reservation_details.drop_off.location.administrative_area?
Section titled “reservation_details.drop_off.location.administrative_area?”

optional administrative_area?: string | null

Depending on the country, this can be a state, a province, or something equivalent to those. May be an abbreviation or the full name.

RJ
reservation_details.drop_off.location.city?
Section titled “reservation_details.drop_off.location.city?”

optional city?: string | null

The city where the address is located.

Rio de Janeiro
reservation_details.drop_off.location.coordinates?
Section titled “reservation_details.drop_off.location.coordinates?”

optional coordinates?: object

reservation_details.drop_off.location.coordinates.latitude
Section titled “reservation_details.drop_off.location.coordinates.latitude”

latitude: number

Format: double

-22.8145373
reservation_details.drop_off.location.coordinates.longitude
Section titled “reservation_details.drop_off.location.coordinates.longitude”

longitude: number

Format: double

-43.2465548
reservation_details.drop_off.location.country?
Section titled “reservation_details.drop_off.location.country?”

optional country?: string | null

The country where the address is located. May be an alpha-2 code, an alpha-3 code, or the full name of the country.

Brazil
reservation_details.drop_off.location.postal_code?
Section titled “reservation_details.drop_off.location.postal_code?”

optional postal_code?: string | null

The postal code of the given address.

21941-900
reservation_details.drop_off.location.timezone?
Section titled “reservation_details.drop_off.location.timezone?”

optional timezone?: string | null

The timezone in the given address.

America/Sao_Paulo

time: object

reservation_details.drop_off.time.local_time
Section titled “reservation_details.drop_off.time.local_time”

local_time: string

Format: date-time

The local time in the relevant location in the ISO 8601 format.

reservation_details.drop_off.time.timestamp?
Section titled “reservation_details.drop_off.time.timestamp?”

optional timestamp?: string | null

Format: date-time

An ISO 8601 timestamp.

2017-12-27T15:42:30Z

pickup: object

location: object

reservation_details.pickup.location.address_line_1?
Section titled “reservation_details.pickup.location.address_line_1?”

optional address_line_1?: string | null

The first line of the address.

Av. Vinte de Janeiro, S/N
reservation_details.pickup.location.address_line_2?
Section titled “reservation_details.pickup.location.address_line_2?”

optional address_line_2?: string | null

The second line of the address.

Ilha do Governador
reservation_details.pickup.location.administrative_area?
Section titled “reservation_details.pickup.location.administrative_area?”

optional administrative_area?: string | null

Depending on the country, this can be a state, a province, or something equivalent to those. May be an abbreviation or the full name.

RJ

optional city?: string | null

The city where the address is located.

Rio de Janeiro
reservation_details.pickup.location.coordinates?
Section titled “reservation_details.pickup.location.coordinates?”

optional coordinates?: object

reservation_details.pickup.location.coordinates.latitude
Section titled “reservation_details.pickup.location.coordinates.latitude”

latitude: number

Format: double

-22.8145373
reservation_details.pickup.location.coordinates.longitude
Section titled “reservation_details.pickup.location.coordinates.longitude”

longitude: number

Format: double

-43.2465548
reservation_details.pickup.location.country?
Section titled “reservation_details.pickup.location.country?”

optional country?: string | null

The country where the address is located. May be an alpha-2 code, an alpha-3 code, or the full name of the country.

Brazil
reservation_details.pickup.location.postal_code?
Section titled “reservation_details.pickup.location.postal_code?”

optional postal_code?: string | null

The postal code of the given address.

21941-900
reservation_details.pickup.location.timezone?
Section titled “reservation_details.pickup.location.timezone?”

optional timezone?: string | null

The timezone in the given address.

America/Sao_Paulo

time: object

reservation_details.pickup.time.local_time
Section titled “reservation_details.pickup.time.local_time”

local_time: string

Format: date-time

The local time in the relevant location in the ISO 8601 format.

reservation_details.pickup.time.timestamp?
Section titled “reservation_details.pickup.time.timestamp?”

optional timestamp?: string | null

Format: date-time

An ISO 8601 timestamp.

2017-12-27T15:42:30Z

optional rental_company?: string | null

Name of car rental company.

Catch-A-Ride

type: "CAR_RENTAL"

discriminator enum property added by openapi-typescript


{ lodging_details: { brand_name?: string | null; chain_name?: string | null; contact_information?: { email?: string | null; fax?: string | null; phone?: string | null; }; display_name: string; location?: { address_line_1?: string | null; address_line_2?: string | null; administrative_area?: string | null; city?: string | null; coordinates?: { latitude: number; longitude: number; }; country?: string | null; postal_code?: string | null; timezone?: string | null; }; star_rating?: number | null; }; reservation_details: { check_in_time: { local_time: string; timestamp?: string | null; }; checkout_time: { local_time: string; timestamp?: string | null; }; confirmation_code?: string | null; room?: { bed_count?: number | null; bed_type?: string | null; description?: string | null; display_name?: string | null; }; }; type: "LODGING"; }

lodging_details: object

optional brand_name?: string | null

The brand name of the hotel.

Marriott Hotels

optional chain_name?: string | null

The name of the hotel chain.

Accor Hotels

optional contact_information?: object

lodging_details.contact_information.email?
Section titled “lodging_details.contact_information.email?”

optional email?: string | null

The email address of the venue.

city@hotelchain.com

optional fax?: string | null

The fax number of the venue.

12345554321
lodging_details.contact_information.phone?
Section titled “lodging_details.contact_information.phone?”

optional phone?: string | null

The phone number of the venue.

12345554321

display_name: string

The name of the venue as displayed to the user.

Fancy Hotel

optional location?: object

optional address_line_1?: string | null

The first line of the address.

Av. Vinte de Janeiro, S/N

optional address_line_2?: string | null

The second line of the address.

Ilha do Governador
lodging_details.location.administrative_area?
Section titled “lodging_details.location.administrative_area?”

optional administrative_area?: string | null

Depending on the country, this can be a state, a province, or something equivalent to those. May be an abbreviation or the full name.

RJ

optional city?: string | null

The city where the address is located.

Rio de Janeiro

optional coordinates?: object

lodging_details.location.coordinates.latitude
Section titled “lodging_details.location.coordinates.latitude”

latitude: number

Format: double

-22.8145373
lodging_details.location.coordinates.longitude
Section titled “lodging_details.location.coordinates.longitude”

longitude: number

Format: double

-43.2465548

optional country?: string | null

The country where the address is located. May be an alpha-2 code, an alpha-3 code, or the full name of the country.

Brazil

optional postal_code?: string | null

The postal code of the given address.

21941-900

optional timezone?: string | null

The timezone in the given address.

America/Sao_Paulo

optional star_rating?: number | null

Format: float

The star rating of the hotel. Some hotels have half stars.

3.5

reservation_details: object

check_in_time: object

reservation_details.check_in_time.local_time
Section titled “reservation_details.check_in_time.local_time”

local_time: string

Format: date-time

The local time in the relevant location in the ISO 8601 format.

reservation_details.check_in_time.timestamp?
Section titled “reservation_details.check_in_time.timestamp?”

optional timestamp?: string | null

Format: date-time

An ISO 8601 timestamp.

2017-12-27T15:42:30Z

checkout_time: object

reservation_details.checkout_time.local_time
Section titled “reservation_details.checkout_time.local_time”

local_time: string

Format: date-time

The local time in the relevant location in the ISO 8601 format.

reservation_details.checkout_time.timestamp?
Section titled “reservation_details.checkout_time.timestamp?”

optional timestamp?: string | null

Format: date-time

An ISO 8601 timestamp.

2017-12-27T15:42:30Z

optional confirmation_code?: string | null

Confirmation code provided by the vendor.

7003XBQ504

optional room?: object

optional bed_count?: number | null

Format: int32

The number of beds.

1

optional bed_type?: string | null

The kind of bed.

DOUBLE

optional description?: string | null

A description of the room.

Superior room

optional display_name?: string | null

The name of the room as displayed to the user.

Standard room

type: "LODGING"

discriminator enum property added by openapi-typescript


{ journeys: object[]; type: "RAIL"; }

journeys: object[]

The journeys that make up this booking.

type: "RAIL"

discriminator enum property added by openapi-typescript

Type-specific booking data.

Booking.Source: "BREX_TRAVEL" | "EXTERNAL"

The original source of a booking: * BREX_TRAVEL - The booking was created via Brex Travel. * EXTERNAL - The booking was manually inserted, e.g. a hotel room block for a group event.

BREX_TRAVEL
@enum {string}

Booking.Time: object

A time within a booking, including local time in the relevant location, and a timestamp when possible.

local_time: string

Format: date-time

The local time in the relevant location in the ISO 8601 format.

optional timestamp?: string | null

Format: date-time

An ISO 8601 timestamp.

2017-12-27T15:42:30Z

Booking.Type: "CAR_RENTAL" | "LODGING" | "AIR" | "RAIL"

The type of a booking.

AIR
@enum {string}

BookingStatus: "PROCESSING" | "CANCELED" | "REFUNDED" | "IN_PROGRESS" | "APPROVAL_DENIED" | "PENDING" | "CONFIRMED" | "HOLD" | "COMPLETED" | "VOIDED" | "UNCONFIRMED" | "AIRLINE_CONTROL" | "PAYMENT_DECLINED" | "SCHEDULE_CHANGE" | "APPROVAL_REQUESTED" | "CANCELLATION_IN_PROGRESS"

The status of the booking: * HOLD - The booking is a hold, and may be canceled without being charged. * PENDING - Some action needs to be completed before the booking is confirmed. Usually the action is the payment being confirmed. * CONFIRMED - The booking is confirmed. * COMPLETED - The booking has already happened. * CANCELED - The booking has been canceled. * IN_PROGRESS - The booking is currently in progress. * REFUNDED - A refund has been issued. It may or may not be a full refund. * VOIDED - Voided is similar to (and can be treated the same as) canceled. * PROCESSING - The booking has been created or changed, but confirmation from the vendor has not been received yet. * UNCONFIRMED - The booking was in the PROCESSING state for too long and some action is probably required to get this booking confirmed. * AIRLINE_CONTROL - The airline has taken control of the booking and further updates may not be visible. * PAYMENT_DECLINED - The payment for the booking has failed. * SCHEDULE_CHANGE - Some change has happened to the booking schedule, e.g. the flight getting canceled and the passenger reallocated to another flight. Travel support should reach out to confirm the traveler accepts the new schedule. * APPROVAL_REQUESTED - The booking is subject to approval, and it is waiting for a review. * APPROVAL_DENIED - A reviewer has denied the booking, or the deadline to approve the booking has passed and it got canceled. * CANCELLATION_IN_PROGRESS - The booking is currently being canceled.

CONFIRMED
@enum {string}

CarRentalBookingData: object

Car rental-specific booking information.

car_details: object

CarRentalBookingData.car_details.car_class?
Section titled “CarRentalBookingData.car_details.car_class?”

optional car_class?: "OTHER" | "ECONOMY" | "COMPACT" | "INTERMEDIATE" | "PREMIUM" | "LUXURY" | "CONVERTIBLE" | "COMPACT_SUV" | "INTERMEDIATE_SUV" | "PREMIUM_SUV" | "LUXURY_SUV" | "MINI_VAN" | "PASSENGER_VAN" | "PICKUP_TRUCK" | "HYBRID" | "ELECTRIC" | "MINI" | "STANDARD" | "FULL_SIZE" | "SUV" | "SPORTS" | "SPECIAL" | "RECREATIONAL_VEHICLE"

CarRentalBookingData.car_details.display_name
Section titled “CarRentalBookingData.car_details.display_name”

display_name: string

The name of the car as displayed to the user.

Intermediate car

reservation_details: object

CarRentalBookingData.reservation_details.confirmation_code?
Section titled “CarRentalBookingData.reservation_details.confirmation_code?”

optional confirmation_code?: string | null

The confirmation code given by the vendor.

7003XBQ504
CarRentalBookingData.reservation_details.drop_off
Section titled “CarRentalBookingData.reservation_details.drop_off”

drop_off: object

CarRentalBookingData.reservation_details.drop_off.location
Section titled “CarRentalBookingData.reservation_details.drop_off.location”

location: object

CarRentalBookingData.reservation_details.drop_off.location.address_line_1?
Section titled “CarRentalBookingData.reservation_details.drop_off.location.address_line_1?”

optional address_line_1?: string | null

The first line of the address.

Av. Vinte de Janeiro, S/N
CarRentalBookingData.reservation_details.drop_off.location.address_line_2?
Section titled “CarRentalBookingData.reservation_details.drop_off.location.address_line_2?”

optional address_line_2?: string | null

The second line of the address.

Ilha do Governador
CarRentalBookingData.reservation_details.drop_off.location.administrative_area?
Section titled “CarRentalBookingData.reservation_details.drop_off.location.administrative_area?”

optional administrative_area?: string | null

Depending on the country, this can be a state, a province, or something equivalent to those. May be an abbreviation or the full name.

RJ
CarRentalBookingData.reservation_details.drop_off.location.city?
Section titled “CarRentalBookingData.reservation_details.drop_off.location.city?”

optional city?: string | null

The city where the address is located.

Rio de Janeiro
CarRentalBookingData.reservation_details.drop_off.location.coordinates?
Section titled “CarRentalBookingData.reservation_details.drop_off.location.coordinates?”

optional coordinates?: object

CarRentalBookingData.reservation_details.drop_off.location.coordinates.latitude
Section titled “CarRentalBookingData.reservation_details.drop_off.location.coordinates.latitude”

latitude: number

Format: double

-22.8145373
CarRentalBookingData.reservation_details.drop_off.location.coordinates.longitude
Section titled “CarRentalBookingData.reservation_details.drop_off.location.coordinates.longitude”

longitude: number

Format: double

-43.2465548
CarRentalBookingData.reservation_details.drop_off.location.country?
Section titled “CarRentalBookingData.reservation_details.drop_off.location.country?”

optional country?: string | null

The country where the address is located. May be an alpha-2 code, an alpha-3 code, or the full name of the country.

Brazil
CarRentalBookingData.reservation_details.drop_off.location.postal_code?
Section titled “CarRentalBookingData.reservation_details.drop_off.location.postal_code?”

optional postal_code?: string | null

The postal code of the given address.

21941-900
CarRentalBookingData.reservation_details.drop_off.location.timezone?
Section titled “CarRentalBookingData.reservation_details.drop_off.location.timezone?”

optional timezone?: string | null

The timezone in the given address.

America/Sao_Paulo
CarRentalBookingData.reservation_details.drop_off.time
Section titled “CarRentalBookingData.reservation_details.drop_off.time”

time: object

CarRentalBookingData.reservation_details.drop_off.time.local_time
Section titled “CarRentalBookingData.reservation_details.drop_off.time.local_time”

local_time: string

Format: date-time

The local time in the relevant location in the ISO 8601 format.

CarRentalBookingData.reservation_details.drop_off.time.timestamp?
Section titled “CarRentalBookingData.reservation_details.drop_off.time.timestamp?”

optional timestamp?: string | null

Format: date-time

An ISO 8601 timestamp.

2017-12-27T15:42:30Z
CarRentalBookingData.reservation_details.pickup
Section titled “CarRentalBookingData.reservation_details.pickup”

pickup: object

CarRentalBookingData.reservation_details.pickup.location
Section titled “CarRentalBookingData.reservation_details.pickup.location”

location: object

CarRentalBookingData.reservation_details.pickup.location.address_line_1?
Section titled “CarRentalBookingData.reservation_details.pickup.location.address_line_1?”

optional address_line_1?: string | null

The first line of the address.

Av. Vinte de Janeiro, S/N
CarRentalBookingData.reservation_details.pickup.location.address_line_2?
Section titled “CarRentalBookingData.reservation_details.pickup.location.address_line_2?”

optional address_line_2?: string | null

The second line of the address.

Ilha do Governador
CarRentalBookingData.reservation_details.pickup.location.administrative_area?
Section titled “CarRentalBookingData.reservation_details.pickup.location.administrative_area?”

optional administrative_area?: string | null

Depending on the country, this can be a state, a province, or something equivalent to those. May be an abbreviation or the full name.

RJ
CarRentalBookingData.reservation_details.pickup.location.city?
Section titled “CarRentalBookingData.reservation_details.pickup.location.city?”

optional city?: string | null

The city where the address is located.

Rio de Janeiro
CarRentalBookingData.reservation_details.pickup.location.coordinates?
Section titled “CarRentalBookingData.reservation_details.pickup.location.coordinates?”

optional coordinates?: object

CarRentalBookingData.reservation_details.pickup.location.coordinates.latitude
Section titled “CarRentalBookingData.reservation_details.pickup.location.coordinates.latitude”

latitude: number

Format: double

-22.8145373
CarRentalBookingData.reservation_details.pickup.location.coordinates.longitude
Section titled “CarRentalBookingData.reservation_details.pickup.location.coordinates.longitude”

longitude: number

Format: double

-43.2465548
CarRentalBookingData.reservation_details.pickup.location.country?
Section titled “CarRentalBookingData.reservation_details.pickup.location.country?”

optional country?: string | null

The country where the address is located. May be an alpha-2 code, an alpha-3 code, or the full name of the country.

Brazil
CarRentalBookingData.reservation_details.pickup.location.postal_code?
Section titled “CarRentalBookingData.reservation_details.pickup.location.postal_code?”

optional postal_code?: string | null

The postal code of the given address.

21941-900
CarRentalBookingData.reservation_details.pickup.location.timezone?
Section titled “CarRentalBookingData.reservation_details.pickup.location.timezone?”

optional timezone?: string | null

The timezone in the given address.

America/Sao_Paulo
CarRentalBookingData.reservation_details.pickup.time
Section titled “CarRentalBookingData.reservation_details.pickup.time”

time: object

CarRentalBookingData.reservation_details.pickup.time.local_time
Section titled “CarRentalBookingData.reservation_details.pickup.time.local_time”

local_time: string

Format: date-time

The local time in the relevant location in the ISO 8601 format.

CarRentalBookingData.reservation_details.pickup.time.timestamp?
Section titled “CarRentalBookingData.reservation_details.pickup.time.timestamp?”

optional timestamp?: string | null

Format: date-time

An ISO 8601 timestamp.

2017-12-27T15:42:30Z
CarRentalBookingData.reservation_details.rental_company?
Section titled “CarRentalBookingData.reservation_details.rental_company?”

optional rental_company?: string | null

Name of car rental company.

Catch-A-Ride

type: "CAR_RENTAL"

discriminator enum property added by openapi-typescript

CarRentalBookingData.CarClass: "OTHER" | "ECONOMY" | "COMPACT" | "INTERMEDIATE" | "PREMIUM" | "LUXURY" | "CONVERTIBLE" | "COMPACT_SUV" | "INTERMEDIATE_SUV" | "PREMIUM_SUV" | "LUXURY_SUV" | "MINI_VAN" | "PASSENGER_VAN" | "PICKUP_TRUCK" | "HYBRID" | "ELECTRIC" | "MINI" | "STANDARD" | "FULL_SIZE" | "SUV" | "SPORTS" | "SPECIAL" | "RECREATIONAL_VEHICLE"

The kind of car.

INTERMEDIATE
@enum {string}

CarRentalBookingData.CarDetails: object

Information on a rental car.

CarRentalBookingData.CarDetails.car_class?
Section titled “CarRentalBookingData.CarDetails.car_class?”

optional car_class?: "OTHER" | "ECONOMY" | "COMPACT" | "INTERMEDIATE" | "PREMIUM" | "LUXURY" | "CONVERTIBLE" | "COMPACT_SUV" | "INTERMEDIATE_SUV" | "PREMIUM_SUV" | "LUXURY_SUV" | "MINI_VAN" | "PASSENGER_VAN" | "PICKUP_TRUCK" | "HYBRID" | "ELECTRIC" | "MINI" | "STANDARD" | "FULL_SIZE" | "SUV" | "SPORTS" | "SPECIAL" | "RECREATIONAL_VEHICLE"

CarRentalBookingData.CarDetails.display_name
Section titled “CarRentalBookingData.CarDetails.display_name”

display_name: string

The name of the car as displayed to the user.

Intermediate car

CarRentalBookingData.RentalEndpoint: object

Information about the car pickup or drop-off.

CarRentalBookingData.RentalEndpoint.location
Section titled “CarRentalBookingData.RentalEndpoint.location”

location: object

CarRentalBookingData.RentalEndpoint.location.address_line_1?
Section titled “CarRentalBookingData.RentalEndpoint.location.address_line_1?”

optional address_line_1?: string | null

The first line of the address.

Av. Vinte de Janeiro, S/N
CarRentalBookingData.RentalEndpoint.location.address_line_2?
Section titled “CarRentalBookingData.RentalEndpoint.location.address_line_2?”

optional address_line_2?: string | null

The second line of the address.

Ilha do Governador
CarRentalBookingData.RentalEndpoint.location.administrative_area?
Section titled “CarRentalBookingData.RentalEndpoint.location.administrative_area?”

optional administrative_area?: string | null

Depending on the country, this can be a state, a province, or something equivalent to those. May be an abbreviation or the full name.

RJ
CarRentalBookingData.RentalEndpoint.location.city?
Section titled “CarRentalBookingData.RentalEndpoint.location.city?”

optional city?: string | null

The city where the address is located.

Rio de Janeiro
CarRentalBookingData.RentalEndpoint.location.coordinates?
Section titled “CarRentalBookingData.RentalEndpoint.location.coordinates?”

optional coordinates?: object

CarRentalBookingData.RentalEndpoint.location.coordinates.latitude
Section titled “CarRentalBookingData.RentalEndpoint.location.coordinates.latitude”

latitude: number

Format: double

-22.8145373
CarRentalBookingData.RentalEndpoint.location.coordinates.longitude
Section titled “CarRentalBookingData.RentalEndpoint.location.coordinates.longitude”

longitude: number

Format: double

-43.2465548
CarRentalBookingData.RentalEndpoint.location.country?
Section titled “CarRentalBookingData.RentalEndpoint.location.country?”

optional country?: string | null

The country where the address is located. May be an alpha-2 code, an alpha-3 code, or the full name of the country.

Brazil
CarRentalBookingData.RentalEndpoint.location.postal_code?
Section titled “CarRentalBookingData.RentalEndpoint.location.postal_code?”

optional postal_code?: string | null

The postal code of the given address.

21941-900
CarRentalBookingData.RentalEndpoint.location.timezone?
Section titled “CarRentalBookingData.RentalEndpoint.location.timezone?”

optional timezone?: string | null

The timezone in the given address.

America/Sao_Paulo

time: object

CarRentalBookingData.RentalEndpoint.time.local_time
Section titled “CarRentalBookingData.RentalEndpoint.time.local_time”

local_time: string

Format: date-time

The local time in the relevant location in the ISO 8601 format.

CarRentalBookingData.RentalEndpoint.time.timestamp?
Section titled “CarRentalBookingData.RentalEndpoint.time.timestamp?”

optional timestamp?: string | null

Format: date-time

An ISO 8601 timestamp.

2017-12-27T15:42:30Z

CarRentalBookingData.ReservationDetails: object

Information on a car reservation such as pickup, drop-off, etc.

CarRentalBookingData.ReservationDetails.confirmation_code?
Section titled “CarRentalBookingData.ReservationDetails.confirmation_code?”

optional confirmation_code?: string | null

The confirmation code given by the vendor.

7003XBQ504
CarRentalBookingData.ReservationDetails.drop_off
Section titled “CarRentalBookingData.ReservationDetails.drop_off”

drop_off: object

CarRentalBookingData.ReservationDetails.drop_off.location
Section titled “CarRentalBookingData.ReservationDetails.drop_off.location”

location: object

CarRentalBookingData.ReservationDetails.drop_off.location.address_line_1?
Section titled “CarRentalBookingData.ReservationDetails.drop_off.location.address_line_1?”

optional address_line_1?: string | null

The first line of the address.

Av. Vinte de Janeiro, S/N
CarRentalBookingData.ReservationDetails.drop_off.location.address_line_2?
Section titled “CarRentalBookingData.ReservationDetails.drop_off.location.address_line_2?”

optional address_line_2?: string | null

The second line of the address.

Ilha do Governador
CarRentalBookingData.ReservationDetails.drop_off.location.administrative_area?
Section titled “CarRentalBookingData.ReservationDetails.drop_off.location.administrative_area?”

optional administrative_area?: string | null

Depending on the country, this can be a state, a province, or something equivalent to those. May be an abbreviation or the full name.

RJ
CarRentalBookingData.ReservationDetails.drop_off.location.city?
Section titled “CarRentalBookingData.ReservationDetails.drop_off.location.city?”

optional city?: string | null

The city where the address is located.

Rio de Janeiro
CarRentalBookingData.ReservationDetails.drop_off.location.coordinates?
Section titled “CarRentalBookingData.ReservationDetails.drop_off.location.coordinates?”

optional coordinates?: object

CarRentalBookingData.ReservationDetails.drop_off.location.coordinates.latitude
Section titled “CarRentalBookingData.ReservationDetails.drop_off.location.coordinates.latitude”

latitude: number

Format: double

-22.8145373
CarRentalBookingData.ReservationDetails.drop_off.location.coordinates.longitude
Section titled “CarRentalBookingData.ReservationDetails.drop_off.location.coordinates.longitude”

longitude: number

Format: double

-43.2465548
CarRentalBookingData.ReservationDetails.drop_off.location.country?
Section titled “CarRentalBookingData.ReservationDetails.drop_off.location.country?”

optional country?: string | null

The country where the address is located. May be an alpha-2 code, an alpha-3 code, or the full name of the country.

Brazil
CarRentalBookingData.ReservationDetails.drop_off.location.postal_code?
Section titled “CarRentalBookingData.ReservationDetails.drop_off.location.postal_code?”

optional postal_code?: string | null

The postal code of the given address.

21941-900
CarRentalBookingData.ReservationDetails.drop_off.location.timezone?
Section titled “CarRentalBookingData.ReservationDetails.drop_off.location.timezone?”

optional timezone?: string | null

The timezone in the given address.

America/Sao_Paulo
CarRentalBookingData.ReservationDetails.drop_off.time
Section titled “CarRentalBookingData.ReservationDetails.drop_off.time”

time: object

CarRentalBookingData.ReservationDetails.drop_off.time.local_time
Section titled “CarRentalBookingData.ReservationDetails.drop_off.time.local_time”

local_time: string

Format: date-time

The local time in the relevant location in the ISO 8601 format.

CarRentalBookingData.ReservationDetails.drop_off.time.timestamp?
Section titled “CarRentalBookingData.ReservationDetails.drop_off.time.timestamp?”

optional timestamp?: string | null

Format: date-time

An ISO 8601 timestamp.

2017-12-27T15:42:30Z
CarRentalBookingData.ReservationDetails.pickup
Section titled “CarRentalBookingData.ReservationDetails.pickup”

pickup: object

CarRentalBookingData.ReservationDetails.pickup.location
Section titled “CarRentalBookingData.ReservationDetails.pickup.location”

location: object

CarRentalBookingData.ReservationDetails.pickup.location.address_line_1?
Section titled “CarRentalBookingData.ReservationDetails.pickup.location.address_line_1?”

optional address_line_1?: string | null

The first line of the address.

Av. Vinte de Janeiro, S/N
CarRentalBookingData.ReservationDetails.pickup.location.address_line_2?
Section titled “CarRentalBookingData.ReservationDetails.pickup.location.address_line_2?”

optional address_line_2?: string | null

The second line of the address.

Ilha do Governador
CarRentalBookingData.ReservationDetails.pickup.location.administrative_area?
Section titled “CarRentalBookingData.ReservationDetails.pickup.location.administrative_area?”

optional administrative_area?: string | null

Depending on the country, this can be a state, a province, or something equivalent to those. May be an abbreviation or the full name.

RJ
CarRentalBookingData.ReservationDetails.pickup.location.city?
Section titled “CarRentalBookingData.ReservationDetails.pickup.location.city?”

optional city?: string | null

The city where the address is located.

Rio de Janeiro
CarRentalBookingData.ReservationDetails.pickup.location.coordinates?
Section titled “CarRentalBookingData.ReservationDetails.pickup.location.coordinates?”

optional coordinates?: object

CarRentalBookingData.ReservationDetails.pickup.location.coordinates.latitude
Section titled “CarRentalBookingData.ReservationDetails.pickup.location.coordinates.latitude”

latitude: number

Format: double

-22.8145373
CarRentalBookingData.ReservationDetails.pickup.location.coordinates.longitude
Section titled “CarRentalBookingData.ReservationDetails.pickup.location.coordinates.longitude”

longitude: number

Format: double

-43.2465548
CarRentalBookingData.ReservationDetails.pickup.location.country?
Section titled “CarRentalBookingData.ReservationDetails.pickup.location.country?”

optional country?: string | null

The country where the address is located. May be an alpha-2 code, an alpha-3 code, or the full name of the country.

Brazil
CarRentalBookingData.ReservationDetails.pickup.location.postal_code?
Section titled “CarRentalBookingData.ReservationDetails.pickup.location.postal_code?”

optional postal_code?: string | null

The postal code of the given address.

21941-900
CarRentalBookingData.ReservationDetails.pickup.location.timezone?
Section titled “CarRentalBookingData.ReservationDetails.pickup.location.timezone?”

optional timezone?: string | null

The timezone in the given address.

America/Sao_Paulo
CarRentalBookingData.ReservationDetails.pickup.time
Section titled “CarRentalBookingData.ReservationDetails.pickup.time”

time: object

CarRentalBookingData.ReservationDetails.pickup.time.local_time
Section titled “CarRentalBookingData.ReservationDetails.pickup.time.local_time”

local_time: string

Format: date-time

The local time in the relevant location in the ISO 8601 format.

CarRentalBookingData.ReservationDetails.pickup.time.timestamp?
Section titled “CarRentalBookingData.ReservationDetails.pickup.time.timestamp?”

optional timestamp?: string | null

Format: date-time

An ISO 8601 timestamp.

2017-12-27T15:42:30Z
CarRentalBookingData.ReservationDetails.rental_company?
Section titled “CarRentalBookingData.ReservationDetails.rental_company?”

optional rental_company?: string | null

Name of car rental company.

Catch-A-Ride

LodgingBookingData: object

Lodging-specific booking information.

lodging_details: object

LodgingBookingData.lodging_details.brand_name?
Section titled “LodgingBookingData.lodging_details.brand_name?”

optional brand_name?: string | null

The brand name of the hotel.

Marriott Hotels
LodgingBookingData.lodging_details.chain_name?
Section titled “LodgingBookingData.lodging_details.chain_name?”

optional chain_name?: string | null

The name of the hotel chain.

Accor Hotels
LodgingBookingData.lodging_details.contact_information?
Section titled “LodgingBookingData.lodging_details.contact_information?”

optional contact_information?: object

LodgingBookingData.lodging_details.contact_information.email?
Section titled “LodgingBookingData.lodging_details.contact_information.email?”

optional email?: string | null

The email address of the venue.

city@hotelchain.com
LodgingBookingData.lodging_details.contact_information.fax?
Section titled “LodgingBookingData.lodging_details.contact_information.fax?”

optional fax?: string | null

The fax number of the venue.

12345554321
LodgingBookingData.lodging_details.contact_information.phone?
Section titled “LodgingBookingData.lodging_details.contact_information.phone?”

optional phone?: string | null

The phone number of the venue.

12345554321
LodgingBookingData.lodging_details.display_name
Section titled “LodgingBookingData.lodging_details.display_name”

display_name: string

The name of the venue as displayed to the user.

Fancy Hotel
LodgingBookingData.lodging_details.location?
Section titled “LodgingBookingData.lodging_details.location?”

optional location?: object

LodgingBookingData.lodging_details.location.address_line_1?
Section titled “LodgingBookingData.lodging_details.location.address_line_1?”

optional address_line_1?: string | null

The first line of the address.

Av. Vinte de Janeiro, S/N
LodgingBookingData.lodging_details.location.address_line_2?
Section titled “LodgingBookingData.lodging_details.location.address_line_2?”

optional address_line_2?: string | null

The second line of the address.

Ilha do Governador
LodgingBookingData.lodging_details.location.administrative_area?
Section titled “LodgingBookingData.lodging_details.location.administrative_area?”

optional administrative_area?: string | null

Depending on the country, this can be a state, a province, or something equivalent to those. May be an abbreviation or the full name.

RJ
LodgingBookingData.lodging_details.location.city?
Section titled “LodgingBookingData.lodging_details.location.city?”

optional city?: string | null

The city where the address is located.

Rio de Janeiro
LodgingBookingData.lodging_details.location.coordinates?
Section titled “LodgingBookingData.lodging_details.location.coordinates?”

optional coordinates?: object

LodgingBookingData.lodging_details.location.coordinates.latitude
Section titled “LodgingBookingData.lodging_details.location.coordinates.latitude”

latitude: number

Format: double

-22.8145373
LodgingBookingData.lodging_details.location.coordinates.longitude
Section titled “LodgingBookingData.lodging_details.location.coordinates.longitude”

longitude: number

Format: double

-43.2465548
LodgingBookingData.lodging_details.location.country?
Section titled “LodgingBookingData.lodging_details.location.country?”

optional country?: string | null

The country where the address is located. May be an alpha-2 code, an alpha-3 code, or the full name of the country.

Brazil
LodgingBookingData.lodging_details.location.postal_code?
Section titled “LodgingBookingData.lodging_details.location.postal_code?”

optional postal_code?: string | null

The postal code of the given address.

21941-900
LodgingBookingData.lodging_details.location.timezone?
Section titled “LodgingBookingData.lodging_details.location.timezone?”

optional timezone?: string | null

The timezone in the given address.

America/Sao_Paulo
LodgingBookingData.lodging_details.star_rating?
Section titled “LodgingBookingData.lodging_details.star_rating?”

optional star_rating?: number | null

Format: float

The star rating of the hotel. Some hotels have half stars.

3.5

reservation_details: object

LodgingBookingData.reservation_details.check_in_time
Section titled “LodgingBookingData.reservation_details.check_in_time”

check_in_time: object

LodgingBookingData.reservation_details.check_in_time.local_time
Section titled “LodgingBookingData.reservation_details.check_in_time.local_time”

local_time: string

Format: date-time

The local time in the relevant location in the ISO 8601 format.

LodgingBookingData.reservation_details.check_in_time.timestamp?
Section titled “LodgingBookingData.reservation_details.check_in_time.timestamp?”

optional timestamp?: string | null

Format: date-time

An ISO 8601 timestamp.

2017-12-27T15:42:30Z
LodgingBookingData.reservation_details.checkout_time
Section titled “LodgingBookingData.reservation_details.checkout_time”

checkout_time: object

LodgingBookingData.reservation_details.checkout_time.local_time
Section titled “LodgingBookingData.reservation_details.checkout_time.local_time”

local_time: string

Format: date-time

The local time in the relevant location in the ISO 8601 format.

LodgingBookingData.reservation_details.checkout_time.timestamp?
Section titled “LodgingBookingData.reservation_details.checkout_time.timestamp?”

optional timestamp?: string | null

Format: date-time

An ISO 8601 timestamp.

2017-12-27T15:42:30Z
LodgingBookingData.reservation_details.confirmation_code?
Section titled “LodgingBookingData.reservation_details.confirmation_code?”

optional confirmation_code?: string | null

Confirmation code provided by the vendor.

7003XBQ504
LodgingBookingData.reservation_details.room?
Section titled “LodgingBookingData.reservation_details.room?”

optional room?: object

LodgingBookingData.reservation_details.room.bed_count?
Section titled “LodgingBookingData.reservation_details.room.bed_count?”

optional bed_count?: number | null

Format: int32

The number of beds.

1
LodgingBookingData.reservation_details.room.bed_type?
Section titled “LodgingBookingData.reservation_details.room.bed_type?”

optional bed_type?: string | null

The kind of bed.

DOUBLE
LodgingBookingData.reservation_details.room.description?
Section titled “LodgingBookingData.reservation_details.room.description?”

optional description?: string | null

A description of the room.

Superior room
LodgingBookingData.reservation_details.room.display_name?
Section titled “LodgingBookingData.reservation_details.room.display_name?”

optional display_name?: string | null

The name of the room as displayed to the user.

Standard room

type: "LODGING"

discriminator enum property added by openapi-typescript

LodgingBookingData.ContactInfo: object

Contact information of a venue.

optional email?: string | null

The email address of the venue.

city@hotelchain.com

optional fax?: string | null

The fax number of the venue.

12345554321

optional phone?: string | null

The phone number of the venue.

12345554321

LodgingBookingData.LodgingDetails: object

Information on a lodging venue.

LodgingBookingData.LodgingDetails.brand_name?
Section titled “LodgingBookingData.LodgingDetails.brand_name?”

optional brand_name?: string | null

The brand name of the hotel.

Marriott Hotels
LodgingBookingData.LodgingDetails.chain_name?
Section titled “LodgingBookingData.LodgingDetails.chain_name?”

optional chain_name?: string | null

The name of the hotel chain.

Accor Hotels
LodgingBookingData.LodgingDetails.contact_information?
Section titled “LodgingBookingData.LodgingDetails.contact_information?”

optional contact_information?: object

LodgingBookingData.LodgingDetails.contact_information.email?
Section titled “LodgingBookingData.LodgingDetails.contact_information.email?”

optional email?: string | null

The email address of the venue.

city@hotelchain.com
LodgingBookingData.LodgingDetails.contact_information.fax?
Section titled “LodgingBookingData.LodgingDetails.contact_information.fax?”

optional fax?: string | null

The fax number of the venue.

12345554321
LodgingBookingData.LodgingDetails.contact_information.phone?
Section titled “LodgingBookingData.LodgingDetails.contact_information.phone?”

optional phone?: string | null

The phone number of the venue.

12345554321
LodgingBookingData.LodgingDetails.display_name
Section titled “LodgingBookingData.LodgingDetails.display_name”

display_name: string

The name of the venue as displayed to the user.

Fancy Hotel
LodgingBookingData.LodgingDetails.location?
Section titled “LodgingBookingData.LodgingDetails.location?”

optional location?: object

LodgingBookingData.LodgingDetails.location.address_line_1?
Section titled “LodgingBookingData.LodgingDetails.location.address_line_1?”

optional address_line_1?: string | null

The first line of the address.

Av. Vinte de Janeiro, S/N
LodgingBookingData.LodgingDetails.location.address_line_2?
Section titled “LodgingBookingData.LodgingDetails.location.address_line_2?”

optional address_line_2?: string | null

The second line of the address.

Ilha do Governador
LodgingBookingData.LodgingDetails.location.administrative_area?
Section titled “LodgingBookingData.LodgingDetails.location.administrative_area?”

optional administrative_area?: string | null

Depending on the country, this can be a state, a province, or something equivalent to those. May be an abbreviation or the full name.

RJ
LodgingBookingData.LodgingDetails.location.city?
Section titled “LodgingBookingData.LodgingDetails.location.city?”

optional city?: string | null

The city where the address is located.

Rio de Janeiro
LodgingBookingData.LodgingDetails.location.coordinates?
Section titled “LodgingBookingData.LodgingDetails.location.coordinates?”

optional coordinates?: object

LodgingBookingData.LodgingDetails.location.coordinates.latitude
Section titled “LodgingBookingData.LodgingDetails.location.coordinates.latitude”

latitude: number

Format: double

-22.8145373
LodgingBookingData.LodgingDetails.location.coordinates.longitude
Section titled “LodgingBookingData.LodgingDetails.location.coordinates.longitude”

longitude: number

Format: double

-43.2465548
LodgingBookingData.LodgingDetails.location.country?
Section titled “LodgingBookingData.LodgingDetails.location.country?”

optional country?: string | null

The country where the address is located. May be an alpha-2 code, an alpha-3 code, or the full name of the country.

Brazil
LodgingBookingData.LodgingDetails.location.postal_code?
Section titled “LodgingBookingData.LodgingDetails.location.postal_code?”

optional postal_code?: string | null

The postal code of the given address.

21941-900
LodgingBookingData.LodgingDetails.location.timezone?
Section titled “LodgingBookingData.LodgingDetails.location.timezone?”

optional timezone?: string | null

The timezone in the given address.

America/Sao_Paulo
LodgingBookingData.LodgingDetails.star_rating?
Section titled “LodgingBookingData.LodgingDetails.star_rating?”

optional star_rating?: number | null

Format: float

The star rating of the hotel. Some hotels have half stars.

3.5

LodgingBookingData.ReservationDetails: object

Information on a reservation such as check-in, checkout, etc.

LodgingBookingData.ReservationDetails.check_in_time
Section titled “LodgingBookingData.ReservationDetails.check_in_time”

check_in_time: object

LodgingBookingData.ReservationDetails.check_in_time.local_time
Section titled “LodgingBookingData.ReservationDetails.check_in_time.local_time”

local_time: string

Format: date-time

The local time in the relevant location in the ISO 8601 format.

LodgingBookingData.ReservationDetails.check_in_time.timestamp?
Section titled “LodgingBookingData.ReservationDetails.check_in_time.timestamp?”

optional timestamp?: string | null

Format: date-time

An ISO 8601 timestamp.

2017-12-27T15:42:30Z
LodgingBookingData.ReservationDetails.checkout_time
Section titled “LodgingBookingData.ReservationDetails.checkout_time”

checkout_time: object

LodgingBookingData.ReservationDetails.checkout_time.local_time
Section titled “LodgingBookingData.ReservationDetails.checkout_time.local_time”

local_time: string

Format: date-time

The local time in the relevant location in the ISO 8601 format.

LodgingBookingData.ReservationDetails.checkout_time.timestamp?
Section titled “LodgingBookingData.ReservationDetails.checkout_time.timestamp?”

optional timestamp?: string | null

Format: date-time

An ISO 8601 timestamp.

2017-12-27T15:42:30Z
LodgingBookingData.ReservationDetails.confirmation_code?
Section titled “LodgingBookingData.ReservationDetails.confirmation_code?”

optional confirmation_code?: string | null

Confirmation code provided by the vendor.

7003XBQ504
LodgingBookingData.ReservationDetails.room?
Section titled “LodgingBookingData.ReservationDetails.room?”

optional room?: object

LodgingBookingData.ReservationDetails.room.bed_count?
Section titled “LodgingBookingData.ReservationDetails.room.bed_count?”

optional bed_count?: number | null

Format: int32

The number of beds.

1
LodgingBookingData.ReservationDetails.room.bed_type?
Section titled “LodgingBookingData.ReservationDetails.room.bed_type?”

optional bed_type?: string | null

The kind of bed.

DOUBLE
LodgingBookingData.ReservationDetails.room.description?
Section titled “LodgingBookingData.ReservationDetails.room.description?”

optional description?: string | null

A description of the room.

Superior room
LodgingBookingData.ReservationDetails.room.display_name?
Section titled “LodgingBookingData.ReservationDetails.room.display_name?”

optional display_name?: string | null

The name of the room as displayed to the user.

Standard room

LodgingBookingData.Room: object

Information on a room that was booked.

optional bed_count?: number | null

Format: int32

The number of beds.

1

optional bed_type?: string | null

The kind of bed.

DOUBLE

optional description?: string | null

A description of the room.

Superior room

optional display_name?: string | null

The name of the room as displayed to the user.

Standard room

Page_Booking_: object

items: object[]

optional next_cursor?: string | null

Page_Trip_: object

items: object[]

optional next_cursor?: string | null

RailBookingData: object

Rail-specific booking information.

journeys: object[]

The journeys that make up this booking.

type: "RAIL"

discriminator enum property added by openapi-typescript

RailBookingData.RailClass: "EXECUTIVE" | "BUSINESS" | "FIRST" | "STANDARD" | "SLEEPER" | "STANDARD_PREMIUM" | "BUSINESS_PREMIUM" | "COACH" | "ROOM"

The class of travel for a rail leg.

SLEEPER
@enum {string}

RailBookingData.RailJourney: object

A journey is composed of the legs that take a passenger from an origin to a final destination. E.g. if a traveler is going from Aberdeen to London, but they need to change trains in Edinburgh, the booking will contain 1 journey composed of 2 legs. The first leg is Aberdeen to Edinburgh, and the second is Edinburgh to London.

legs: object[]

The legs that make up this journey.

RailBookingData.RailLeg: object

A leg is a portion of the journey between two consecutive stops.

arrival_time: object

RailBookingData.RailLeg.arrival_time.local_time
Section titled “RailBookingData.RailLeg.arrival_time.local_time”

local_time: string

Format: date-time

The local time in the relevant location in the ISO 8601 format.

RailBookingData.RailLeg.arrival_time.timestamp?
Section titled “RailBookingData.RailLeg.arrival_time.timestamp?”

optional timestamp?: string | null

Format: date-time

An ISO 8601 timestamp.

2017-12-27T15:42:30Z

departure_time: object

RailBookingData.RailLeg.departure_time.local_time
Section titled “RailBookingData.RailLeg.departure_time.local_time”

local_time: string

Format: date-time

The local time in the relevant location in the ISO 8601 format.

RailBookingData.RailLeg.departure_time.timestamp?
Section titled “RailBookingData.RailLeg.departure_time.timestamp?”

optional timestamp?: string | null

Format: date-time

An ISO 8601 timestamp.

2017-12-27T15:42:30Z

destination: object

RailBookingData.RailLeg.destination.location?
Section titled “RailBookingData.RailLeg.destination.location?”

optional location?: object

RailBookingData.RailLeg.destination.location.address_line_1?
Section titled “RailBookingData.RailLeg.destination.location.address_line_1?”

optional address_line_1?: string | null

The first line of the address.

Av. Vinte de Janeiro, S/N
RailBookingData.RailLeg.destination.location.address_line_2?
Section titled “RailBookingData.RailLeg.destination.location.address_line_2?”

optional address_line_2?: string | null

The second line of the address.

Ilha do Governador
RailBookingData.RailLeg.destination.location.administrative_area?
Section titled “RailBookingData.RailLeg.destination.location.administrative_area?”

optional administrative_area?: string | null

Depending on the country, this can be a state, a province, or something equivalent to those. May be an abbreviation or the full name.

RJ
RailBookingData.RailLeg.destination.location.city?
Section titled “RailBookingData.RailLeg.destination.location.city?”

optional city?: string | null

The city where the address is located.

Rio de Janeiro
RailBookingData.RailLeg.destination.location.coordinates?
Section titled “RailBookingData.RailLeg.destination.location.coordinates?”

optional coordinates?: object

RailBookingData.RailLeg.destination.location.coordinates.latitude
Section titled “RailBookingData.RailLeg.destination.location.coordinates.latitude”

latitude: number

Format: double

-22.8145373
RailBookingData.RailLeg.destination.location.coordinates.longitude
Section titled “RailBookingData.RailLeg.destination.location.coordinates.longitude”

longitude: number

Format: double

-43.2465548
RailBookingData.RailLeg.destination.location.country?
Section titled “RailBookingData.RailLeg.destination.location.country?”

optional country?: string | null

The country where the address is located. May be an alpha-2 code, an alpha-3 code, or the full name of the country.

Brazil
RailBookingData.RailLeg.destination.location.postal_code?
Section titled “RailBookingData.RailLeg.destination.location.postal_code?”

optional postal_code?: string | null

The postal code of the given address.

21941-900
RailBookingData.RailLeg.destination.location.timezone?
Section titled “RailBookingData.RailLeg.destination.location.timezone?”

optional timezone?: string | null

The timezone in the given address.

America/Sao_Paulo

optional name?: string | null

The name of the station.

London - King's Cross

optional type?: "INDIVIDUAL" | "GROUP" | "METRO" | "BUS_STOP" | "FERRY_TERMINAL"

optional duration?: string | null

PT4h20M

PT4h20M

origin: object

optional location?: object

RailBookingData.RailLeg.origin.location.address_line_1?
Section titled “RailBookingData.RailLeg.origin.location.address_line_1?”

optional address_line_1?: string | null

The first line of the address.

Av. Vinte de Janeiro, S/N
RailBookingData.RailLeg.origin.location.address_line_2?
Section titled “RailBookingData.RailLeg.origin.location.address_line_2?”

optional address_line_2?: string | null

The second line of the address.

Ilha do Governador
RailBookingData.RailLeg.origin.location.administrative_area?
Section titled “RailBookingData.RailLeg.origin.location.administrative_area?”

optional administrative_area?: string | null

Depending on the country, this can be a state, a province, or something equivalent to those. May be an abbreviation or the full name.

RJ
RailBookingData.RailLeg.origin.location.city?
Section titled “RailBookingData.RailLeg.origin.location.city?”

optional city?: string | null

The city where the address is located.

Rio de Janeiro
RailBookingData.RailLeg.origin.location.coordinates?
Section titled “RailBookingData.RailLeg.origin.location.coordinates?”

optional coordinates?: object

RailBookingData.RailLeg.origin.location.coordinates.latitude
Section titled “RailBookingData.RailLeg.origin.location.coordinates.latitude”

latitude: number

Format: double

-22.8145373
RailBookingData.RailLeg.origin.location.coordinates.longitude
Section titled “RailBookingData.RailLeg.origin.location.coordinates.longitude”

longitude: number

Format: double

-43.2465548
RailBookingData.RailLeg.origin.location.country?
Section titled “RailBookingData.RailLeg.origin.location.country?”

optional country?: string | null

The country where the address is located. May be an alpha-2 code, an alpha-3 code, or the full name of the country.

Brazil
RailBookingData.RailLeg.origin.location.postal_code?
Section titled “RailBookingData.RailLeg.origin.location.postal_code?”

optional postal_code?: string | null

The postal code of the given address.

21941-900
RailBookingData.RailLeg.origin.location.timezone?
Section titled “RailBookingData.RailLeg.origin.location.timezone?”

optional timezone?: string | null

The timezone in the given address.

America/Sao_Paulo

optional name?: string | null

The name of the station.

London - King's Cross

optional type?: "INDIVIDUAL" | "GROUP" | "METRO" | "BUS_STOP" | "FERRY_TERMINAL"

optional rail_class?: "EXECUTIVE" | "BUSINESS" | "FIRST" | "STANDARD" | "SLEEPER" | "STANDARD_PREMIUM" | "BUSINESS_PREMIUM" | "COACH" | "ROOM"

optional seat?: object

RailBookingData.RailLeg.seat.coach_number?
Section titled “RailBookingData.RailLeg.seat.coach_number?”

optional coach_number?: string | null

The number of the coach.

12

optional seat_number?: string | null

The number of the seat.

41

optional vehicle?: object

optional carrier?: string | null

The carrier that operates this leg. E.g. Amtrak, Thameslink.

Amtrak
RailBookingData.RailLeg.vehicle.timetable_id?
Section titled “RailBookingData.RailLeg.vehicle.timetable_id?”

optional timetable_id?: string | null

The timetable ID for the vehicle. The concept is similar to a flight number.

L79727

optional type?: "METRO" | "TRAIN" | "BUS" | "FERRY" | "WALK" | "TAXI" | "TRAM" | "TUBE"

RailBookingData.RailSeat: object

A seat in a train leg.

optional coach_number?: string | null

The number of the coach.

12

optional seat_number?: string | null

The number of the seat.

41

RailBookingData.RailStation: object

An endpoint in a rail leg.

optional location?: object

RailBookingData.RailStation.location.address_line_1?
Section titled “RailBookingData.RailStation.location.address_line_1?”

optional address_line_1?: string | null

The first line of the address.

Av. Vinte de Janeiro, S/N
RailBookingData.RailStation.location.address_line_2?
Section titled “RailBookingData.RailStation.location.address_line_2?”

optional address_line_2?: string | null

The second line of the address.

Ilha do Governador
RailBookingData.RailStation.location.administrative_area?
Section titled “RailBookingData.RailStation.location.administrative_area?”

optional administrative_area?: string | null

Depending on the country, this can be a state, a province, or something equivalent to those. May be an abbreviation or the full name.

RJ
RailBookingData.RailStation.location.city?
Section titled “RailBookingData.RailStation.location.city?”

optional city?: string | null

The city where the address is located.

Rio de Janeiro
RailBookingData.RailStation.location.coordinates?
Section titled “RailBookingData.RailStation.location.coordinates?”

optional coordinates?: object

RailBookingData.RailStation.location.coordinates.latitude
Section titled “RailBookingData.RailStation.location.coordinates.latitude”

latitude: number

Format: double

-22.8145373
RailBookingData.RailStation.location.coordinates.longitude
Section titled “RailBookingData.RailStation.location.coordinates.longitude”

longitude: number

Format: double

-43.2465548
RailBookingData.RailStation.location.country?
Section titled “RailBookingData.RailStation.location.country?”

optional country?: string | null

The country where the address is located. May be an alpha-2 code, an alpha-3 code, or the full name of the country.

Brazil
RailBookingData.RailStation.location.postal_code?
Section titled “RailBookingData.RailStation.location.postal_code?”

optional postal_code?: string | null

The postal code of the given address.

21941-900
RailBookingData.RailStation.location.timezone?
Section titled “RailBookingData.RailStation.location.timezone?”

optional timezone?: string | null

The timezone in the given address.

America/Sao_Paulo

optional name?: string | null

The name of the station.

London - King's Cross

optional type?: "INDIVIDUAL" | "GROUP" | "METRO" | "BUS_STOP" | "FERRY_TERMINAL"

RailBookingData.RailStationType: "INDIVIDUAL" | "GROUP" | "METRO" | "BUS_STOP" | "FERRY_TERMINAL"

The kind of station. Some rail itineraries include taking a bus or walking between stations, and these are represented as legs in the journey. * INDIVIDUAL - A regular train station. * GROUP - Stations grouped together, usually in a major European city. E.g. “London, Any”. * METRO - A metro/subway station. * BUS_STOP - A bus stop. * FERRY_TERMINAL - A ferry terminal.

INDIVIDUAL
@enum {string}

RailBookingData.Vehicle: object

A vehicle used in a train leg. Some rail itineraries include taking a bus or walking between stations, and these are represented as legs in the journey.

optional carrier?: string | null

The carrier that operates this leg. E.g. Amtrak, Thameslink.

Amtrak

optional timetable_id?: string | null

The timetable ID for the vehicle. The concept is similar to a flight number.

L79727

optional type?: "METRO" | "TRAIN" | "BUS" | "FERRY" | "WALK" | "TAXI" | "TRAM" | "TUBE"

RailBookingData.VehicleType: "METRO" | "TRAIN" | "BUS" | "FERRY" | "WALK" | "TAXI" | "TRAM" | "TUBE"

The kind of vehicle to be used in a leg. Some rail itineraries include taking a bus or walking between stations, and these are represented as legs in the journey. * TRAIN - A regular train. * BUS - A bus. * FERRY - A ferry. * WALK- Walking between stations. * TAXI - A taxi between stations. * TRAM - Tram/light rail. * METRO - Metro/subway. * TUBE - London underground.

TRAIN
@enum {string}

Traveler: object

Information on the person who will be traveling.

optional guest_email?: string | null

If the traveler is a guest, this is their email.

guest@gmail.com

optional name?: object

optional first_name?: string

The traveler’s first name.

John

optional last_name?: string

The traveler’s last name.

Doe

optional middle_name?: string | null

The traveler’s middle name.

Paul

optional suffix?: string | null

The suffix in the traveler’s name.

Jr.

type: "EMPLOYEE" | "GUEST"

optional user_id?: string | null

If the traveler is an employee, this is their user ID.

cuuser_cky0xs54b004h01pidi0pcuz1

Traveler.Name: object

The name of the traveler.

optional first_name?: string

The traveler’s first name.

John

optional last_name?: string

The traveler’s last name.

Doe

optional middle_name?: string | null

The traveler’s middle name.

Paul

optional suffix?: string | null

The suffix in the traveler’s name.

Jr.

Traveler.Type: "EMPLOYEE" | "GUEST"

Whether the trip is for an employee or a guest.

EMPLOYEE
@enum {string}

Trip: object

A trip representation.

optional billable_at?: string | null

Format: date-time

The time when the trip became billable. If absent, the trip is currently not billable.

2017-12-27T15:42:30Z

booker_user_id: string

The ID of the user who booked the trip. If the trip was created on copilot mode, this will be the ID of the user on behalf of whom the trip was booked.

cuuser_cky0xs54b004h01pidi0pcuz1

created_at: string

Format: date-time

The time when the trip was created.

2017-12-27T15:42:30Z

optional ends_at?: string | null

Format: date-time

The time when the last booking in the trip ends.

2017-12-27T15:42:30Z

id: string

The ID of the trip.

trip_cl9rh1n8g001e0j84w6fb4fd1

optional name?: string | null

The name of the trip as seen in the dashboard.

Trip to Rio de Janeiro

optional starts_at?: string | null

Format: date-time

The time when the first booking in the trip starts.

2017-12-27T15:42:30Z

status: "DELETED" | "INVITED" | "PROCESSING" | "CANCELED" | "REFUNDED" | "DRAFT" | "IN_PROGRESS" | "APPROVAL_DENIED" | "PENDING" | "HOLD" | "COMPLETED" | "VOIDED" | "UNCONFIRMED" | "AIRLINE_CONTROL" | "PAYMENT_DECLINED" | "SCHEDULE_CHANGE" | "APPROVAL_REQUESTED" | "CANCELLATION_IN_PROGRESS" | "UPCOMING"

optional traveler?: object

optional guest_email?: string | null

If the traveler is a guest, this is their email.

guest@gmail.com

optional name?: object

optional first_name?: string

The traveler’s first name.

John

optional last_name?: string

The traveler’s last name.

Doe

optional middle_name?: string | null

The traveler’s middle name.

Paul

optional suffix?: string | null

The suffix in the traveler’s name.

Jr.

type: "EMPLOYEE" | "GUEST"

optional user_id?: string | null

If the traveler is an employee, this is their user ID.

cuuser_cky0xs54b004h01pidi0pcuz1

updated_at: string

Format: date-time

The time when the latest trip update happened.

2017-12-27T15:42:30Z

version: number

Format: int32

The current version of the trip.

2

Trip.Status: "DELETED" | "INVITED" | "PROCESSING" | "CANCELED" | "REFUNDED" | "DRAFT" | "IN_PROGRESS" | "APPROVAL_DENIED" | "PENDING" | "HOLD" | "COMPLETED" | "VOIDED" | "UNCONFIRMED" | "AIRLINE_CONTROL" | "PAYMENT_DECLINED" | "SCHEDULE_CHANGE" | "APPROVAL_REQUESTED" | "CANCELLATION_IN_PROGRESS" | "UPCOMING"

The current status of a trip.

UPCOMING
@enum {string}