- FR24_API_V1.1.0
- API Work Flow
- Introduction
- Appendix
- 错误码
- Error Code
- ShoppingPOST
- PricingPOST
- PresaleAncillaryShoppingPOST
- BookingPOST
- TicketingPOST
- OrderDetailPOST
- PostsaleAncillaryShoppingPOST
- AncillaryBookingPOST
- AncillaryPurchasePOST
- AncillaryOrderDetailPOST
- ChangeReshopPOST
- ReissueRequestPOST
- RefundRequestPOST
- RefundConfirmingPOST
- VoidRequestPOST
VoidRequest
POST
/api/new/voidRequest.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
tktOrderNo
string
Ticket order number
Match pattern:
^\d*$
partnerOrderNo
string
Partner order number
passengers
array[object (Refund passenger information) {4}]
Passenger information for ticket void
paxId
string
Passenger’s Id
name
string
Passenger’s name
birthday
string
Passenger’s date of birth
Match pattern:
^\d{4}-\d{2}-\d{2}$
gender
enum<string>
Passenger’s gender
Allowed values:
FM
Example
{
"authentication": {
"sign": "{{sign}}",
"timestamp": "{{timestamp}}"
},
"tktOrderNo": "17920456973815808",
"partnerOrderNo": "",
"passengers": [
{
"paxId": "1",
"name": "YGVU/ZTMII",
"birthday": "1981-07-21",
"gender": "M"
}
]
}
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/voidRequest.do' \
--header 'Accept-Encoding;' \
--header 'appKey;' \
--header 'content-Type: application/json' \
--data-raw '{
"authentication": {
"sign": "",
"timestamp": ""
},
"tktOrderNo": "17920456973815808",
"partnerOrderNo": "",
"passengers": [
{
"paxId": "1",
"name": "YGVU/ZTMII",
"birthday": "1981-07-21",
"gender": "M"
}
]
}'
Responses
🟢200OK
application/json
Body
traceId
string
Traceability code
code
string
Status code
message
string
Error code message
processingTime
number
Processing time
data
object
All the data returned according to the Request
voidOrderNo
string
Invalid order number
tktOrderNo
string
Ticket order number
voidOrderStatus
string
Invalid order status
Example
{
"traceId": "NEWAPI2409191539120300939",
"code": "000000",
"message": "ok",
"processingTime": 88637,
"data": {
"voidOrderNo": "17920438493908992",
"voidOrderStatus": "36",
"tktOrderNo": "17920456973815808"
}
}
Modified at 2025-04-17 06:24:00