Flight segments data model
When you create a batch file, ensure that you include all required attributes from the order item data model in addition to any flight segments attributes from the following table:
|
Attribute |
Description |
Type |
Example(s) |
Required/optional |
Upsert |
Migration |
|---|---|---|---|---|---|---|
|
|
An ID to identify the flight segment. |
string |
|
Required |
Not supported |
Not supported |
|
|
The IATA airport or city origin code of the flight segment. |
IATA airport or city code (uppercase) |
|
Required |
Not supported |
Not supported |
|
|
The IATA airport or city destination code of the flight segment. |
IATA airport or city code (uppercase) |
|
Required |
Not supported |
Not supported |
|
|
The local departure date and time of the flight segment. You must pass this value in as the local departure date/time and include the Z at the end, even though it is not UTC time. |
ISO 8601 date/time |
|
Required |
Not supported |
Not supported |
|
|
The local arrival date and time of the flight segment. You must pass this value in as the local departure date/time and include the Z at the end, even though it is not UTC time. |
ISO 8601 date/time |
|
Required |
Not supported |
Not supported |
|
|
The marketing flight number for the flight segment. |
string |
|
Required |
Not supported |
Not supported |
|
|
The fare class of the flight segment. |
string (title case recommended) |
|
Required |
Not supported |
Not supported |
|
|
The fare family of the flight segment. |
string (title case recommended) |
|
Optional |
Not supported |
Not supported |
|
|
The booking class of the flight segment. |
string (uppercase) |
|
Optional |
Not supported |
Not supported |
|
|
The equipment type of the flight segment. |
string (uppercase) |
|
Optional |
Not supported |
Not supported |
|
|
The marketing carrier code for the flight segment. |
IATA airline code (uppercase) |
|
Required |
Not supported |
Not supported |
|
|
The origin and destination of the flight segment. |
string (uppercase) |
|
Optional |
Not supported |
Not supported |
|
|
The operating carrier code for the flight segment. |
IATA airline code (uppercase) |
|
Optional |
Not supported |
Not supported |
|
|
The operating carrier flight number for the flight segment. |
string |
|
Optional |
Not supported |
Not supported |