- FR24_API_V2.0
- Guides
- API Reference
- OrderChangeInforming
- ShoppingPOST
- PricingPOST
- BookingPOST
- TicketingPOST
- OrderDetailPOST
- PresaleAncillaryShoppingPOST
- PostsaleAncillaryShoppingPOST
- seatMapPOST
- AncillaryBookingPOST
- AncillaryPurchasePOST
- AncillaryOrderDetailPOST
- ChangeReshopPOST
- ReissueRequestPOST
- RefundRequestPOST
- RefundConfirmingPOST
- VoidRequestPOST
- FileUploadPOST
- SelectBalancePOST
- About us
AncillaryOrderDetail
POST
/api/new/ancillaryOrderDetail.do
Request
Header Params
Accept-Encoding
string
required
Default:
gzip, deflate, br
content-Type
string
required
Default:
application/json
appKey
string
required
Default:
{{appKey}}
Body Params application/json
authentication
object
User authentication
sign
string
Signature
timestamp
string
Unix timestamp
auxOrderNo
string
FR24 Ancillary order number
Match pattern:
^\d*$
partnerAuxOrderNo
string
Ancillary Order number of partner
Example
{
"authentication": {
"sign": "",
"timestamp": ""
},
"auxOrderNo": "",
"partnerOrderNo": ""
}
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 --request POST 'https://flight-test.flightroutes24.com/api/new/ancillaryOrderDetail.do' \
--header 'Accept-Encoding;' \
--header 'appKey;' \
--header 'content-Type: application/json' \
--data-raw '{
"authentication" : {
"sign" : "",
"timestamp" : ""
},
"auxOrderNo" : "",
"partnerOrderNo" : ""
}'
Responses
🟢200OK
application/json
Body
traceId
string
Traceability code
code
string
Status code
message
string
Error code message
processingTime
number
Processing time
>= 0
data
object (Ancillary booking response)
All the data returned according to the Request
auxOrderNo
string
Ancillary order number is independent of ticket order number
auxOrderStatus
string
Order status
partnerAuxOrderNo
string
Ancillary order id of partner
orderNo
string
Related ticket order number
createTime
string
Order creating time
currency
string
Currency
totalPrice
number
Total price of ancillary order
ancillary
object (Ancillary information)
Ancillary information
passengers
array [object {2}]
Passengers’ information
segments
array [object {16}]
Segments’ information
payDeadline
string
Payment deadline
Example
{
"traceId": "",
"code": "",
"message": "",
"processingTime": "",
"data": {
"auxOrderNo": "",
"orderStatus": "",
"partnerOrderNo": "",
"orderNo": "",
"createTime": "",
"currency": "",
"totalPrice": 810,
"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": "",
"operatingFlightNo": "",
"aircraftCode": "",
"depAirport": "",
"depTerminal": "",
"depTime": "",
"arrAirport": "",
"arrTerminal": "",
"arrTime": "",
"stopAirport": [
"",
""
],
"stopDuration": [
1256,
5678
]
}
],
"payDeadline": ""
}
}
Modified at 2024-11-27 10:51:22