FlightRoutes24 API(Purchaser)
  1. FR24_API_V1.1.0
FlightRoutes24 API(Purchaser)
  • FR24_API_V1.1.0
    • API Work Flow
    • Introduction
    • Appendix
    • 错误码
    • Error Code
    • Shopping
      POST
    • Pricing
      POST
    • PresaleAncillaryShopping
      POST
    • Booking
      POST
    • Ticketing
      POST
    • OrderDetail
      POST
    • PostsaleAncillaryShopping
      POST
    • AncillaryBooking
      POST
    • AncillaryPurchase
      POST
    • AncillaryOrderDetail
      POST
    • ChangeReshop
      POST
    • ReissueRequest
      POST
    • RefundRequest
      POST
    • RefundConfirming
      POST
    • VoidRequest
      POST
  1. FR24_API_V1.1.0

PresaleAncillaryShopping

POST
/api/new/presaleAncillaryShopping.do
Calling PresaleAncillaryShopping API to search for available pre-sales ancillary information.
Presale definition: Before order being created.

Request

Header Params

Body Params application/json

Example
{
    "authentication": {
        "sign": "{{sign}}",
        "timestamp": "{{timestamp}}"
    },
    "offerId": "17981626452283392"
}

Request Code 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 --request POST 'https://flight-test.flightroutes24.com/api/new/presaleAncillaryShopping.do' \
--header 'Accept-Encoding;' \
--header 'appKey;' \
--header 'content-Type: application/json' \
--data-raw '{
    "authentication": {
        "sign": "",
        "timestamp": ""
    },
    "offerId": "17981626452283392"
}'

Responses

🟢200OK
application/json
Body

Example
{
    "traceId": "preAuxQuery_NEWAPI24093010490849907704",
    "code": "000000",
    "message": "ok",
    "processingTime": 121,
    "data": {
        "currency": "USD",
        "auxes": [
            {
                "segmentIds": [
                    "cdabc75289fb9dcf917526324de0e878"
                ],
                "auxId": "ba956d7f02354134a442294275f232b0",
                "baseFare": 45.64,
                "serviceFee": 0,
                "size": "e",
                "piece": 1,
                "weight": 25,
                "limitPerPax": null,
                "availability": null
            },
            {
                "segmentIds": [
                    "cdabc75289fb9dcf917526324de0e878"
                ],
                "auxId": "0d5c31898edd43239380b15419d4a107",
                "baseFare": 36.65,
                "serviceFee": 0,
                "size": "e",
                "piece": 1,
                "weight": 20,
                "limitPerPax": null,
                "availability": null
            },
            {
                "segmentIds": [
                    "cdabc75289fb9dcf917526324de0e878"
                ],
                "auxId": "514215b21de544329241a5fcb30a6164",
                "baseFare": 66.84,
                "serviceFee": 0,
                "size": "e",
                "piece": 1,
                "weight": 30,
                "limitPerPax": null,
                "availability": null
            },
            {
                "segmentIds": [
                    "cdabc75289fb9dcf917526324de0e878"
                ],
                "auxId": "56f4fcf86a7f437fba60e6990014d576",
                "baseFare": 104.6,
                "serviceFee": 0,
                "size": "e",
                "piece": 1,
                "weight": 40,
                "limitPerPax": null,
                "availability": null
            }
        ],
        "segments": [
            {
                "segmentId": "cdabc75289fb9dcf917526324de0e878",
                "duration": 1492,
                "carrier": "FD",
                "flightNo": "8750",
                "codeShare": false,
                "operatingCarrier": "FD",
                "operatingFlightNo": "FD8750",
                "aircraftCode": "空客A300",
                "depAirport": "DMK",
                "depTerminal": "T1",
                "depTime": "2024-10-24T03:18",
                "arrAirport": "SIN",
                "arrTerminal": "T2",
                "arrTime": "2024-10-25T05:10",
                "stopAirport": null,
                "stopDuration": null
            }
        ]
    }
}
Modified at 2025-04-17 06:24:00
Previous
Pricing
Next
Booking
Built with