FR24 OpenAPI
  1. API Reference
FR24 OpenAPI
  • FR24_API_V2.0
    • Guides
      • API Work Flow
      • Introduction
      • Appendix
      • Version History
      • Error Code
    • API Reference
      • shopping
        POST
      • pricing
        POST
      • presaleAncillaryShopping
        POST
      • seatMap
        POST
      • booking
        POST
      • ticketing
        POST
      • orderChangeInforming
        POST
      • orderDetail
        POST
      • postsaleAncillaryShopping
        POST
      • ancillaryBooking
        POST
      • ancillaryPurchase
        POST
      • ancillaryOrderDetail
        POST
      • changeReshop
        POST
      • reissueRequest
        POST
      • refundRequest
        POST
      • refundConfirming
        POST
      • voidRequest
        POST
      • fileUpload
        POST
      • selectBalance
        POST
    • About us
      • API capability
      • Business Cooperation
      • Portal
  1. API Reference

ancillaryBooking

POST
/api/new/ancillaryBooking.do
The API is the Post-sales ancillary API. After the ticket booking, the API is called to book the ticket when need to add ancillary.
By calling AncillaryBooking API, partner could add extra ancillary products to an exist order.

Request

Header Params

Body Params application/json

Example
{
    "authentication" : {
        "sign" : "",
        "timestamp" : ""
    },
    "orderNo" : "",
    "partnerOrderNo" : "",
    "ancillary" : [
        {
            "paxId" : 1,
            "segmentIds" : [""],
            "auxId" : "",
            "quantity" : 1
        }
    ],
    "passengers" : [ 
        {
            "paxId" : "",
            "name" : ""
        }
    ],
    "segments" : [
        {
            "segmentId" : "1bd336d0305b04f9d59e9a2d1895034c",
            "duration" : 1234,
            "carrier" : "BA",
            "flightNo" : "1234",
            "codeShare" : false,
            "operatingtCarrier" : "BC",
            "operatingFlightNo" : "2222",
            "aircraftCode" : "",
            "depAirport" : "",
            "depTerminal" : "",
            "depTime" : "",
            "arrAirport" : "",
            "arrTerminal" : "",
            "arrTime" : "",
            "stopAirport" : ["",""],
            "stopDuration" : [1256,5678]
        }
    ]
}

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/ancillaryBooking.do' \
--header 'Accept-Encoding;' \
--header 'appKey;' \
--header 'content-Type: application/json' \
--data-raw '{
    "authentication" : {
        "sign" : "",
        "timestamp" : ""
    },
    "orderNo" : "",
    "partnerOrderNo" : "",
    "ancillary" : [
        {
            "paxId" : 1,
            "segmentIds" : [""],
            "auxId" : "",
            "quantity" : 1
        }
    ],
    "passengers" : [ 
        {
            "paxId" : "",
            "name" : ""
        }
    ],
    "segments" : [
        {
            "segmentId" : "1bd336d0305b04f9d59e9a2d1895034c",
            "duration" : 1234,
            "carrier" : "BA",
            "flightNo" : "1234",
            "codeShare" : false,
            "operatingtCarrier" : "BC",
            "operatingFlightNo" : "2222",
            "aircraftCode" : "",
            "depAirport" : "",
            "depTerminal" : "",
            "depTime" : "",
            "arrAirport" : "",
            "arrTerminal" : "",
            "arrTime" : "",
            "stopAirport" : ["",""],
            "stopDuration" : [1256,5678]
        }
    ]
}'

Responses

🟢200OK
application/json
Body

Example
{
    "traceId": "",
    "code": "",
    "message": "",
    "processingTime": "",
    "data": {
        "auxOrderNo": "",
        "auxOrderStatus": "",
        "partnerAuxOrderNo": "",
        "orderNo": "",
        "createTime": "",
        "currency": "",
        "totalPrice": "",
        "ancillary": {
            "baggage": [
                {
                    "paxId": 1,
                    "segmentIds": [
                        ""
                    ],
                    "auxId": "",
                    "totalPrice": 810,
                    "baseFare": 800,
                    "serviceFee": 10,
                    "size": " ",
                    "piece": 1,
                    "weight": 23,
                    "quantity": 1
                }
            ]
        },
        "passengers": [
            {
                "paxId": "",
                "name": ""
            }
        ],
        "segments": [
            {
                "segmentId": "1bd336d0305b04f9d59e9a2d1895034c",
                "duration": 1234,
                "carrier": "BA",
                "flightNo": "1234",
                "codeShare": false,
                "operatingtCarrier": "BC",
                "operatingFlightNo": "2222",
                "aircraftCode": "",
                "depAirport": "",
                "depTerminal": "",
                "depTime": "",
                "arrAirport": "",
                "arrTerminal": "",
                "arrTime": "",
                "stopAirport": [
                    "",
                    ""
                ],
                "stopDuration": [
                    1256,
                    5678
                ]
            }
        ],
        "payDeadline": ""
    }
}
Modified at 2025-06-12 09:40:02
Previous
postsaleAncillaryShopping
Next
ancillaryPurchase
Built with