- Shopping
- Authorization
- Flights
- (Scenario)Basic Flight Booking flow
- Flight Booking
- Flight Inspiration
- Flight Schedule
- Airport
- Airlines
- Destination experiences
- Car and Transfers
- Market insights
- Hotels
- Itinerary management
- STARGAME
- Common errors
- InitialGetBalance
- InitialGetBalance
- GetBalanceBadHash
- GetBalanceBadHash
- InvalidCommand
- InvalidCommand
- InvalidUserName
- InvalidUserName
- PlayerBetMissingTransactionId
- PlayerBetMissingTransactionId
- PlayerWinEmptyTransactionId
- PlayerWinEmptyTransactionId
- PlayerBetNegativeAmount
- PlayerBetNegativeAmount
- PlayerWinNegativeAmount
- PlayerWinNegativeAmount
- PlayerBetInsufficientBalance
- PlayerBetInsufficientBalance
- CheckBalance
- CheckBalance
- Workflow
- OpenSession
- OpenSession
- OpenSessionAlreadyOpened
- OpenSessionAlreadyOpened
- GetBalance
- GetBalance
- PlayerBet #1 (-50)
- PlayerBet #1 (-50)
- PlayerWin (+150)
- PlayerWin (+150)
- PlayerBet #2 (-50)
- PlayerBet #2 (-50)
- PlayerWinZeroAmount (+0)
- PlayerWinZeroAmount (+0)
- PlayerBet #3 (-50)
- PlayerBet #3 (-50)
- PlayerWin (+200)
- PlayerWin (+200)
- PlayerWinTransactionAlreadyExist
- PlayerWinTransactionAlreadyExist
- PlayerBet #4 (-200)
- PlayerBet #4 (-200)
- PlayerBetTransactionAlreadyExist
- PlayerBetTransactionAlreadyExist
- PlayerBetBadHash
- PlayerBetBadHash
- PlayerWinBadHash
- PlayerWinBadHash
- CancelBet #4 (+200)
- CancelBet #4 (+200)
- CancelBetAlreadyCancelled
- CancelBetAlreadyCancelled
- CancelBetDoesNotExist
- CancelBetDoesNotExist
- PlayerBet #5 (-50)
- PlayerBet #5 (-50)
- CloseSession
- CloseSession
- PlayerBet #6 (-250)
- PlayerBet #6 (-250)
- PlayerWin (+50)
- PlayerWin (+50)
- CancelBet #5 (+50)
- CancelBet #5 (+50)
- PlayerBet #7 (-100)
- PlayerBet #7 (-100)
- PlayerBet #8 (-50)
- PlayerBet #8 (-50)
- PlayerBet #9 (-25)
- PlayerBet #9 (-25)
- PlayerBet #10 (-25)
- PlayerBet #10 (-25)
- PlayerBet #11 (-50)
- PlayerBet #11 (-50)
- CancelBet #7 (+100)
- CancelBet #7 (+100)
- CancelBet #9 (+25)
- CancelBet #9 (+25)
- CancelBet #11 (+50)
- CancelBet #11 (+50)
- PlayerWin (+75)
- PlayerWin (+75)
- CloseSessionAlreadyClosed
- CloseSessionAlreadyClosed
- FinalCheckBalance
- FinalCheckBalance
- RemoteSession
- Common errors
- IMEI
- GPK
- SUPERSET
- Menu
- Queries
- Annotation Layers
- /annotation_layer/
- /annotation_layer/
- /annotation_layer/
- /annotation_layer/_info
- /annotation_layer/related/{column_name}
- /annotation_layer/{pk}
- /annotation_layer/{pk}
- /annotation_layer/{pk}
- /annotation_layer/{pk}/annotation/
- /annotation_layer/{pk}/annotation/
- /annotation_layer/{pk}/annotation/
- /annotation_layer/{pk}/annotation/{annotation_id}
- /annotation_layer/{pk}/annotation/{annotation_id}
- /annotation_layer/{pk}/annotation/{annotation_id}
- AsyncEventsRestApi
- CacheRestApi
- Charts
- CSS Templates
- Dashboards
- Database
- /database/
- /database/
- /database/_info
- /database/export/
- /database/import/
- /database/test_connection
- /database/{pk}
- /database/{pk}
- /database/{pk}
- /database/{pk}/function_names/
- /database/{pk}/related_objects/
- /database/{pk}/schemas/
- /database/{pk}/select_star/{table_name}/
- /database/{pk}/select_star/{table_name}/{schema_name}/
- /database/{pk}/table/{table_name}/{schema_name}/
- Datasets
- LogRestApi
- OpenApi
- Security
- VEGAS
- BI
- vl
- Vegaslounge
- VL
- VegasloungeAPI
Flight Order Management
GET
/v1/booking/flight-orders/{{flightOrderId}}
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET '/v1/booking/flight-orders/{{flightOrderId}}'
Responses
🟢200Flight Order Management
application/json
Body
meta
object
required
count
integer
required
links
object
required
data
object
required
type
string
required
id
string
required
queuingOfficeId
string
required
associatedRecords
array [object {4}]
required
flightOffers
array [object {10}]
required
travelers
array [object {5}]
required
remarks
object
required
ticketingAgreement
object
required
contacts
array [object {6}]
required
dictionaries
object
required
locations
object
required
Example
{
"meta": {
"count": 1,
"links": {
"self": "https://test.api.amadeus.com/v1/booking/flight-orders/eJzTd9cPDAgICfYAAAvRAoY%3D"
}
},
"data": {
"type": "flight-order",
"id": "eJzTd9cPDAgICfYAAAvRAoY%3D",
"queuingOfficeId": "NCE4D31SB",
"associatedRecords": [
{
"reference": "QPPTSH",
"originSystemCode": "AF",
"flightOfferId": "1"
},
{
"reference": "QPPTSH",
"creationDate": "2024-04-03T03:43:00",
"originSystemCode": "GDS",
"flightOfferId": "1"
}
],
"flightOffers": [
{
"type": "flight-offer",
"id": "1",
"source": "GDS",
"nonHomogeneous": false,
"lastTicketingDate": "2024-04-03",
"itineraries": [
{
"segments": [
{
"departure": {
"iataCode": "BOS",
"terminal": "E",
"at": "2024-04-17T17:20:00"
},
"arrival": {
"iataCode": "CDG",
"terminal": "2E",
"at": "2024-04-18T06:05:00"
},
"carrierCode": "AF",
"number": "333",
"aircraft": {
"code": "359"
},
"duration": "PT6H45M",
"bookingStatus": "CONFIRMED",
"segmentType": "ACTIVE",
"isFlown": false,
"id": "1",
"numberOfStops": 0,
"co2Emissions": [
{
"weight": 556,
"weightUnit": "KG",
"cabin": "BUSINESS"
}
]
},
{
"departure": {
"iataCode": "CDG",
"terminal": "2F",
"at": "2024-04-18T07:05:00"
},
"arrival": {
"iataCode": "MAD",
"terminal": "2",
"at": "2024-04-18T09:15:00"
},
"carrierCode": "AF",
"number": "1000",
"aircraft": {
"code": "319"
},
"duration": "PT2H10M",
"bookingStatus": "CONFIRMED",
"segmentType": "ACTIVE",
"isFlown": false,
"id": "2",
"numberOfStops": 0,
"co2Emissions": [
{
"weight": 105,
"weightUnit": "KG",
"cabin": "BUSINESS"
}
]
}
]
},
{
"segments": [
{
"departure": {
"iataCode": "MAD",
"terminal": "2",
"at": "2024-05-01T20:15:00"
},
"arrival": {
"iataCode": "CDG",
"terminal": "2F",
"at": "2024-05-01T22:20:00"
},
"carrierCode": "AF",
"number": "1101",
"aircraft": {
"code": "321"
},
"duration": "PT2H5M",
"bookingStatus": "CONFIRMED",
"segmentType": "ACTIVE",
"isFlown": false,
"id": "3",
"numberOfStops": 0,
"co2Emissions": [
{
"weight": 105,
"weightUnit": "KG",
"cabin": "ECONOMY"
}
]
},
{
"departure": {
"iataCode": "CDG",
"terminal": "2E",
"at": "2024-05-02T13:35:00"
},
"arrival": {
"iataCode": "BOS",
"terminal": "E",
"at": "2024-05-02T15:10:00"
},
"carrierCode": "AF",
"number": "334",
"aircraft": {
"code": "359"
},
"duration": "PT7H35M",
"bookingStatus": "CONFIRMED",
"segmentType": "ACTIVE",
"isFlown": false,
"id": "4",
"numberOfStops": 0,
"co2Emissions": [
{
"weight": 278,
"weightUnit": "KG",
"cabin": "ECONOMY"
}
]
}
]
}
],
"price": {
"currency": "USD",
"total": "7151.60",
"base": "4410.00",
"grandTotal": "7151.60"
},
"pricingOptions": {
"fareType": [
"PUBLISHED"
]
},
"validatingAirlineCodes": [
"AF"
],
"travelerPricings": [
{
"travelerId": "1",
"travelerType": "CHILD",
"price": {
"currency": "USD",
"total": "3575.80",
"base": "2205.00",
"taxes": [
{
"amount": "5.60",
"code": "AY"
},
{
"amount": "9.00",
"code": "FR"
},
{
"amount": "15.80",
"code": "JD"
},
{
"amount": "0.70",
"code": "OG"
},
{
"amount": "3.80",
"code": "QV"
},
{
"amount": "48.20",
"code": "QX"
},
{
"amount": "44.40",
"code": "US"
},
{
"amount": "3.83",
"code": "XA"
},
{
"amount": "4.50",
"code": "XF"
},
{
"amount": "7.00",
"code": "XY"
},
{
"amount": "6.97",
"code": "YC"
},
{
"amount": "46.00",
"code": "YQ"
},
{
"amount": "1175.00",
"code": "YR"
}
]
},
"fareDetailsBySegment": [
{
"segmentId": "1",
"cabin": "BUSINESS",
"fareBasis": "ZNX45NDL",
"class": "Z",
"includedCheckedBags": {
"quantity": 2
}
},
{
"segmentId": "2",
"cabin": "BUSINESS",
"fareBasis": "ZNX45NDL",
"class": "J",
"includedCheckedBags": {
"quantity": 2
},
"mealServices": [
{
"label": "Breakfast"
}
]
},
{
"segmentId": "3",
"cabin": "ECONOMY",
"fareBasis": "RKX46NMZ",
"class": "L",
"includedCheckedBags": {
"quantity": 1
},
"mealServices": [
{
"label": "Snack"
}
]
},
{
"segmentId": "4",
"cabin": "ECONOMY",
"fareBasis": "RKX46NMZ",
"class": "R",
"includedCheckedBags": {
"quantity": 1
}
}
]
},
{
"travelerId": "2",
"travelerType": "ADULT",
"price": {
"currency": "USD",
"total": "3575.80",
"base": "2205.00",
"taxes": [
{
"amount": "5.60",
"code": "AY"
},
{
"amount": "9.00",
"code": "FR"
},
{
"amount": "15.80",
"code": "JD"
},
{
"amount": "0.70",
"code": "OG"
},
{
"amount": "3.80",
"code": "QV"
},
{
"amount": "48.20",
"code": "QX"
},
{
"amount": "44.40",
"code": "US"
},
{
"amount": "3.83",
"code": "XA"
},
{
"amount": "4.50",
"code": "XF"
},
{
"amount": "7.00",
"code": "XY"
},
{
"amount": "6.97",
"code": "YC"
},
{
"amount": "46.00",
"code": "YQ"
},
{
"amount": "1175.00",
"code": "YR"
}
]
},
"fareDetailsBySegment": [
{
"segmentId": "1",
"cabin": "BUSINESS",
"fareBasis": "ZNX45NDL",
"class": "Z",
"includedCheckedBags": {
"quantity": 2
}
},
{
"segmentId": "2",
"cabin": "BUSINESS",
"fareBasis": "ZNX45NDL",
"class": "J",
"includedCheckedBags": {
"quantity": 2
},
"mealServices": [
{
"label": "Breakfast"
}
]
},
{
"segmentId": "3",
"cabin": "ECONOMY",
"fareBasis": "RKX46NMZ",
"class": "L",
"includedCheckedBags": {
"quantity": 1
},
"mealServices": [
{
"label": "Snack"
}
]
},
{
"segmentId": "4",
"cabin": "ECONOMY",
"fareBasis": "RKX46NMZ",
"class": "R",
"includedCheckedBags": {
"quantity": 1
}
}
]
}
]
}
],
"travelers": [
{
"id": "1",
"name": {
"firstName": "ADRIANA",
"lastName": "GONZALES"
},
"contact": {
"purpose": "STANDARD",
"phones": [
{
"deviceType": "MOBILE",
"countryCallingCode": "34",
"number": "480080076"
}
],
"emailAddress": "JORGE.GONZALES833@TELEFONICA.ES"
}
},
{
"id": "2",
"gender": "MALE",
"name": {
"firstName": "JORGE",
"lastName": "GONZALES"
},
"documents": [
{
"number": "00000000",
"expiryDate": "2025-04-14",
"issuanceCountry": "ES",
"nationality": "ES",
"documentType": "PASSPORT",
"holder": true
}
],
"contact": {
"purpose": "STANDARD",
"phones": [
{
"deviceType": "MOBILE",
"countryCallingCode": "34",
"number": "480080076"
}
],
"emailAddress": "JORGE.GONZALES833@TELEFONICA.ES"
}
}
],
"remarks": {
"general": [
{
"subType": "GENERAL_MISCELLANEOUS",
"text": "ONLINE BOOKING FROM INCREIBLE VIAJES",
"flightOfferIds": [
"1"
]
},
{
"subType": "GENERAL_MISCELLANEOUS",
"text": "PRICING ENTRY FXP/FF1,2-BIZSTAND/FF3,4-STANDARD6/R,P,VC-AF,FC-USD/P1-2",
"flightOfferIds": [
"1"
]
}
],
"airline": [
{
"subType": "ADVANCED_TICKET_TIME_LIMIT",
"airlineCode": "AF",
"text": "TO AF BY 06APR 0500 NCE OTHERWISE WILL BE XLD",
"flightOfferIds": [
"1"
]
}
]
},
"ticketingAgreement": {
"option": "DELAY_TO_CANCEL",
"dateTime": "2024-04-09"
},
"contacts": [
{
"addresseeName": {
"firstName": "PABLO RODRIGUEZ"
},
"address": {
"lines": [
"CALLE PRADO, 16"
],
"postalCode": "28014",
"countryCode": "ES",
"cityName": "MADRID"
},
"purpose": "STANDARD",
"phones": [
{
"deviceType": "LANDLINE",
"countryCallingCode": "34",
"number": "480080071"
},
{
"deviceType": "MOBILE",
"countryCallingCode": "33",
"number": "480080072"
}
],
"companyName": "INCREIBLE VIAJES",
"emailAddress": "SUPPORT@INCREIBLEVIAJES.ES"
}
]
},
"dictionaries": {
"locations": {
"MAD": {
"cityCode": "MAD",
"countryCode": "ES"
},
"BOS": {
"cityCode": "BOS",
"countryCode": "US"
},
"CDG": {
"cityCode": "PAR",
"countryCode": "FR"
}
}
}
}