Itineraries Flights
Tenant Var Code
Itinerary Id
OK
A unique identifier of the hotel
Flight number - tail number (e.g., N12345), or an ident (typically an ICAO airline with flight number, e.g., SWA2558)
Origin airport
Destination airport
Origin latitude
Origin longitude
Origin country name
Origin two letter country code
Departure time zone id
Departure local time (required if departure time UTC not specified)
Departure time UTC (required if departure local time not specified)
Destination latitude
Destination longitude
Destination country name
Destination two letter country code
Arrival time zone id
Arrival local time (required if arrival time UTC not specified)
Arrival time UTC (required if arrival local time not specified)
GET /V2/{tenantVarCode}/itineraries/{itineraryId}/flights HTTP/1.1
Accept: */*
OK
[
{
"Id": 1,
"FlightNumber": "text",
"Origin": "text",
"Destination": "text",
"OriginLatitude": 1,
"OriginLongitude": 1,
"OriginCountryName": "text",
"OriginCountryCode": "text",
"DepartureTimeZoneId": "text",
"DepartureTimeLocal": "2026-01-01T00:00:00.000Z",
"DepartureTime": "2026-01-01T00:00:00.000Z",
"DestinationLatitude": 1,
"DestinationLongitude": 1,
"DestinationCountryName": "text",
"DestinationCountryCode": "text",
"ArrivalTimeZoneId": "text",
"ArrivalTimeLocal": "2026-01-01T00:00:00.000Z",
"ArrivalTime": "2026-01-01T00:00:00.000Z"
}
]Tenant Var Code
Itinerary Id
A unique identifier of the hotel
Flight number - tail number (e.g., N12345), or an ident (typically an ICAO airline with flight number, e.g., SWA2558)
Origin airport
Destination airport
Origin latitude
Origin longitude
Origin country name
Origin two letter country code
Departure time zone id
Departure local time (required if departure time UTC not specified)
Departure time UTC (required if departure local time not specified)
Destination latitude
Destination longitude
Destination country name
Destination two letter country code
Arrival time zone id
Arrival local time (required if arrival time UTC not specified)
Arrival time UTC (required if arrival local time not specified)
OK
No content
POST /V2/{tenantVarCode}/itineraries/{itineraryId}/flights HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 507
{
"Id": 1,
"FlightNumber": "text",
"Origin": "text",
"Destination": "text",
"OriginLatitude": 1,
"OriginLongitude": 1,
"OriginCountryName": "text",
"OriginCountryCode": "text",
"DepartureTimeZoneId": "text",
"DepartureTimeLocal": "2026-01-01T00:00:00.000Z",
"DepartureTime": "2026-01-01T00:00:00.000Z",
"DestinationLatitude": 1,
"DestinationLongitude": 1,
"DestinationCountryName": "text",
"DestinationCountryCode": "text",
"ArrivalTimeZoneId": "text",
"ArrivalTimeLocal": "2026-01-01T00:00:00.000Z",
"ArrivalTime": "2026-01-01T00:00:00.000Z"
}OK
No content
Tenant Var Code
Itinerary Id
Flight Id
OK
A unique identifier of the hotel
Flight number - tail number (e.g., N12345), or an ident (typically an ICAO airline with flight number, e.g., SWA2558)
Origin airport
Destination airport
Origin latitude
Origin longitude
Origin country name
Origin two letter country code
Departure time zone id
Departure local time (required if departure time UTC not specified)
Departure time UTC (required if departure local time not specified)
Destination latitude
Destination longitude
Destination country name
Destination two letter country code
Arrival time zone id
Arrival local time (required if arrival time UTC not specified)
Arrival time UTC (required if arrival local time not specified)
GET /V2/{tenantVarCode}/itineraries/{itineraryId}/flights/{flightId} HTTP/1.1
Accept: */*
OK
{
"Id": 1,
"FlightNumber": "text",
"Origin": "text",
"Destination": "text",
"OriginLatitude": 1,
"OriginLongitude": 1,
"OriginCountryName": "text",
"OriginCountryCode": "text",
"DepartureTimeZoneId": "text",
"DepartureTimeLocal": "2026-01-01T00:00:00.000Z",
"DepartureTime": "2026-01-01T00:00:00.000Z",
"DestinationLatitude": 1,
"DestinationLongitude": 1,
"DestinationCountryName": "text",
"DestinationCountryCode": "text",
"ArrivalTimeZoneId": "text",
"ArrivalTimeLocal": "2026-01-01T00:00:00.000Z",
"ArrivalTime": "2026-01-01T00:00:00.000Z"
}Tenant Var Code
Itinerary Id
Flight Id
A unique identifier of the hotel
Flight number - tail number (e.g., N12345), or an ident (typically an ICAO airline with flight number, e.g., SWA2558)
Origin airport
Destination airport
Origin latitude
Origin longitude
Origin country name
Origin two letter country code
Departure time zone id
Departure local time (required if departure time UTC not specified)
Departure time UTC (required if departure local time not specified)
Destination latitude
Destination longitude
Destination country name
Destination two letter country code
Arrival time zone id
Arrival local time (required if arrival time UTC not specified)
Arrival time UTC (required if arrival local time not specified)
OK
No content
PUT /V2/{tenantVarCode}/itineraries/{itineraryId}/flights/{flightId} HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 507
{
"Id": 1,
"FlightNumber": "text",
"Origin": "text",
"Destination": "text",
"OriginLatitude": 1,
"OriginLongitude": 1,
"OriginCountryName": "text",
"OriginCountryCode": "text",
"DepartureTimeZoneId": "text",
"DepartureTimeLocal": "2026-01-01T00:00:00.000Z",
"DepartureTime": "2026-01-01T00:00:00.000Z",
"DestinationLatitude": 1,
"DestinationLongitude": 1,
"DestinationCountryName": "text",
"DestinationCountryCode": "text",
"ArrivalTimeZoneId": "text",
"ArrivalTimeLocal": "2026-01-01T00:00:00.000Z",
"ArrivalTime": "2026-01-01T00:00:00.000Z"
}OK
No content
Tenant Var Code
Itinerary Id
Flight Id
OK
No content
DELETE /V2/{tenantVarCode}/itineraries/{itineraryId}/flights/{flightId} HTTP/1.1
Accept: */*
OK
No content
Last updated

