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

VoidRequest

POST
/api/new/voidRequest.do
Calling voidRequest to request for ticket void. Void result will be notified through orderChangeInforming API.

Request

Header Params
Accept-Encoding
string 
required
Use gzip compression format
Default:
gzip, deflate, br
content-Type
string 
required
Response format
Default:
application/json
appKey
string 
required
User account
Default:
{{appKey}}
Body Params application/json
authentication
object 
User authentication
required
sign
string 
Signature
required
The encrypted string of appkey, appSecret and timestamp.Refer to Appendix I
timestamp
string 
Unix timestamp
required
measuring in Second
tktOrderNo
string 
Ticket order number
required
Match pattern:
^\d*$
partnerOrderNo
string 
Partner order number
optional
passengers
array[object (Refund passenger information) {4}] 
Passenger information for ticket void
required
paxId
string 
Passenger’s Id
required
name
string 
Passenger’s name
required
English capital LastName/FirstName Spaces”␣” are not permitted
birthday
string 
Passenger’s date of birth
optional
YYYY-MM-DD
Match pattern:
^\d{4}-\d{2}-\d{2}$
gender
enum<string> 
Passenger’s gender
optional
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
required
traceId can help locate problems when problems occur between partners and FR24.
code
string 
Status code
required
000000 means success, others mean failure.
message
string 
Error code message
required
processingTime
number 
Processing time
required
measuring in ms
data
object 
All the data returned according to the Request
optional
If code returns failure, data would be empty.
voidOrderNo
string 
Invalid order number
required
All the data returned according to the Request. If code returns failure, data would be empty.
tktOrderNo
string 
Ticket order number
optional
Traceability code, traceId can help locate problems when problems occur between partners and FR24.
voidOrderStatus
string 
Invalid order status
required
Status code 000000 means success, others mean failure.
Example
{
  "traceId": "NEWAPI2409191539120300939",
  "code": "000000",
  "message": "ok",
  "processingTime": 88637,
  "data": {
    "voidOrderNo": "17920438493908992",
    "voidOrderStatus": "36",
    "tktOrderNo": "17920456973815808"
  }
}
Modified at 2025-04-17 06:24:00
Previous
RefundConfirming
Built with