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

Appendix

Sign Encryption example#

Output:
Before encrypt: 
test1234561671178033
After SHA-512 encrypt: 
99dbfae18aab459e0ca134a7eafdaa9efe83d3f4dcfd9d997b2797d055a69a5b65730cf88efdefd575503c12f61137e9764d8c37bc1213de1ad4ac22b32a09d0

AES Encryption example#

Output:
After encryption: 
MAIULqaKA2HCTHVh/iMemQ==
After decryption: 
MTNFR0123456 

Error Code#

Error CodeDescription
-1Request failed, please contact Tech Team
000000Success
1Request parameter is null
2cid is null
3flightType is invalid
4cityCode is invalid
5fromSegments is null
6retSegments is empty
7Request date is invalid
8Request parameter is null
11passengerName is null
12Request parameter is null
13orderNo is null
14pnrCode is null
15carrier is null
16flightNumber is null
17DepOrArrTime is invalid
18Passenger cardIssuedPlace or Nationality is invalid
19Passenger cardType is null
20Passenger cardNum is null
21Passenger genderType is invalid
22Passenger ageType is invalid
25The number of passengers is not verified (the total number of adults and children cannot be greater than 9, or the number of children cannot be greater than 2 times of the adult numbers
26cabin is null
27cabinGrade is null
28depAirport or arrAirport is null
29The carrier in the flightNumber does not match to the request
30Passenger cardExpired is invalid
31Passenger birthday is invalid
40Balance account not activated
41No CASH payment method
50Request parameters are invalid
51Please wait for manual processing
52The total price submitted does not match the total price of the order
53Request cid does not match order cid
54Ticketing request has been processing or completed
55Pay fail
56Account balance insufficient
57Wrong payment method chosen
58Repeated payment with balance
306Balance payment is disabled because you have unsettled amount. Please pay it off first.
70Query account balance info failed
71Parameter incorrect
72CID incorrect
73Parameter incorrect
301000Searching failed
301001Price verification abnormal
301002Booking failed
301003Pay verify abnormal
301004Pay abnormal
302000Incorrect parameters
302001Incorrect parameters
302002Incorrect parameters
302003Incorrect parameters
302004Incorrect passenger info
302005Incorrect parameters
302006Carrier incorrect
302007Incorrect parameters
302008Incorrect parameters
302009Incorrect parameters
302010Incorrect parameters
302011Incorrect parameters
302012Incorrect parameters
302013CID is null
302014Incorrect parameters
302015Incorrect parameters
302016Trip type does not match
302017Name of pax incorrect
302018Type of pax incorrect
302019Date of birthday of pax incorrect
302020Gender of pax incorrect
302021Wrong passenger card number parameters
302022Type of travel document incorrect
302023issued place of travel document incorrect
302024Expiry date of travel document incorrect
302025Nationality of pax incorrect
302026Infant ticket not supported
302027International student ticket not supported
302028Contact person incorrect
302029Name of contact incorrect
302030Incorrect parameters
302031Create order fail
302032Codeshare flight not supported
302033Flight change of interline not supported
302034Incorrect parameters
302035Incorrect parameters
302036Incorrect parameters
302037Incorrect parameters
302038Flight not available
302039Surname must be longer than 2 digits
302040Surname is null
302041Incorrect parameters
302042Incorrect parameters
302043flightType does not match the route
302044Incorrect parameters
302045Incorrect parameters
302046Verification failed
302047Verification failed
302048No has such city or airport
302049Request parameters do not conform to the JSON standard format
302050airportCode or cityCode is null
302051Incorrect parameters
302052No available seat for the booking class
302053If booking class is filled, you need to fill in booking class for all segments.
302054Only one-way/round-trip searching supported for China domestic trip.
302055Searching with Flight Number or Booking Class not supported for China domestic trip.
302056All Cabin Classes must be the same when searching with no flight numbers.
302057Flight numbers are mandatory fields when searching with Cabin Class.
302058Flight number needed for each segment when using flight number search.
302059Only Airport Codes supported for searching with Flight Numbers. City Codes not supported.
303000Out of working hours
303001Depature time too close
303002Flight info expired
303003L2b ratio exceeded
303004Price info abnormal
303005Price info abnormal
303006Price info abnormal
303007Abnormal order status
303008Abnormal order status
303009Abnormal order status
303009Abnormal order status
303010Verification abnormal
303011Abnormal data
303012Abnormal data
303013Abnormal data
303014Abnormal data
303015Abnormal data
303016Abnormal data
303017Abnormal data
303018Flight not available
303019Flight not available
303020Flight not available
303021Abnormal data
303022Departure time too close
303099Abnormal data blocked
303026Flight not available
303027Expired
303028Expired CID
303029Air-rail combination not supported
303030Abnormal data blocked
303031Abnormal order status
303032Abnormal order status
303033Nationality or issued place incorrect
303034Abnormal data blocked
303035Flight not available
303036You can only book flights of which departure time is within 1 year
304001Invalid parameter in request
304002Query fare rules failed
304003Query fare rules abnormal
304004Fare rules cannot be obtained. Please contact customer services for details.
305000Flight not available
305011Abnormal data
305022Abnormal data
305023Abnormal data
305024Flight not available
305025Abnormal data
305026Incorrect parameters
305027Travel document number repeated
305028Expiry date earlier than travel date
305029Expiry date incorrect
305030travel document info incorrect
305031Flight not available
305032The ticket issuing speed is not satisfactory or ticketDurationLevel value error
306010Abnormal data
306011No support for the airline flagship store
306012Flight not available
306020Flight not available
306021Flight not available
306030Incorrect parameters
306031Incorrect parameters
306032Type of pax incorrect
306040Incorrect parameters
306041Abnormal data
306042Abnormal data
306043Abnormal data
306044Abnormal data
306045Abnormal order status
306046Failed to query online MT vendors
306047Failed to query online MT vendors
306048This flight does not exist
306049Failed to query purchase basic information
306050Request currency does not match configured currency
306051No working hours for purchasers
307001Flight not available
307002Decryption failed
307003No value-added product offer
402005Flight not available
402006Data verification abnormal
402007Account suspended
402008Unauthorized access, if you need this, please contact tech team
402009Flight not available
402010Channel information acquisition exception
402011flight not available
900002Passenger's surname shall be no shorter than 2 letters. If a passenger's surname contains only 1 letter, please contact us for offline booking.
900003The number of adults must be greater than 0
900004Request passenger surname and given name cannot be empty
900005Request passenger ageType is incorrect
900006The total number of adults and children cannot be greater than 9
900007The number of children cannot be more than 2 times of adult number
900008Duplicated passengers travel documents numbers, please check
900009Passengers travel documents will be expired"
900010Passenger’s birthday is invalid"
900011Expiry date of travel document must be greater than 6 months prior to the travel date
900012Does not support Infant
402028According to airline's policy, the length of passenger name exceeded the limit. Please contact our customer service for reservation.
201001Price verification abnormal
201002Booking failed
202018Repeat order, return old order
202022Bred single navigation
202023The total external price is higher than the submitted total price
202026The parameters returned by the search are not valid
202033Currently no ticket
202034Currently no ticket
202037Repeat order
202047The latest invoice time of the order -1H is greater than the current local time of PCC
202054It is less than 2 hours before the latest time to issue tickets
202055Query order failed
202064The check price before the birth order becomes higher
202065Verify hit single failure blacklist
202069Search hit single failure blacklist
202071The airline hit its blacklist
202072Airlines blacklist filter after no conditional offer
202074This order request has been requested for many times, but no actual ticket has been issued. Please do not repeat the order
202075It is less than one hour before the latest ticketing time
202077No quotation after changing tank filter is allowed
202078The passenger has already generated an order in the system
202079The remaining retention time of this order is too short
208101The journey is suspected to have been abandoned and extended
208102Flight not available
208103Flight not available
208104Flight not available
208105Flight not available
208106Flight not available
208107Search exception
208108Flight not available
208109The flight schedule has been changed
101025Failed to quickly generate an order
101026Quick order return without price
101027Unable to determine the type of voyage
101028Quick order return without price or unable to determine the type of voyage
101051The name does not comply with the regulations of the airline
101052A baby must be matched with an adult; an adult can only be matched with an infant
101053Unsupported operation
102000There is no corresponding flight information
102016No available shipping space
102032The supplier did not return to the issuing airline
102033The PNR of the supplier's application for invoice return is inconsistent
102034The available seats are smaller than the number of passengers
102036Generate order return suspected add stage abandon process
102037Short position
103000Flight not available
103001Validation interface returns an error
103002Booking is failed
103003Error checking interface before payment
103004Error issuing interface return

Intellectual Property Declaration#

Date of Publication: 2023.8.29
The copyright of all contents on the websites of Flightroutes24 and its affiliates, including but not limited to text, images, graphics, tables, animations, programs, software, data, and so forth, shall be enjoyed by Flightroutes24 and its affiliate individually or collectively.
Flightroutes24 enjoys the intellectual property rights with regard to all of its products, technologies, and programs. The terms "Hang Lu", "Flightroutes24", "Flightroutes24.com" and other associated designs and logos are referred to the registered trademarks of Flightroutes24.
Without Flightroutes24's prior approval, conducting address scanning, network port scanning, operating system probing, and any other form of infringement behavior is prohibited on Flightroutes24's website and system.
Utilizing any of Flightroutes24's intellectual property rights without its prior consent is forbidden, which includes but is not limited to copying, monitoring, disseminating, displaying, mirroring, uploading, downloading, duplicating, citing, and linking all or a portion of the website's content illegally, otherwise, Flightroutes24 and its affiliates reserve the right to pursue the legal responsibilities of the infringers.
Modified at 2024-10-14 08:50:01
Previous
Introduction
Next
错误码
Built with