added
Updates for June, 2025
1 day ago by Jonathan Castrillon
Endpoints affected
New fields added
- Within
additional_data
->airline
Field Name | Type | Description | Examples |
---|---|---|---|
type | enum | Type of trip | ONE_WAY , ROUNDTRIP , MULTIPLE_DESTINATIONS |
- Within
additional_data
->legs
Field | Type | Description | Example |
---|---|---|---|
order | int | A running index (starts with 1), describing the order of legs in the same route. | 2 |
route_order | int | A running index (starts with 1), describing the order of routes by time. E.g: If an order contains 2 Routes: New-York→London→Paris (connection in London) • New-York→London should have route_order=1, order=1 • London→Paris should have route_order=1, order=2 Paris→London→New-York • Paris→London should have route_order=2, order=1 • London→New-York should have route_order=2, order=2 | 1 |
Transportation
A new transportations struct has been added inside additional_data
Field | Type | Description | Example |
---|---|---|---|
transportations | array of objects | Specifies the transportations array of objects | |
↳ id | string | The id of the transportation booking (MAX 255; MIN 1) | AAA0001 |
↳ description | string | The description of the transportation booking (MAX 255; MIN 1) | Bus ticket |
↳ type | enum | Transportation booking type | ONE_WAY , ROUNDTRIP , MULTIPLE_DESTINATIONS |
↳ legs | array of objects | Specifies the legs array of objects | |
↳ ↳ order | int | A running index (starts with 1), describing the order of legs in the same route | 2 |
↳ ↳ route_order | int | A running index (starts with 1), describing the order of routes by time. E.g: If an order contains 2 Routes: New-York→London→Paris (connection in London) New-York→London should have route_order=1, order=1 London→Paris should have route_order=1, order=2 Paris→London→New-York Paris→London should have route_order=2, order=1 London→New-York should have route_order=2, order=2 | 1 |
↳ ↳ departure_country | string | Country of the departure (MAX 2; MIN 2; ISO 3166-1) | CO |
↳ ↳ departure_city | string | The city of the departure (MAX 255; MIN 1) | Bogotá |
↳ ↳ departure_timezone | string | Departure timezone (MAX 6; MIN 6) | -03:00 |
↳ ↳ departure_datetime | timestamp | The departure date and time in local time at the departure | 2022-05-09T20:46:54.786342Z |
↳ ↳ departure_reference | string | The reference of the departure (MAX 255; MIN 1) | AAA001-2 |
↳ ↳ arrival_country | string | Country of the arrival (MAX 2; MIN 2; ISO 3166-1) | CO |
↳ ↳ arrival_city | string | The city of the arrival (MAX 255; MIN 1) | Medellín |
↳ ↳ arrival_timezone | string | Arrival timezone (MAX 6; MIN 6) | -03:00 |
↳ ↳ arrival_datetime | timestamp | The arrival date and time in local time at the arrival | 2022-05-09T24:46:54.786342Z |
↳ ↳ arrival_reference | string | The reference of the arrival (MAX 255; MIN 1) | AAA001-4 |
↳ ↳ transport | object | Specifies the transport object | |
↳ ↳ ↳ id | string | The id of the transportation vehicle (MAX 255; MIN 1) | ASONDAKS-1234 |
↳ ↳ ↳ type | enum | Transportation vehicle type | SHIP , BUS , TRAIN , TRAM , CAR |
↳ ↳ ↳ description | string | The description of the transportation vehicle (MAX 255; MIN 1) | BUS 2022 |
↳ passengers | array of objects | Same as in airlines | |
↳ tickets | array of objects | Same as in airlines |