VegasLounge API 对接文档
  1. Flight Booking
VegasLounge API 对接文档
  • Shopping
    • Return list of Flight Offers based on posted searching criteria.
      POST
    • Return list of Flight Offers based on searching criteria.
      GET
  • Authorization
    • Access Granted Client Credentials
      POST
    • Get Token Information
      GET
  • Flights
    • (Scenario)Basic Flight Booking flow
      • Step 0: Authorization
      • Step 1: Flight Offers Search GET
      • Step 2: Flight Offers Price
      • Step 3: Flight Create Orders
    • Flight Booking
      • Flight Offers Search
        GET
      • Flight Offers Search
        POST
      • Flight Offers Price
        POST
      • Flight Create Orders
        POST
      • Flight Order Management
        GET
      • Flight Order Management
        DELETE
      • Seatmap Display
        GET
      • Seatmap Display
        POST
      • Branded Fares Upsell
        POST
      • Flight Price Analysis
        GET
      • Flight Choice Prediction
        POST
    • Flight Inspiration
      • Flight Inspiration Search
      • Flight Cheapest Date Search
      • Flight Availabilities Search
      • Travel Recommendations
    • Flight Schedule
      • On Demand Flight Status
      • Flight Delay Prediction
      • Airport On-Time Performance
    • Airport
      • Airport & City Search by Keyword
      • Airport & City Search by Id
      • Airport Nearest Relevant
      • Airport Routes
    • Airlines
      • Flight Check-in Links
      • Airline Code Lookup
      • Airline Routes
  • Destination experiences
    • Tours and Activities
      GET
    • Tours and Activities by Id
      GET
    • Tours and Activities by square
      GET
    • City Search
      GET
  • Car and Transfers
    • Transfer Search
    • Transfer Booking
    • Transfer Management
  • Market insights
    • Flight Most Traveled Destinations
    • Flight Most Booked Destinations
    • Flight Busiest Traveling Period
  • Hotels
    • (Scenario)Basic Hotel Booking flow
      • Step 0: Authorization
      • Step 1: Find Hotels by city
      • Step 2: Hotel Offers Search
      • Step 3: Hotel Booking v1
    • Hotel List by Id
    • Hotel List by Geocode
    • Hotel List by City
    • Hotel Search
    • Hotel Search Offer Information
    • Hotel Booking v1
    • Hotel Booking v2
    • Hotel Ratings
    • Hotel Name Autocomplete
  • Itinerary management
    • Trip Purpose Prediction
  • 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
  • IMEI
    • Get account details
    • Get list of available services
    • Create Bulk Search
    • Export CSV for Bulk Search
    • Export JSON for Bulk Search
    • Get list of Bulk Search history
    • Single service check
    • Get single history result
    • Get list of search history
    • SYNC-API Single service check
  • GPK
    • 玩家取得遊戲連結
  • SUPERSET
    • Menu
      • /menu/
    • Queries
      • /query/
      • /query/distinct/{column_name}
      • /query/related/{column_name}
      • /query/{pk}
      • /saved_query/
      • /saved_query/
      • /saved_query/
      • /saved_query/_info
      • /saved_query/distinct/{column_name}
      • /saved_query/export/
      • /saved_query/related/{column_name}
      • /saved_query/{pk}
      • /saved_query/{pk}
      • /saved_query/{pk}
    • 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
      • /async_event/
    • CacheRestApi
      • /cachekey/invalidate
    • Charts
      • /chart/
      • /chart/
      • /chart/
      • /chart/_info
      • /chart/data
      • /chart/data/{cache_key}
      • /chart/export/
      • /chart/favorite_status/
      • /chart/import/
      • /chart/related/{column_name}
      • /chart/{pk}
      • /chart/{pk}
      • /chart/{pk}
    • CSS Templates
      • /css_template/
      • /css_template/
      • /css_template/
      • /css_template/_info
      • /css_template/related/{column_name}
      • /css_template/{pk}
      • /css_template/{pk}
      • /css_template/{pk}
    • Dashboards
      • /dashboard/
      • /dashboard/
      • /dashboard/
      • /dashboard/_info
      • /dashboard/export/
      • /dashboard/favorite_status/
      • /dashboard/import/
      • /dashboard/related/{column_name}
      • /dashboard/{pk}
      • /dashboard/{pk}
      • /dashboard/{pk}
      • /dashboard/{pk}/charts
    • 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
      • /dataset/
      • /dataset/
      • /dataset/
      • /dataset/_info
      • /dataset/distinct/{column_name}
      • /dataset/export/
      • /dataset/import/
      • /dataset/related/{column_name}
      • /dataset/{pk}
      • /dataset/{pk}
      • /dataset/{pk}
      • /dataset/{pk}/refresh
      • /dataset/{pk}/related_objects
    • LogRestApi
      • /log/
      • /log/
      • /log/{pk}
    • OpenApi
      • /openapi/{version}/_openapi
    • Security
      • /security/csrf_token/
      • /security/login
      • /security/refresh
  • VEGAS
    • BI
      • pre-login
      • login
      • dashboard
    • vl
      • Client API v2.0
        • Get Game List
      • Authentication API v2.0
        • Validate Authorization Code
        • Refresh Access Token
        • Get Account Information
      • Seamless Wallet API v2.0
        • Place Bet
        • Send Payoff
        • Reverse Transaction
        • Get Player Balance
      • Transfer Wallet API v2.0
        • Deposit money to the player's wallet.
        • Withdraw money from the player's wallet.
        • Get the current balance for the player.
        • Query players by balance.
        • Query player's total bet amount since last deposit.
        • Query player's bet/payout summary.
        • Query Total Loss Summary
      • Report API
        • Get Transfers
        • Check Transaction
        • Get Game History Link
        • Verify Transactions Summary
        • Get Detailed Betting Report
        • Get Betting Report
      • isonline
    • Vegaslounge
      • VEGASLOUNGE API集成指南手册
      • 客户端 CLIENT API
        • 示例 获取游戏列表
      • 身份验证 Authentication API
      • 转账钱包 TRANSFER WALLET
        • 示例: 获取玩家余额 Balance
        • 示例: 查询玩家指定余额 playersByBalance
        • 示例: 查询总损失总结 getTotalLoss API
        • 示例: 转入 DEPOSIT API
        • 示例: 转出 WITHDRAW API
        • 示例: 查询玩家最后存款投注金额 betAmountSinceLastDeposit
        • 示例: 查询玩家投注总结 getSummaryBet
        • 示例: 投注记录 REPORT/BETS API
      • 免转钱包 SEAMLESS WALLET
      • 报表 REPORT API
        • Verify Transactions
        • Check Transaction
        • Order Link
        • Verify Transactions Summary
        • Detailed Betting report
      • 附录
        • 投注类型
      • CompletedDOC
      • Verify Transactions
      • Check Transaction
      • Order Link
      • Verify Transactions Summary
      • Detailed Betting report
    • VL
      • report_bets
      • replay_Transfer
      • report_verifyTransactionsSummary
      • report_orderLink
      • report_checkTransaction
      • report_transfer
      • report_getTotalLoss
      • report_getSummaryBet
      • replay
      • betAmountSinceLastDeposit
      • playersByBalance
      • balance
      • withdrawal
      • deposit
    • VegasloungeAPI
      • 客户端 CLIENT API
        • 示例 获取游戏列表
      • 身份验证 Authentication API
      • 转账钱包 TRANSFER WALLET
        • 示例: 获取玩家余额 Balance
        • 示例: 查询玩家指定余额 playersByBalance
        • 示例: 查询总损失总结 getTotalLoss API
        • 示例: 转入 DEPOSIT API
        • 示例: 转出 WITHDRAW API
        • 示例: 查询玩家最后存款投注金额 betAmountSinceLastDeposit
        • 示例: 查询玩家投注总结 getSummaryBet
        • 示例: 投注记录 REPORT/BETS API
      • 免转钱包 SEAMLESS WALLET
      • 报表 REPORT API
        • Verify Transactions
        • Check Transaction
        • Order Link
        • Verify Transactions Summary
        • Detailed Betting report
      • CompletedDOC
        • 附录
          • 投注类型
      • Detailed Betting report
      • Verify Transactions Summary
      • Order Link
      • Check Transaction
      • Verify Transactions
  1. Flight Booking

Flight Offers Search

GET
/v2/shopping/flight-offers
The Flight Offers Search API allows to get cheapest flight recommendations and prices on a given journey. It provides a list of flight recommendations and fares from a given origin (city or airport), for a given date (or date range) and for a given list of passengers. Additional information such as bag allowance, first ancillary bag prices or fare details are also provided.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Query Params

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 '/v2/shopping/flight-offers?originLocationCode=SYD&destinationLocationCode=BKK&departureDate={{departureDate}}&returnDate={{returnDate}}&adults=2&max=5'

Responses

🟢200Flight Offers Search
application/json
Body

Example
{
    "meta": {
        "count": 5,
        "links": {
            "self": "https://test.api.amadeus.com/v2/shopping/flight-offers?originLocationCode=SYD&destinationLocationCode=BKK&adults=2&max=5&departureDate=2024-07-16&returnDate=2024-07-30"
        }
    },
    "data": [
        {
            "type": "flight-offer",
            "id": "1",
            "source": "GDS",
            "instantTicketingRequired": false,
            "nonHomogeneous": false,
            "oneWay": false,
            "lastTicketingDate": "2024-07-16",
            "lastTicketingDateTime": "2024-07-16",
            "numberOfBookableSeats": 3,
            "itineraries": [
                {
                    "duration": "PT14H15M",
                    "segments": [
                        {
                            "departure": {
                                "iataCode": "SYD",
                                "terminal": "1",
                                "at": "2024-07-16T11:35:00"
                            },
                            "arrival": {
                                "iataCode": "MNL",
                                "terminal": "1",
                                "at": "2024-07-16T16:50:00"
                            },
                            "carrierCode": "PR",
                            "number": "212",
                            "aircraft": {
                                "code": "333"
                            },
                            "operating": {
                                "carrierCode": "PR"
                            },
                            "duration": "PT8H15M",
                            "id": "5",
                            "numberOfStops": 0,
                            "blacklistedInEU": false
                        },
                        {
                            "departure": {
                                "iataCode": "MNL",
                                "terminal": "1",
                                "at": "2024-07-16T19:20:00"
                            },
                            "arrival": {
                                "iataCode": "BKK",
                                "at": "2024-07-16T21:50:00"
                            },
                            "carrierCode": "PR",
                            "number": "732",
                            "aircraft": {
                                "code": "321"
                            },
                            "operating": {
                                "carrierCode": "PR"
                            },
                            "duration": "PT3H30M",
                            "id": "6",
                            "numberOfStops": 0,
                            "blacklistedInEU": false
                        }
                    ]
                },
                {
                    "duration": "PT16H15M",
                    "segments": [
                        {
                            "departure": {
                                "iataCode": "BKK",
                                "at": "2024-07-30T13:30:00"
                            },
                            "arrival": {
                                "iataCode": "MNL",
                                "terminal": "1",
                                "at": "2024-07-30T18:00:00"
                            },
                            "carrierCode": "PR",
                            "number": "731",
                            "aircraft": {
                                "code": "333"
                            },
                            "operating": {
                                "carrierCode": "PR"
                            },
                            "duration": "PT3H30M",
                            "id": "9",
                            "numberOfStops": 0,
                            "blacklistedInEU": false
                        },
                        {
                            "departure": {
                                "iataCode": "MNL",
                                "terminal": "1",
                                "at": "2024-07-30T22:10:00"
                            },
                            "arrival": {
                                "iataCode": "SYD",
                                "terminal": "1",
                                "at": "2024-07-31T09:45:00"
                            },
                            "carrierCode": "PR",
                            "number": "211",
                            "aircraft": {
                                "code": "333"
                            },
                            "operating": {
                                "carrierCode": "PR"
                            },
                            "duration": "PT8H35M",
                            "id": "10",
                            "numberOfStops": 0,
                            "blacklistedInEU": false
                        }
                    ]
                }
            ],
            "price": {
                "currency": "EUR",
                "total": "1002.64",
                "base": "606.00",
                "fees": [
                    {
                        "amount": "0.00",
                        "type": "SUPPLIER"
                    },
                    {
                        "amount": "0.00",
                        "type": "TICKETING"
                    }
                ],
                "grandTotal": "1002.64"
            },
            "pricingOptions": {
                "fareType": [
                    "PUBLISHED"
                ],
                "includedCheckedBagsOnly": true
            },
            "validatingAirlineCodes": [
                "PR"
            ],
            "travelerPricings": [
                {
                    "travelerId": "1",
                    "fareOption": "STANDARD",
                    "travelerType": "ADULT",
                    "price": {
                        "currency": "EUR",
                        "total": "501.32",
                        "base": "303.00"
                    },
                    "fareDetailsBySegment": [
                        {
                            "segmentId": "5",
                            "cabin": "ECONOMY",
                            "fareBasis": "TBAU",
                            "class": "T",
                            "includedCheckedBags": {
                                "weight": 30,
                                "weightUnit": "KG"
                            }
                        },
                        {
                            "segmentId": "6",
                            "cabin": "ECONOMY",
                            "fareBasis": "TBAU",
                            "class": "T",
                            "includedCheckedBags": {
                                "weight": 30,
                                "weightUnit": "KG"
                            }
                        },
                        {
                            "segmentId": "9",
                            "cabin": "ECONOMY",
                            "fareBasis": "TBAU",
                            "class": "T",
                            "includedCheckedBags": {
                                "weight": 30,
                                "weightUnit": "KG"
                            }
                        },
                        {
                            "segmentId": "10",
                            "cabin": "ECONOMY",
                            "fareBasis": "TBAU",
                            "class": "T",
                            "includedCheckedBags": {
                                "weight": 30,
                                "weightUnit": "KG"
                            }
                        }
                    ]
                },
                {
                    "travelerId": "2",
                    "fareOption": "STANDARD",
                    "travelerType": "ADULT",
                    "price": {
                        "currency": "EUR",
                        "total": "501.32",
                        "base": "303.00"
                    },
                    "fareDetailsBySegment": [
                        {
                            "segmentId": "5",
                            "cabin": "ECONOMY",
                            "fareBasis": "TBAU",
                            "class": "T",
                            "includedCheckedBags": {
                                "weight": 30,
                                "weightUnit": "KG"
                            }
                        },
                        {
                            "segmentId": "6",
                            "cabin": "ECONOMY",
                            "fareBasis": "TBAU",
                            "class": "T",
                            "includedCheckedBags": {
                                "weight": 30,
                                "weightUnit": "KG"
                            }
                        },
                        {
                            "segmentId": "9",
                            "cabin": "ECONOMY",
                            "fareBasis": "TBAU",
                            "class": "T",
                            "includedCheckedBags": {
                                "weight": 30,
                                "weightUnit": "KG"
                            }
                        },
                        {
                            "segmentId": "10",
                            "cabin": "ECONOMY",
                            "fareBasis": "TBAU",
                            "class": "T",
                            "includedCheckedBags": {
                                "weight": 30,
                                "weightUnit": "KG"
                            }
                        }
                    ]
                }
            ]
        },
        {
            "type": "flight-offer",
            "id": "2",
            "source": "GDS",
            "instantTicketingRequired": false,
            "nonHomogeneous": false,
            "oneWay": false,
            "lastTicketingDate": "2024-07-16",
            "lastTicketingDateTime": "2024-07-16",
            "numberOfBookableSeats": 3,
            "itineraries": [
                {
                    "duration": "PT14H15M",
                    "segments": [
                        {
                            "departure": {
                                "iataCode": "SYD",
                                "terminal": "1",
                                "at": "2024-07-16T11:35:00"
                            },
                            "arrival": {
                                "iataCode": "MNL",
                                "terminal": "1",
                                "at": "2024-07-16T16:50:00"
                            },
                            "carrierCode": "PR",
                            "number": "212",
                            "aircraft": {
                                "code": "333"
                            },
                            "operating": {
                                "carrierCode": "PR"
                            },
                            "duration": "PT8H15M",
                            "id": "5",
                            "numberOfStops": 0,
                            "blacklistedInEU": false
                        },
                        {
                            "departure": {
                                "iataCode": "MNL",
                                "terminal": "1",
                                "at": "2024-07-16T19:20:00"
                            },
                            "arrival": {
                                "iataCode": "BKK",
                                "at": "2024-07-16T21:50:00"
                            },
                            "carrierCode": "PR",
                            "number": "732",
                            "aircraft": {
                                "code": "321"
                            },
                            "operating": {
                                "carrierCode": "PR"
                            },
                            "duration": "PT3H30M",
                            "id": "6",
                            "numberOfStops": 0,
                            "blacklistedInEU": false
                        }
                    ]
                },
                {
                    "duration": "PT28H15M",
                    "segments": [
                        {
                            "departure": {
                                "iataCode": "BKK",
                                "at": "2024-07-30T01:30:00"
                            },
                            "arrival": {
                                "iataCode": "MNL",
                                "terminal": "1",
                                "at": "2024-07-30T05:45:00"
                            },
                            "carrierCode": "PR",
                            "number": "741",
                            "aircraft": {
                                "code": "321"
                            },
                            "operating": {
                                "carrierCode": "PR"
                            },
                            "duration": "PT3H15M",
                            "id": "11",
                            "numberOfStops": 0,
                            "blacklistedInEU": false
                        },
                        {
                            "departure": {
                                "iataCode": "MNL",
                                "terminal": "1",
                                "at": "2024-07-30T22:10:00"
                            },
                            "arrival": {
                                "iataCode": "SYD",
                                "terminal": "1",
                                "at": "2024-07-31T09:45:00"
                            },
                            "carrierCode": "PR",
                            "number": "211",
                            "aircraft": {
                                "code": "333"
                            },
                            "operating": {
                                "carrierCode": "PR"
                            },
                            "duration": "PT8H35M",
                            "id": "12",
                            "numberOfStops": 0,
                            "blacklistedInEU": false
                        }
                    ]
                }
            ],
            "price": {
                "currency": "EUR",
                "total": "1062.64",
                "base": "666.00",
                "fees": [
                    {
                        "amount": "0.00",
                        "type": "SUPPLIER"
                    },
                    {
                        "amount": "0.00",
                        "type": "TICKETING"
                    }
                ],
                "grandTotal": "1062.64"
            },
            "pricingOptions": {
                "fareType": [
                    "PUBLISHED"
                ],
                "includedCheckedBagsOnly": true
            },
            "validatingAirlineCodes": [
                "PR"
            ],
            "travelerPricings": [
                {
                    "travelerId": "1",
                    "fareOption": "STANDARD",
                    "travelerType": "ADULT",
                    "price": {
                        "currency": "EUR",
                        "total": "531.32",
                        "base": "333.00"
                    },
                    "fareDetailsBySegment": [
                        {
                            "segmentId": "5",
                            "cabin": "ECONOMY",
                            "fareBasis": "TBAU",
                            "class": "T",
                            "includedCheckedBags": {
                                "weight": 30,
                                "weightUnit": "KG"
                            }
                        },
                        {
                            "segmentId": "6",
                            "cabin": "ECONOMY",
                            "fareBasis": "TBAU",
                            "class": "T",
                            "includedCheckedBags": {
                                "weight": 30,
                                "weightUnit": "KG"
                            }
                        },
                        {
                            "segmentId": "11",
                            "cabin": "ECONOMY",
                            "fareBasis": "EBAU",
                            "class": "E",
                            "includedCheckedBags": {
                                "weight": 30,
                                "weightUnit": "KG"
                            }
                        },
                        {
                            "segmentId": "12",
                            "cabin": "ECONOMY",
                            "fareBasis": "EBAU",
                            "class": "E",
                            "includedCheckedBags": {
                                "weight": 30,
                                "weightUnit": "KG"
                            }
                        }
                    ]
                },
                {
                    "travelerId": "2",
                    "fareOption": "STANDARD",
                    "travelerType": "ADULT",
                    "price": {
                        "currency": "EUR",
                        "total": "531.32",
                        "base": "333.00"
                    },
                    "fareDetailsBySegment": [
                        {
                            "segmentId": "5",
                            "cabin": "ECONOMY",
                            "fareBasis": "TBAU",
                            "class": "T",
                            "includedCheckedBags": {
                                "weight": 30,
                                "weightUnit": "KG"
                            }
                        },
                        {
                            "segmentId": "6",
                            "cabin": "ECONOMY",
                            "fareBasis": "TBAU",
                            "class": "T",
                            "includedCheckedBags": {
                                "weight": 30,
                                "weightUnit": "KG"
                            }
                        },
                        {
                            "segmentId": "11",
                            "cabin": "ECONOMY",
                            "fareBasis": "EBAU",
                            "class": "E",
                            "includedCheckedBags": {
                                "weight": 30,
                                "weightUnit": "KG"
                            }
                        },
                        {
                            "segmentId": "12",
                            "cabin": "ECONOMY",
                            "fareBasis": "EBAU",
                            "class": "E",
                            "includedCheckedBags": {
                                "weight": 30,
                                "weightUnit": "KG"
                            }
                        }
                    ]
                }
            ]
        },
        {
            "type": "flight-offer",
            "id": "3",
            "source": "GDS",
            "instantTicketingRequired": false,
            "nonHomogeneous": false,
            "oneWay": false,
            "lastTicketingDate": "2024-03-22",
            "lastTicketingDateTime": "2024-03-22",
            "numberOfBookableSeats": 9,
            "itineraries": [
                {
                    "duration": "PT16H5M",
                    "segments": [
                        {
                            "departure": {
                                "iataCode": "SYD",
                                "terminal": "1",
                                "at": "2024-07-16T20:45:00"
                            },
                            "arrival": {
                                "iataCode": "SIN",
                                "terminal": "1",
                                "at": "2024-07-17T03:10:00"
                            },
                            "carrierCode": "TR",
                            "number": "13",
                            "aircraft": {
                                "code": "789"
                            },
                            "operating": {
                                "carrierCode": "TR"
                            },
                            "duration": "PT8H25M",
                            "id": "3",
                            "numberOfStops": 0,
                            "blacklistedInEU": false
                        },
                        {
                            "departure": {
                                "iataCode": "SIN",
                                "terminal": "1",
                                "at": "2024-07-17T08:20:00"
                            },
                            "arrival": {
                                "iataCode": "BKK",
                                "at": "2024-07-17T09:50:00"
                            },
                            "carrierCode": "TR",
                            "number": "624",
                            "aircraft": {
                                "code": "32Q"
                            },
                            "operating": {
                                "carrierCode": "TR"
                            },
                            "duration": "PT2H30M",
                            "id": "4",
                            "numberOfStops": 0,
                            "blacklistedInEU": false
                        }
                    ]
                },
                {
                    "duration": "PT21H45M",
                    "segments": [
                        {
                            "departure": {
                                "iataCode": "BKK",
                                "at": "2024-07-30T10:50:00"
                            },
                            "arrival": {
                                "iataCode": "SIN",
                                "terminal": "1",
                                "at": "2024-07-30T14:15:00"
                            },
                            "carrierCode": "TR",
                            "number": "625",
                            "aircraft": {
                                "code": "32Q"
                            },
                            "operating": {
                                "carrierCode": "TR"
                            },
                            "duration": "PT2H25M",
                            "id": "13",
                            "numberOfStops": 0,
                            "blacklistedInEU": false
                        },
                        {
                            "departure": {
                                "iataCode": "SIN",
                                "terminal": "1",
                                "at": "2024-07-31T02:00:00"
                            },
                            "arrival": {
                                "iataCode": "SYD",
                                "terminal": "1",
                                "at": "2024-07-31T11:35:00"
                            },
                            "carrierCode": "TR",
                            "number": "2",
                            "aircraft": {
                                "code": "789"
                            },
                            "operating": {
                                "carrierCode": "TR"
                            },
                            "duration": "PT7H35M",
                            "id": "14",
                            "numberOfStops": 0,
                            "blacklistedInEU": false
                        }
                    ]
                }
            ],
            "price": {
                "currency": "EUR",
                "total": "1106.76",
                "base": "724.00",
                "fees": [
                    {
                        "amount": "0.00",
                        "type": "SUPPLIER"
                    },
                    {
                        "amount": "0.00",
                        "type": "TICKETING"
                    }
                ],
                "grandTotal": "1106.76"
            },
            "pricingOptions": {
                "fareType": [
                    "PUBLISHED"
                ],
                "includedCheckedBagsOnly": true
            },
            "validatingAirlineCodes": [
                "SQ"
            ],
            "travelerPricings": [
                {
                    "travelerId": "1",
                    "fareOption": "STANDARD",
                    "travelerType": "ADULT",
                    "price": {
                        "currency": "EUR",
                        "total": "553.38",
                        "base": "362.00"
                    },
                    "fareDetailsBySegment": [
                        {
                            "segmentId": "3",
                            "cabin": "ECONOMY",
                            "fareBasis": "O2TR24",
                            "class": "O",
                            "includedCheckedBags": {
                                "weight": 30,
                                "weightUnit": "KG"
                            }
                        },
                        {
                            "segmentId": "4",
                            "cabin": "ECONOMY",
                            "fareBasis": "N2TR24",
                            "class": "N",
                            "includedCheckedBags": {
                                "weight": 30,
                                "weightUnit": "KG"
                            }
                        },
                        {
                            "segmentId": "13",
                            "cabin": "ECONOMY",
                            "fareBasis": "X2TR24",
                            "class": "X",
                            "includedCheckedBags": {
                                "weight": 30,
                                "weightUnit": "KG"
                            }
                        },
                        {
                            "segmentId": "14",
                            "cabin": "ECONOMY",
                            "fareBasis": "X2TR24",
                            "class": "X",
                            "includedCheckedBags": {
                                "weight": 30,
                                "weightUnit": "KG"
                            }
                        }
                    ]
                },
                {
                    "travelerId": "2",
                    "fareOption": "STANDARD",
                    "travelerType": "ADULT",
                    "price": {
                        "currency": "EUR",
                        "total": "553.38",
                        "base": "362.00"
                    },
                    "fareDetailsBySegment": [
                        {
                            "segmentId": "3",
                            "cabin": "ECONOMY",
                            "fareBasis": "O2TR24",
                            "class": "O",
                            "includedCheckedBags": {
                                "weight": 30,
                                "weightUnit": "KG"
                            }
                        },
                        {
                            "segmentId": "4",
                            "cabin": "ECONOMY",
                            "fareBasis": "N2TR24",
                            "class": "N",
                            "includedCheckedBags": {
                                "weight": 30,
                                "weightUnit": "KG"
                            }
                        },
                        {
                            "segmentId": "13",
                            "cabin": "ECONOMY",
                            "fareBasis": "X2TR24",
                            "class": "X",
                            "includedCheckedBags": {
                                "weight": 30,
                                "weightUnit": "KG"
                            }
                        },
                        {
                            "segmentId": "14",
                            "cabin": "ECONOMY",
                            "fareBasis": "X2TR24",
                            "class": "X",
                            "includedCheckedBags": {
                                "weight": 30,
                                "weightUnit": "KG"
                            }
                        }
                    ]
                }
            ]
        },
        {
            "type": "flight-offer",
            "id": "4",
            "source": "GDS",
            "instantTicketingRequired": false,
            "nonHomogeneous": false,
            "oneWay": false,
            "lastTicketingDate": "2024-03-22",
            "lastTicketingDateTime": "2024-03-22",
            "numberOfBookableSeats": 9,
            "itineraries": [
                {
                    "duration": "PT20H55M",
                    "segments": [
                        {
                            "departure": {
                                "iataCode": "SYD",
                                "terminal": "1",
                                "at": "2024-07-16T20:45:00"
                            },
                            "arrival": {
                                "iataCode": "SIN",
                                "terminal": "1",
                                "at": "2024-07-17T03:10:00"
                            },
                            "carrierCode": "TR",
                            "number": "13",
                            "aircraft": {
                                "code": "789"
                            },
                            "operating": {
                                "carrierCode": "TR"
                            },
                            "duration": "PT8H25M",
                            "id": "7",
                            "numberOfStops": 0,
                            "blacklistedInEU": false
                        },
                        {
                            "departure": {
                                "iataCode": "SIN",
                                "terminal": "1",
                                "at": "2024-07-17T13:10:00"
                            },
                            "arrival": {
                                "iataCode": "BKK",
                                "at": "2024-07-17T14:40:00"
                            },
                            "carrierCode": "TR",
                            "number": "604",
                            "aircraft": {
                                "code": "32Q"
                            },
                            "operating": {
                                "carrierCode": "TR"
                            },
                            "duration": "PT2H30M",
                            "id": "8",
                            "numberOfStops": 0,
                            "blacklistedInEU": false
                        }
                    ]
                },
                {
                    "duration": "PT21H45M",
                    "segments": [
                        {
                            "departure": {
                                "iataCode": "BKK",
                                "at": "2024-07-30T10:50:00"
                            },
                            "arrival": {
                                "iataCode": "SIN",
                                "terminal": "1",
                                "at": "2024-07-30T14:15:00"
                            },
                            "carrierCode": "TR",
                            "number": "625",
                            "aircraft": {
                                "code": "32Q"
                            },
                            "operating": {
                                "carrierCode": "TR"
                            },
                            "duration": "PT2H25M",
                            "id": "13",
                            "numberOfStops": 0,
                            "blacklistedInEU": false
                        },
                        {
                            "departure": {
                                "iataCode": "SIN",
                                "terminal": "1",
                                "at": "2024-07-31T02:00:00"
                            },
                            "arrival": {
                                "iataCode": "SYD",
                                "terminal": "1",
                                "at": "2024-07-31T11:35:00"
                            },
                            "carrierCode": "TR",
                            "number": "2",
                            "aircraft": {
                                "code": "789"
                            },
                            "operating": {
                                "carrierCode": "TR"
                            },
                            "duration": "PT7H35M",
                            "id": "14",
                            "numberOfStops": 0,
                            "blacklistedInEU": false
                        }
                    ]
                }
            ],
            "price": {
                "currency": "EUR",
                "total": "1106.76",
                "base": "724.00",
                "fees": [
                    {
                        "amount": "0.00",
                        "type": "SUPPLIER"
                    },
                    {
                        "amount": "0.00",
                        "type": "TICKETING"
                    }
                ],
                "grandTotal": "1106.76"
            },
            "pricingOptions": {
                "fareType": [
                    "PUBLISHED"
                ],
                "includedCheckedBagsOnly": true
            },
            "validatingAirlineCodes": [
                "SQ"
            ],
            "travelerPricings": [
                {
                    "travelerId": "1",
                    "fareOption": "STANDARD",
                    "travelerType": "ADULT",
                    "price": {
                        "currency": "EUR",
                        "total": "553.38",
                        "base": "362.00"
                    },
                    "fareDetailsBySegment": [
                        {
                            "segmentId": "7",
                            "cabin": "ECONOMY",
                            "fareBasis": "O2TR24",
                            "class": "O",
                            "includedCheckedBags": {
                                "weight": 30,
                                "weightUnit": "KG"
                            }
                        },
                        {
                            "segmentId": "8",
                            "cabin": "ECONOMY",
                            "fareBasis": "N2TR24",
                            "class": "N",
                            "includedCheckedBags": {
                                "weight": 30,
                                "weightUnit": "KG"
                            }
                        },
                        {
                            "segmentId": "13",
                            "cabin": "ECONOMY",
                            "fareBasis": "X2TR24",
                            "class": "X",
                            "includedCheckedBags": {
                                "weight": 30,
                                "weightUnit": "KG"
                            }
                        },
                        {
                            "segmentId": "14",
                            "cabin": "ECONOMY",
                            "fareBasis": "X2TR24",
                            "class": "X",
                            "includedCheckedBags": {
                                "weight": 30,
                                "weightUnit": "KG"
                            }
                        }
                    ]
                },
                {
                    "travelerId": "2",
                    "fareOption": "STANDARD",
                    "travelerType": "ADULT",
                    "price": {
                        "currency": "EUR",
                        "total": "553.38",
                        "base": "362.00"
                    },
                    "fareDetailsBySegment": [
                        {
                            "segmentId": "7",
                            "cabin": "ECONOMY",
                            "fareBasis": "O2TR24",
                            "class": "O",
                            "includedCheckedBags": {
                                "weight": 30,
                                "weightUnit": "KG"
                            }
                        },
                        {
                            "segmentId": "8",
                            "cabin": "ECONOMY",
                            "fareBasis": "N2TR24",
                            "class": "N",
                            "includedCheckedBags": {
                                "weight": 30,
                                "weightUnit": "KG"
                            }
                        },
                        {
                            "segmentId": "13",
                            "cabin": "ECONOMY",
                            "fareBasis": "X2TR24",
                            "class": "X",
                            "includedCheckedBags": {
                                "weight": 30,
                                "weightUnit": "KG"
                            }
                        },
                        {
                            "segmentId": "14",
                            "cabin": "ECONOMY",
                            "fareBasis": "X2TR24",
                            "class": "X",
                            "includedCheckedBags": {
                                "weight": 30,
                                "weightUnit": "KG"
                            }
                        }
                    ]
                }
            ]
        },
        {
            "type": "flight-offer",
            "id": "5",
            "source": "GDS",
            "instantTicketingRequired": false,
            "nonHomogeneous": false,
            "oneWay": false,
            "lastTicketingDate": "2024-03-22",
            "lastTicketingDateTime": "2024-03-22",
            "numberOfBookableSeats": 9,
            "itineraries": [
                {
                    "duration": "PT23H",
                    "segments": [
                        {
                            "departure": {
                                "iataCode": "SYD",
                                "terminal": "1",
                                "at": "2024-07-16T20:45:00"
                            },
                            "arrival": {
                                "iataCode": "SIN",
                                "terminal": "1",
                                "at": "2024-07-17T03:10:00"
                            },
                            "carrierCode": "TR",
                            "number": "13",
                            "aircraft": {
                                "code": "789"
                            },
                            "operating": {
                                "carrierCode": "TR"
                            },
                            "duration": "PT8H25M",
                            "id": "1",
                            "numberOfStops": 0,
                            "blacklistedInEU": false
                        },
                        {
                            "departure": {
                                "iataCode": "SIN",
                                "terminal": "1",
                                "at": "2024-07-17T15:25:00"
                            },
                            "arrival": {
                                "iataCode": "BKK",
                                "at": "2024-07-17T16:45:00"
                            },
                            "carrierCode": "TR",
                            "number": "610",
                            "aircraft": {
                                "code": "789"
                            },
                            "operating": {
                                "carrierCode": "TR"
                            },
                            "duration": "PT2H20M",
                            "id": "2",
                            "numberOfStops": 0,
                            "blacklistedInEU": false
                        }
                    ]
                },
                {
                    "duration": "PT21H45M",
                    "segments": [
                        {
                            "departure": {
                                "iataCode": "BKK",
                                "at": "2024-07-30T10:50:00"
                            },
                            "arrival": {
                                "iataCode": "SIN",
                                "terminal": "1",
                                "at": "2024-07-30T14:15:00"
                            },
                            "carrierCode": "TR",
                            "number": "625",
                            "aircraft": {
                                "code": "32Q"
                            },
                            "operating": {
                                "carrierCode": "TR"
                            },
                            "duration": "PT2H25M",
                            "id": "13",
                            "numberOfStops": 0,
                            "blacklistedInEU": false
                        },
                        {
                            "departure": {
                                "iataCode": "SIN",
                                "terminal": "1",
                                "at": "2024-07-31T02:00:00"
                            },
                            "arrival": {
                                "iataCode": "SYD",
                                "terminal": "1",
                                "at": "2024-07-31T11:35:00"
                            },
                            "carrierCode": "TR",
                            "number": "2",
                            "aircraft": {
                                "code": "789"
                            },
                            "operating": {
                                "carrierCode": "TR"
                            },
                            "duration": "PT7H35M",
                            "id": "14",
                            "numberOfStops": 0,
                            "blacklistedInEU": false
                        }
                    ]
                }
            ],
            "price": {
                "currency": "EUR",
                "total": "1106.76",
                "base": "724.00",
                "fees": [
                    {
                        "amount": "0.00",
                        "type": "SUPPLIER"
                    },
                    {
                        "amount": "0.00",
                        "type": "TICKETING"
                    }
                ],
                "grandTotal": "1106.76"
            },
            "pricingOptions": {
                "fareType": [
                    "PUBLISHED"
                ],
                "includedCheckedBagsOnly": true
            },
            "validatingAirlineCodes": [
                "SQ"
            ],
            "travelerPricings": [
                {
                    "travelerId": "1",
                    "fareOption": "STANDARD",
                    "travelerType": "ADULT",
                    "price": {
                        "currency": "EUR",
                        "total": "553.38",
                        "base": "362.00"
                    },
                    "fareDetailsBySegment": [
                        {
                            "segmentId": "1",
                            "cabin": "ECONOMY",
                            "fareBasis": "O2TR24",
                            "class": "O",
                            "includedCheckedBags": {
                                "weight": 30,
                                "weightUnit": "KG"
                            }
                        },
                        {
                            "segmentId": "2",
                            "cabin": "ECONOMY",
                            "fareBasis": "N2TR24",
                            "class": "N",
                            "includedCheckedBags": {
                                "weight": 30,
                                "weightUnit": "KG"
                            }
                        },
                        {
                            "segmentId": "13",
                            "cabin": "ECONOMY",
                            "fareBasis": "X2TR24",
                            "class": "X",
                            "includedCheckedBags": {
                                "weight": 30,
                                "weightUnit": "KG"
                            }
                        },
                        {
                            "segmentId": "14",
                            "cabin": "ECONOMY",
                            "fareBasis": "X2TR24",
                            "class": "X",
                            "includedCheckedBags": {
                                "weight": 30,
                                "weightUnit": "KG"
                            }
                        }
                    ]
                },
                {
                    "travelerId": "2",
                    "fareOption": "STANDARD",
                    "travelerType": "ADULT",
                    "price": {
                        "currency": "EUR",
                        "total": "553.38",
                        "base": "362.00"
                    },
                    "fareDetailsBySegment": [
                        {
                            "segmentId": "1",
                            "cabin": "ECONOMY",
                            "fareBasis": "O2TR24",
                            "class": "O",
                            "includedCheckedBags": {
                                "weight": 30,
                                "weightUnit": "KG"
                            }
                        },
                        {
                            "segmentId": "2",
                            "cabin": "ECONOMY",
                            "fareBasis": "N2TR24",
                            "class": "N",
                            "includedCheckedBags": {
                                "weight": 30,
                                "weightUnit": "KG"
                            }
                        },
                        {
                            "segmentId": "13",
                            "cabin": "ECONOMY",
                            "fareBasis": "X2TR24",
                            "class": "X",
                            "includedCheckedBags": {
                                "weight": 30,
                                "weightUnit": "KG"
                            }
                        },
                        {
                            "segmentId": "14",
                            "cabin": "ECONOMY",
                            "fareBasis": "X2TR24",
                            "class": "X",
                            "includedCheckedBags": {
                                "weight": 30,
                                "weightUnit": "KG"
                            }
                        }
                    ]
                }
            ]
        }
    ],
    "dictionaries": {
        "locations": {
            "BKK": {
                "cityCode": "BKK",
                "countryCode": "TH"
            },
            "SIN": {
                "cityCode": "SIN",
                "countryCode": "SG"
            },
            "MNL": {
                "cityCode": "MNL",
                "countryCode": "PH"
            },
            "SYD": {
                "cityCode": "SYD",
                "countryCode": "AU"
            }
        },
        "aircraft": {
            "321": "AIRBUS A321",
            "333": "AIRBUS A330-300",
            "789": "BOEING 787-9",
            "32Q": "AIRBUS A321NEO"
        },
        "currencies": {
            "EUR": "EURO"
        },
        "carriers": {
            "PR": "PHILIPPINE AIRLINES",
            "TR": "SCOOT"
        }
    }
}
Modified at 2024-12-25 01:05:35
Previous
Step 3: Flight Create Orders
Next
Flight Offers Search
Built with