1. PreciseBooking
PKFARE Flight Buyer API
  • Guides
    • Quick Start
    • Tricks for Playing with PKFARE API
    • Book air tickets with ancillaries
    • Raise refund requests
    • Raise change requests
    • Receive flight rescheduled notification
    • Add Paid Bags after the Booking
    • Branded Fare Integration Guide
  • API Reference
    • Air ticket booking APIs
      • TicketIssuanceNotify_V2
      • Shopping V10
      • PrecisePricing V12
      • Penalty V4
      • PreciseBooking V8
      • CancelOrder
      • OrderPricing V6
      • Ticketing
      • OrderDetail V14
      • RequestTicketing
      • ModifyOrderStatus
    • Ancillary booking APIs
      • AncillaryStatusPush
      • AncillaryPricing V6
      • AncillaryBooking
      • CancelAncillaryOrder
      • AncillaryTicketing
      • AncillaryOrderDetail
    • Flight schedule change APIs
      • ScheduleChangeNotify
      • GetScheduleChangeReply
      • GetScheduleChangeList
      • AcknowledgeScheduleChange
      • AcceptScheduleChange
    • Refund APIs
      • RefundResultNotify
      • ReimbursedResultNotify
      • Refund Pricing
      • CheckRefundPricing
      • RefundRequest
      • CheckRefund
      • CheckReimbursed
      • DownloadAttachmentFile API
      • UploadAttachmentFile API
    • Change APIs
      • ChangeResultPush
      • Change Reshop
      • Change Request
      • Change Passenger Info
      • Change Reprice
      • ChangeRepricePush
    • Void APIs
      • ReimbursedResultPush
      • VoidRequest
    • Cache APIs
      • CacheShopping
      • ValidateItinerary API
    • APIs with all versions
      • CheckInInfoPush
      • Raise change requests Copy
      • Shopping
        • Shopping
        • Shopping_V2
        • Shopping_V4
        • Shopping V7
        • Shopping V9
        • Shopping V8
      • PrecisePricing
        • PrecisePricing
        • PrecisePricing_V2
        • PrecisePricing_V6
        • PrecisePricing V9
        • PrecisePricing V10
        • PrecisePricing V11
      • Penalty
        • Penalty
        • Penalty V2
        • Penalty V3
      • PreciseBooking
        • PreciseBooking
        • PreciseBooking_V2
        • PreciseBooking_V5
        • PreciseBooking V6
          POST
        • PreciseBooking V7
          POST
      • OrderPricing
        • OrderPricing_V2
        • OrderPricing V4
        • OrderPricing V5
      • Ticketing
        • Ticketing
      • TicketNumPush
        • TicketingNumPush
        • TicketingNumPush_V2
        • TicketingNumPush_V3
        • TicketIssuanceNotify
      • CancelOrder
        • CancelOrder
      • OrderDetail
        • OrderDetail_V2
        • OrderDetail_V3
        • OrderDetail_V4
        • OrderDetail_V5
        • Json_OrderDetail_V7
        • Json_OrderDetail_V8
        • OrderDetail V9
        • OrderDetail V13
      • AncillaryPricing
        • AncillaryPricing
        • AncillaryPricing V5
      • AncillaryBooking
        • AncillaryBooking
      • CancelAncillaryOrder
        • CancelAncillaryOrder
      • AncillaryTicketing
        • AncillaryTicketing_V2
      • AncillaryStatusPush
        • AncillaryStatusPush
      • AncillaryOrderDetail
        • AncillaryOrderDetail
      • RequestTicketing
        • RequestTicketing
      • ScheduleChangeNotify
        • ScheduleChangeNotify
      • GetScheduleChangeList
        • GetScheduleChangeList
      • AcknowledgeScheduleChange
        • AcknowledgeScheduleChange
      • AcceptScheduleChange
        • AcceptScheduleChange
      • GetScheduleChangeReply
        • GetScheduleChangeReply
      • RefundPricing
        • RefundPricing
      • CheckRefundPricing
        • CheckRefundPricing
      • RefundRequest
        • RefundRequest
      • RefundResultNotify
        • RefundResultNotify
      • CheckRefund
        • CheckRefund
      • ReimbursedResultNotify
        • ReimbursedResultNotify
      • CheckReimbursed
        • CheckReimbursed
      • UploadAttachmentFile
        • UploadAttachmentFile
      • DownloadAttachmentFile
        • DownloadAttachmentFile
      • ChangeReshop
        • ChangeReshop
      • ChangeRequest
        • ChangeRequest
      • ChangePassengerInfo
        • ChangePassengerInfo
      • VoidRequest
        • VoidRequest
        • VoidRequest_V2
      • ReimbursedResultPush
        • ReimburseResultPush_V2
  • Development Instructions
    • Signature
    • Order Status Explanation
    • Booking errors explanation and suggestions
    • Price Breakdown Explanation
    • Airlines available from PKFARE
    • PKFARE Operation Notice
    • How to retrieve airlines'PNR and ticket numbers
    • PKFARE Buyer API solutionId Usage Guide
  • Notice
    • Release Note
  • Schemas
    • Schemas
      • ShoppingReq
      • Result«ShoppingResult»
      • Authentication
      • SearchDTO
      • JourneysDTO_1
      • PassengersDTO
      • ShoppingResult
      • SegmentsDTO
      • SolutionsDTO
      • BaggageDTO
      • ConditionsDTO
      • ChangeDTO
      • OtherDTO
      • RefundDTO
      • JourneysDTO
      • SegmentInfoDTO
  1. PreciseBooking

PreciseBooking

1 Document Description#

1.1 Function Description#

Through PreciseBooking API, users can create a PNR and an order in PKAFRE.
Note This interface depends on the result of precisePricing.
Note It is necessary to use PrecisePricing service before using this interface. The whole process should be limited to 30 mins.

1.2 Target Reader#

The PreciseBooking API document targets people who work in the fields of network development, maintenance as well as management, and they should have the knowledge of at least one of following programming language: ASP, PHP, JAVA, ASP.NET or SQL.

1.3 Character Encoding#

The character code of this API is UTF-8.

1.4 Invoking Address#

Address in test environment: https://api.pkfare.com/preciseBooking
Address in production environment: https://pending.com/preciseBooking

2 Request Parameter#

2.1 Parameter Construction#

2.1.1 Authentication#
NameTypeRequired or NotDescriptionSample
partnerIdStringYespartner ID-
signStringYessignature, refer to 4.1 and 4.2-
2.1.2 Booking#
NameTypeRequired or NotDescriptionSample
passengersArrayYespassenger information, refer to 2.1.3-
solutionObjectYesjourney information, refer to 2.1.4-
buyerOrderStringNoYour order number if you want to store at PKFARE side.-
2.1.3 Passengers#
NameTypeRequired or NotDescriptionSample
birthdayStringYesdate of birth2015-01-10
cardTypeStringNotype of travel document, refer to 5.3. Passengers could make reservations with Chinese Identity if the itinerary is China domestic journey (NOT including Hong Kong, Macao and Taiwan). If using Chinese Identity please input 'N' into 'cardType' and input name in Chinese character.If bookingWithoutCard is 1 in responds of PrecisePricing_V2, you can leave it as blank.P
cardNumStringNotravel document number. If bookingWithoutCard is 1 in responds of PrecisePricing_V2, you can leave it as blank.G2568574
cardExpiredDateStringNotravel document expired date. If using Chinese Identity please input a fake cardExpiredDate to pass the parameter validation. If bookingWithoutCard is 1 in responds of PrecisePricing_V2, you can leave it as blank.2020-05-06
lastNameStringYeslast name. Please use a real name and do not use "TEST"Wang
firstNameStringYesfirst name. Please use a real name and do not use "TEST"Jango
nationalityStringYesnationality [country code].CN
psgTypeStringYespassenger type, see 5.4ADT
sexStringYesgender, refer to 5.5M
2.1.4 Solution#
NameTypeRequired or NotDescriptionSample
fareTypeStringNothe type of fare, refer to 5.6PUBLIC
adtFareBigDecimalNoadult fare1206
adtTaxBigDecimalNoadult tax1298
chdFareBigDecimalNochild[age 2-12] fare803
chdTaxBigDecimalNochild[age 2-12] tax200
commentsStringNocomments-
journeysObject[]Yesjourney, refer to 2.1.5 Journey-
2.1.5 Journey#
NameTypeRequired or NotDescriptionSample
airlineStringYesairline codeSA
flightNumStringYesflight No.102
arrivalStringYesdestination[IATA airport code]CPT
arrivalDateStringYesarrival Date[yyyy-mm-dd]2015-11-11
arrivalTimeStringYesarrival Time[hh:mm]11:45
departureStringYesdeparture[IATA airport code]BKK
departureDateStringYesdeparture Date[yyyy-mm-dd]2015-11-30
departureTimeStringYesdeparture Time[hh:mm]07:05
bookingCodeStringYescabin codeN

2.2 Request Sample#

2.2.1 JSON Format Sample#
Case 1 JSON format sample as below:
    {
        "authentication": {
            "partnerId": "sVSX7PfZm1yF04adBWYsCD7M4=",
            "sign": "e707b5d9dae8459065dbb139e5f1bd"
        },
        "booking": {
            "buyerOrder": "B1234567890",
            "passengers": [
                {
                    "birthday": "1988-10-22",
                    "cardExpiredDate": "2020-02-05",
                    "cardNum": "G65896223",
                    "cardType": "P",
                    "firstName": "JANGO",
                    "lastName": "WANG",
                    "nationality": "CN",
                    "psgType": "ADT",
                    "sex": "M"
                }
            ],
            "solution": {
                "adtFare": 1206,
                "adtTax": 1298,
                "chdFare": 1000,
                "chdTax": 1000,
                "journeys": {
                    "journey_0": [
                        {
                            "airline": "MU",
                            "arrival": "KMG",
                            "arrivalDate": "2015-09-18",
                            "arrivalTime": "00:05",
                            "bookingCode": "B",
                            "departure": "PEK",
                            "departureDate": "2015-09-17",
                            "departureTime": "20:35",
                            "flightNum": "5708"
                        },
                        {
                            "airline": "MU",
                            "arrival": "SIN",
                            "arrivalDate": "2015-09-19",
                            "arrivalTime": "02:00",
                            "bookingCode": "V",
                            "departure": "KMG",
                            "departureDate": "2015-09-18",
                            "departureTime": "22:40",
                            "flightNum": "5093"
                        }
                    ],
                    "journey_1": [
                        {
                            "airline": "MU",
                            "arrival": "PVG",
                            "arrivalDate": "2015-09-22",
                            "arrivalTime": "22:05",
                            "bookingCode": "V",
                            "departure": "SIN",
                            "departureDate": "2015-09-22",
                            "departureTime": "16:35",
                            "flightNum": "568"
                        },
                        {
                            "airline": "MU",
                            "arrival": "PEK",
                            "arrivalDate": "2015-09-23",
                            "arrivalTime": "15:10",
                            "bookingCode": "B",
                            "departure": "PVG",
                            "departureDate": "2015-09-23",
                            "departureTime": "12:25",
                            "flightNum": "564"
                        }
                    ]
                }
            }
        }
    }
2.2.2 Base64 Encryption#
Use Base64 to encode results from Case 1:
eyJhdXRoZW50aWNhdGlvbiI6eyJwYXJ0bmVySWQiOiJSa3NWU1g3UGZabTF5RjA0YWRCV1lzQ0Q3TTQ9Iiwic2lnbiI6IjE3ZTcwN2I1ZDlkYWU4NDU5MDY1ZGJiMTM5ZTVmMWJkIn0sInByaWNpbmciOnsiYWR1bHRzIjoxLCJjaGlsZHJlbiI6MCwiaW5mYW50cyI6MCwiam91cm5leXMiOnsiam91cm5leV8wIjp7InNlZ21lbnRfMCI6eyJhaXJsaW5lIjoiU0EiLCJhcnJpdmFsIjoiSk5CIiwiYXJyaXZhbERhdGUiOiIyMDE1LTExLTIwIiwiYXJyaXZhbFRpbWUiOiIwNzo0NSIsImJvb2tpbmdDb2RlIjoiTiIsImRlcGFydHVyZSI6IkNQVCIsImRlcGFydHVyZURhdGUiOiIyMDE1LTExLTIwIiwiZGVwYXJ0dXJlVGltZSI6IjA1OjQ1IiwiZmxpZ2h0TnVtIjoiMzc4In19LCJqb3VybmV5XzEiOnsic2VnbWVudF8wIjp7ImFpcmxpbmUiOiJTQSIsImFycml2YWwiOiJDUFQiLCJhcnJpdmFsRGF0ZSI6IjIwMTUtMTEtMjUiLCJhcnJpdmFsVGltZSI6IjA4OjEwIiwiYm9va2luZ0NvZGUiOiJOIiwiZGVwYXJ0dXJlIjoiSk5CIiwiZGVwYXJ0dXJlRGF0ZSI6IjIwMTUtMTEtMjUiLCJkZXBhcnR1cmVUaW1lIjoiMDY6MDAiLCJmbGlnaHROdW0iOiIzMDMifX19fX0=
2.2.3 Encryption Request Sample#
This sample is for reference only:
http://api.pkfare.com/preciseBooking?param=eyJhdXRoZW50aWNhdGlvbiI6eyJwYXJ0bmVySWQiOiJSa3NWU1g3UGZabTF5RjA0YWRCV1lzQ0Q3TTQ9Iiwic2lnbiI6IjE3ZTcwN2I1ZDlkYWU4NDU5MDY1ZGJiMTM5ZTVmMWJkIn0sInByaWNpbmciOnsiYWR1bHRzIjoxLCJjaGlsZHJlbiI6MCwiaW5mYW50cyI6MCwiam91cm5leXMiOnsiam91cm5leV8wIjp7InNlZ21lbnRfMCI6eyJhaXJsaW5lIjoiU0EiLCJhcnJpdmFsIjoiSk5CIiwiYXJyaXZhbERhdGUiOiIyMDE1LTExLTIwIiwiYXJyaXZhbFRpbWUiOiIwNzo0NSIsImJvb2tpbmdDb2RlIjoiTiIsImRlcGFydHVyZSI6IkNQVCIsImRlcGFydHVyZURhdGUiOiIyMDE1LTExLTIwIiwiZGVwYXJ0dXJlVGltZSI6IjA1OjQ1IiwiZmxpZ2h0TnVtIjoiMzc4In19LCJqb3VybmV5XzEiOnsic2VnbWVudF8wIjp7ImFpcmxpbmUiOiJTQSIsImFycml2YWwiOiJDUFQiLCJhcnJpdmFsRGF0ZSI6IjIwMTUtMTEtMjUiLCJhcnJpdmFsVGltZSI6IjA4OjEwIiwiYm9va2luZ0NvZGUiOiJOIiwiZGVwYXJ0dXJlIjoiSk5CIiwiZGVwYXJ0dXJlRGF0ZSI6IjIwMTUtMTEtMjUiLCJkZXBhcnR1cmVUaW1lIjoiMDY6MDAiLCJmbGlnaHROdW0iOiIzMDMifX19fX0=

3 Response Parameter#

3.1 Response Parameter Construction#

Response is structuralized in JSON format. About concrete fields, please refer to following tables.
__Price breakdown description: __
Individual Adult Price = Adult Ticket Fare [adtFare] + Adult Ticket Tax [adtTax] + Ticketing Fee [tktFee]
Individual Child Price = Child Ticket Fare [chdFare] + Child Ticket Tax [chdTax] + Ticketing Fee [tktFee]
Total Price = Individual Adult Price * adult passenger number [adults] + Individual Child Price] * child passenger number [children] + Platform Service Fee [platformServiceFee] + Payment Transaction Fee [merchantFee]
Notes
1 There is no charge for "platformServiceFee" at present; it can be ignored.
2 No payment transaction fee ("merchantFee") will be charged if the mode of payment is "Prepaid". "Alipay" will charge 0.1% of the Total Price.
3.1.1 Basic Parameter#
NameTypeDescriptionSample
errorCodeStringerror code, refer to 5.10
errorMsgStringerror messageOK
dataObjectreturn data, will not be empty when error code is "0". Refer to 3.1.2-
3.1.2 Data#
NameTypeDescriptionSample
solutionObjectrefer to 3.1.3-
flightsArrayrefer to 3.1.4-
segmentsArrayrefer to 3.1.5-
pnrStringpnrKKXJS2
orderNumLongorder number1014766841
3.1.3 Solution#
NameTypeParameter DescriptionSample
solutionKeyStringunique identification0357301bf213453389fcb55c379a4667
fareTypeStringfare type, refer to 5.2 Fare TypePUBLIC
currencyStringcurrencyCNY
adtFareBigDecimaladult fare1011
adtTaxBigDecimaladult tax527
chdFareBigDecimalchildren [age 2-12] fare500
chdTaxBigDecimalchildren [age 2-12] tax250
qChargeBigDecimalQ charge, bunker adjustment surcharge, for reference only0
tktFeeBigDecimalticketing service fee0
platformServiceFeeBigDecimalplatform service fee, defaults to 00
journeysString[]JSON format string array. Content: flightID(3.1.4)-
platingCarrierStringticketing airlineCA
merchantFeeBigDecimalpayment transaction fee7.39
afterSaleRuleObejctafter sale rule, not supported yet-
3.1.4 Flights#
NameTypeDescriptionSample
flightIdStringflight ID, unique identification9ef88fd9dae30560c683911f534c6c49
journeyTimeLongjourney Time, unit: minute350
transferCountIntegernumber of Transfer1
lastTktTimeStringlatest ticketing time (GMT)2015-10-28 23:59:00
segmengtIdsString[]number of segment arrays (please note the segmengtIds is a typo due to history edition)-
3.1.5 Segments#
NameTypeParameter DescriptionSample
segmentIdStringsegment ID, unique identification4ee200cb7feab403d6babbf797ac92aa
airlineStringairline codeCA
flightNumStringflight number6509
equipmentStringequipment737
cabinClassStringcabin class, refer to 5.3 Cabin ClassEconomy
bookingCodeStringcabin codeE
availabilityCountIntegeravailable seats, for reference only7
departureStringdeparture airportPEK
arrivalStringarrival airportHKG
departureTerminalStringdeparture airport terminal3
arrivalTerminalStringarrival airport terminal1
departureDateLongdeparture date [unix time]1446009600000
arrivalDateLongarrival date [unix time]1446017400000
flightTimeIntegerflight time, unit: minute130
stayTimeIntegerstay time, valid with 'stopover' , unit: minute60
codeShareStringcode share or not: [Y-yes, N-no]Y
opFltNoStringflight number of operated carrier202
opFltAirlineStringoperated carrierKA
stopoverStringstopover airportPEK
strDepartureDateStringdeparture date[yyyy-mm-dd], local time2016-08-27
strDepartureTimeStringdeparture time[hh:mm], local time09:30
strArrivalDateStringarrival date[yyyy-mm-dd], local time2016-08-27
strArrivalTimeStringarrival time[hh:mm], local time11:50

3.2 Response Example#

3.2.1 Normal Response#
{
    "data": {
        "flights": [
            {
                "flightId": "ef8caaf829406399310863e678196849",
                "journeyTime": 450,
                "lastTktTime": "2017-07-07 23:59:00",
                "segmengtIds": [
                    "b8ea011c2f09f69cfe9311ceef3e3a5b",
                    "43ee963d98ef57314e55677c10b86ca0"
                ],
                "transferCount": 1
            }
        ],
        "orderNum": 1014766841,
        "pnr": "SQFTQJ",
        "segments": [
            {
                "airline": "MU",
                "arrival": "HKG",
                "arrivalDate": 1499399400000,
                "arrivalTerminal": "1",
                "availabilityCount": 1,
                "bookingCode": "B",
                "cabinClass": "ECONOMY",
                "codeShare": "N",
                "departure": "PVG",
                "departureDate": 1499391000000,
                "departureTerminal": "1",
                "equipment": "320",
                "flightNum": "501",
                "flightTime": 140,
                "opFltAirline": "",
                "segmentId": "43ee963d98ef57314e55677c10b86ca0",
                "strArrivalDate": "2017-07-07",
                "strArrivalTime": "11:50",
                "strDepartureDate": "2017-07-07",
                "strDepartureTime": "09:30"
            },
            {
                "airline": "MU",
                "arrival": "PVG",
                "arrivalDate": 1499383200000,
                "arrivalTerminal": "1",
                "availabilityCount": 1,
                "bookingCode": "R",
                "cabinClass": "ECONOMY",
                "codeShare": "Y",
                "departure": "KUL",
                "departureDate": 1499364600000,
                "departureTerminal": "M",
                "equipment": "738",
                "flightNum": "9862",
                "flightTime": 310,
                "opFltAirline": "FM",
                "opFltNo": "862",
                "segmentId": "b8ea011c2f09f69cfe9311ceef3e3a5b",
                "strArrivalDate": "2017-07-07",
                "strArrivalTime": "07:20",
                "strDepartureDate": "2017-07-07",
                "strDepartureTime": "02:10"
            }
        ],
        "solution": {
            "adtFare": 1330,
            "adtTax": 753.0,
            "afterSaleRule": {
                "changeNotes": null,
                "changeServiceFee": 84.0,
                "currency": "CNY",
                "refundNotes": null,
                "refundServiceFee": 42.0,
                "remark": "remark",
                "voidNotes": null,
                "voidServiceFee": -1.0
            },
            "buyerExchRate": 0,
            "chdFare": 0,
            "chdTax": 0,
            "currency": "CNY",
            "fareType": "PUBLIC",
            "journeys": {
                "journey_0": [
                    "ef8caaf829406399310863e678196849"
                ]
            },
            "merchantFee": 2.08,
            "platformServiceFee": 0,
            "platingCarrier": "MU",
            "qCharge": 0,
            "solutionKey": "3aed0b90f0c04b5ea51ad01f3470f254",
            "tktFee": 0.0
        }
    },
    "errorCode": "0",
    "errorMsg": "ok"
}
3.2.2 Error Response#
{
    "errorCode": "P001",
    "errorMsg": "Invalid authentication.",
    "data": null
}

4 Signature#

4.1 Parameters for Signature#

partnerId, partnerKey

4.2 Signature#

Combine partnerId and partnerKey to make an MD5 encryption on final value.
Sign = MD5 (partnerId + partnerKey).
e.g.
partnerId: abcdefg123456
partnerKey: jkHKhkikdhy258dffj
Sign = MD5(abcdefg123456jkHKhkikdhy258dffj) = d7e99ae9d5c3c7d7113aced071e3ca08

5 Appendix#

5.1 Error Code List#

errorCodeerrorMsgDescription
0okRequest has been processed successfully.
S001System error.System error.
B002Partner is not exists.PartnerID does not exist.
B003Illegal sign.Illegal sign. Please check your signature.
B035Concurrency limited. Please contact PKFARE API support team for assistant.Concurrency exceeded system limits.
P001XXX is illegal.The field of XXX is illegal.
P002XXX is missing.The field of XXX is missing.
P006Invalid parameter.Value of request cannot pass the validation, please check on the request.
0307Reservation failed - Booking class is sold out.Reservation failed. Seats have been sold out.
B005Can not find any matching precisePricing result within 30 minutes.Can not find the corresponding precisePricing record. Please check the itinerary and passenger numbers. PreciseBooking has to be invoked within 30 minutes after pricing.
B006Reservation failed - Other. OrderNum is XXX.Booking fail for other reason. The order has been created which is indicated in Other.OrderNum field
B006Reservation failed.Booking fail for other reason.
B007Reservation failed - Segment status is not HK.Segment status is invalid from GDS. Please select other flight options.
B008Itinerary is different between PNR and order.Itinerary in reservation is different from precisePricing. There might be a flight re-schedule. Please select other flight options.
B011Reservation failed - Fare is unavailable.Fare is unavailable form GDS. Please select other flight options.
B012Reservation failed - Create PNR time out.Create PNR time out from GDS. Please wait some minutes or select other flight options.
B017Price is changed.Price is changed.
B023Reservation failed - Save price fail.Fail to save price from GDS.
B025Reservation failed - RT PNR fail.Fail to retieve PNR from GDS.
B027Airline PNR is missing.Airline PNR is missing from GDS.
B028Reservation failed - Time out.Booking time out from GDS.
B029Duplicate reservations have been found for passenger XXX/XXX in order XXX, in pnr XXX.Duplicated reservation is not allowed. If there is an order with same segment and passenger, system will block the second reservation and return error. Please cancel the last duplicated order or pay the last order directly.
B030Illegal passenger name, please use Chinese character.Wrong passenger name. If passengers use Chinese ID card to make reservation for China domestic flight, please use Chinese character.
B031Illegal passenger name, please use correct Chinese character.Wrong passenger name. If passengers use chinese ID card to make reservation, the chinese name length is over the limitation.
B032Illegal passport, please use 'N' as document type if you are using Chinese ID card to make reservation.Illegal passport. If passengers book Chinese flight, please use correct passport.
B043Reservation failed: Create PNR failed.Booking failed from GDS.
B044Reservation failed - Create PNR failed, end transaction failed.Booking failed from GDS.
B062The length of passenger name should be 40 English alphabet including / between last name and first name.Passenger's name should be within 40 English alphabet, including "/" between last name and first name.
B064The lastName of passegner should be within 2-30 English alphabet.Passenger's last name should be within 2-30 English alphabet.
B065Passenger's document information must be filled in for this trip. Passenger's document information contains cardType, cardNum, cardExpiredDate and nationality.Passenger's document information must be filled in for this trip. Passenger's document information contains cardType, cardNum, cardExpiredDate and nationality.Please contact PKFARE API support.
B069Reservation failed, this fare has passenger age limitation.Reservation failed, because this fare has a passenger age limition.
B121Supplier is offlineSupplier is not at working time, please contact PKFARE API support.

5.2 Cabin Class#

EnumDescription
ECONOMYeconomy class
PREMIUM ECONOMYpremium economy class
BUSINESSbusiness class
FIRSTfirst class

5.3 Type of Travel Document#

Passengers could make reservations with Chinese Identity if the itinerary is China domestic journey (NOT including Kong Kong, Macao and Taiwan).
EnumDescription
PPassport
NChinese Identity
OOthers

5.4 Passenger Type#

EnumDescription
ADTadult
CHDchildren [2-12 years old]

5.5 Gender#

EnumDescription
MMale
FFemale

5.6 Fare Type#

EnumDescription
PUBLICpublic fare
PRIVATEprivate fare
Top
Modified at 2024-05-06 01:17:42
Previous
Penalty V3
Next
PreciseBooking_V2