1. PrecisePricing
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
          POST
        • PrecisePricing V10
          POST
        • PrecisePricing V11
          POST
      • Penalty
        • Penalty
        • Penalty V2
        • Penalty V3
      • PreciseBooking
        • PreciseBooking
        • PreciseBooking_V2
        • PreciseBooking_V5
        • PreciseBooking V6
        • PreciseBooking V7
      • 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. PrecisePricing

PrecisePricing_V6

1 Function#

Through PrecisePricing API, the precise price will be shown with specific flight details, including booking code and seat availability. If specific cabin class is requested (cabin class should be specified in all segments), the lowest fare corresponding to the specified class will be shown. If the cabin class is not provided in all segments (or partially provided), a lowest available fare will be shown.
PrecisePricing service is able to check flight price based on cabin class. We will respond the real-time price and availability.

2 Versioning#

VersionSandbox Invoking AddressUpdate
PrecisePricinghttps://api.pkfare.com/precisePricing
PrecisePricing_V2https://api.pkfare.com/precisePricing_V2Add baggageMap and miniRuleMap, only for reference. Offer BookingWithoutCard notification in response.
PrecisePricing_V4https://api.pkfare.com/precisePricing_V4Support infant (no seat) .
PrecisePricing_V5https://api.pkfare.com/precisePricing_V5Add Ancillary flag to indicate which ancillary service is available
PrecisePricing_V6https://api.pkfare.com/precisePricing_V6Add solutionId to enhance tracebility and data visibility
*Below is the most updated version"

3 Character Encoding#

The character code of this API is UTF-8.

4 Request#

Please structure parameter as JSON format. Request should be transmitted after BASE64 encrypted.

4.1 Schema#

NameTypeRequired or NotParameter DescriptionSample
Authentication
partnerIdStringYesPartner IDHJqiE05TYKcJlXjknkCkZKhzIis5o=
signStringYesSignature, sign=MD5(partnerId+partnerKey)fed53d44ea413c40d5f1de69047b7c
Pricing
journeysObjectYesSpecified flight data, all the journeys in one solution must be included, refer to journey-
adultsIntegerYesNumber of adult passenger1
childrenIntegerYesNumber of child[age 2-12] passenger1
infantsIntegerYesNumber of infant [age 0-2, no seat] passenger1
cabinStringNoCabin class ["" - the lowest cabin, C - business class, F - first class] if both 'cabin' and 'bookingCode' is valued and not inconsistent, precisePricing service would base on 'bookingCode'.C
solutionKeyStringNoRecommend to request with this parameters for the sake of data quality monitor.a2ba983f73364c359420a12faf67179d
solutionIdStringYesUnique identification of each solution from Shopping API, request with it for associating with the Shopping solution and linking to the entire request process25a061970d8a7ebeb5e63391b9788f36
Journey
airlineStringYesAirline codeSA
flightNumStringYesFlight number102
arrivalStringYesDestination[IATA airport code]CPT
arrivalDateStringYesArrival Date[yyyy-MM-dd]2023-11-11
arrivalTimeStringYesArrival Time[HH:mm]11:45
departureStringYesOrigin[IATA airport code]BKK
departureDateStringYesDeparture Date[yyyy-MM-dd]2023-11-30
departureTimeStringYesDeparture Time[HH:mm]07:05
bookingCodeStringNoRecommend to request with this parameter in order to keep the price stable and pricing success rate.N

4.2 Example#

1.
One Way Journey
{
    "authentication": {
        "partnerId": "HJqiE0cJlXjknkCkZKhzIis5o=",
        "sign": "fed53d44ea4130d5f1d18e69047b7c"
    },
    "pricing": {
        "adults": 1,
        "children": 0,
        "infants": 1,
        "solutionId": "1",
        "journeys": {
            "journey_0": [{
                "airline": "SA",
                "arrival": "JNB",
                "arrivalDate": "2023-11-20",
                "arrivalTime": "07:45",
                "bookingCode": "N",
                "departure": "CPT",
                "departureDate": "2023-11-20",
                "departureTime": "05:45",
                "flightNum": "378"
            }]
        }
    }
} 
2.
Round Trip Journey
{
    "authentication": {
        "partnerId": "HJqE0YKcJlXjknkCkZKhzIis5o=",
        "sign": "fe53d44ea413c40d5f1d18e69047b7c"
    },
    "pricing": {
        "adults": 1,
        "children": 0,
        "infants": 1,
        "solutionKey":"a2ba983f73364c359420a12faf67179d",
        "solutionId": "1",
        "journeys": {
            "journey_0": [{
                "airline": "SA",
                "arrival": "CPT",
                "arrivalDate": "2023-11-20",
                "arrivalTime": "06:45",
                "bookingCode": "N",
                "departure": "CPP",
                "departureDate": "2023-11-20",
                "departureTime": "05:45",
                "flightNum": "378"
            },
            {
                "airline": "SA",
                "arrival": "JNB",
                "arrivalDate": "2023-11-20",
                "arrivalTime": "09:40",
                "bookingCode": "N",
                "departure": "JNB",
                "departureDate": "2023-11-20",
                "departureTime": "08:45",
                "flightNum": "3654"
            }],
            "journey_1": [{
                "airline": "SA",
                "arrival": "CPP",
                "arrivalDate": "2023-11-25",
                "arrivalTime": "08:10",
                "bookingCode": "N",
                "departure": "JNB",
                "departureDate": "2023-11-25",
                "departureTime": "06:00",
                "flightNum": "303"
            }]
        }
    }
}
3.
Open Jaw Journey
{
    "authentication": {
        "partnerId": "HJqiE0YKcJlXjknkkZKhzIis5o=",
        "sign": "fed53d44ea413c40d5f1d18e690477c"
    },
    "pricing": {
        "adults": 1,
        "children": 0,
        "infants": 1,
        "solutionKey":"a2ba983f73364c359420a12faf67179d",
        "solutionId": "1",
        "journeys": {
            "journey_0": [{
                "airline": "SA",
                "arrival": "CPT",
                "arrivalDate": "2023-11-20",
                "arrivalTime": "06:45",
                "bookingCode": "N",
                "departure": "JNB",
                "departureDate": "2023-11-20",
                "departureTime": "05:45",
                "flightNum": "378"
            }],
            "journey_1": [{
                "airline": "SA",
                "arrival": "JNB",
                "arrivalDate": "2023-11-25",
                "arrivalTime": "08:10",
                "bookingCode": "N",
                "departure": "CPP",
                "departureDate": "2023-11-25",
                "departureTime": "06:00",
                "flightNum": "303"
            }]
        }
    }
}

4.3 PrecisePricing Request Breakdown Structure#

PricisePricing Request-V4.pdf

5 Response#

5.1 Schema#

NameTypeParameter DescriptionSample
Basic Parameters
errorCodeStringError code, refer to Error Code List0
errorMsgStringError messageOK
dataObjectReturned data, will not be empty when error code is "0". Data is in JSON format, which contains three collection objects: solutions, flights, segments.-
Solution
solutionIdStringUnique identification25a061970d8a7ebeb5e63391b9788f36
solutionKeyStringUnique identification0357301bf213453389fcb55c379a4667
fareTypeStringFare type, including PUBLIC and PRIVATEPUBLIC
currencyStringCurrencyCNY
adtFareBigDecimalAdult fare1011
adtTaxBigDecimalAdult tax527
chdFareBigDecimalChildren [age 2-12] fare500
chdTaxBigDecimalChildren [age 2-12] tax250
infFareBigDecimalInfant[age 0-2, no seat] fare0
infTaxBigDecimalInfant[age 0-2, no seat] tax0
qChargeBigDecimalQ charge, bunker adjustment surcharge, for reference only0
tktFeeBigDecimalTicketing service fee0
platformServiceFeeBigDecimalPlatform service fee, defaults to 00
journeysString[]JSON format string array. Content: flightID-
platingCarrierStringTicketing airlineCA
merchantFeeBigDecimalPayment transaction fee7.39
baggagesString[]Baggage rule. Refer to Baggages.-
baggageMapObjectBaggage rule. For reference only. Including 'ADT'、'CHD' and 'INF'. If the request does not include children or infants, 'CHD' or 'INF' would be NULL.-
miniRuleMapObjectPenalty rule. For reference only, please find precise penalty rule on Penalty API.-
bookingWithoutCardIntegerTravel document require indicator, 0 - need travel document for booking, 1 - no need travel document for booking-
Baggages
indexIntegerIndex of journey sequence number 1 corresponds to Journey_0, 2 corresponds to Journey_1.1
baggageStringFree baggage allowance. The field would be null if the information is failed to collected. Different segment baggage rule would be separated by ','23KG
carryOnStringFree carry-on bag allowance. The field would be null if the information is failed to collected. Different segment baggage rule would be separated by ','. Part of carry-on info would be included size limitation, as sample554525cm 10kg
Flights
flightIdStringFlight ID,unique identification9ef88fd9dae30560c683911f534c6c49
journeyTimeLongJourney time,unit: minute350
transferCountIntegerCount of transfer times1
latestTktTimeStringLatest ticketing time (GMT)2023-10-28 23:59:00
segmengtIdsString[]Including segment [segmentId] array, refer to segmentId (please note the segmengtIds is a typo due to history edition)-
Segments
segmentIdStringSegment ID, unique identification4ee200cb7feab403d6babbf797ac92aa
airlineStringAirline codeCA
flightNumStringFlight number6509
equipmentStringEquipment737
cabinClassStringCabin class including Economy, PremiumEconomy, Business, FirstEconomy
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 time2023-08-27
strArrivalTimeStringArrival time[HH:mm], local time11:50
fareBasisStringFare basis codeSLCPWFR
baggageMap
segmentIndexListString[]Segment index list for baggage. Index begins with '1'. If 1st segment has same baggage allowance with 3rd segment, please refer to sample[1,3]
baggageAmountStringFree baggage amount allowance. '1PC' for 1 piece1PC
baggageWeightStringFree baggage weight allowance15KG
carryOnAmountStringFree carry-on baggage amount allowance. '1PC' for 1 piece1PC
carryOnWeightStringFree carry-on baggage weight allowance7KG
miniRuleMap
segmentIndexString[]Segment index list for penalty. Index begins with '1'. If 1st segment has same penalty rule with 3rd segment, please refer to sample[1,3]
miniRulesObjectRefer to miniRules-
miniRules
penaltyTypeIntegerPenalty type. [0 - refund, 1 - noShow refund, 2 - change, 3 - noShow change]0
isPermitedIntegerAllow refund/change or not. [0 - not allow, 1 - allow, 2 - unknown]1
whenInteger0 - Both Outbound and Inbound are not used, 1- Outbound Flight used, 2 - all Situation]2
noShowTimeStringNoShow definition. Apply with 'noShowTimeUnit'2
noShowTimeUnitStringNoShow Unit. Apply with 'noShowTime'. [H - hour, M - minute]H
amountBigDecimalPenalty300
currencyCodeStringPenalty currencyCNY
percentBigDecimalPenalty percentage. Apply with 'baseType'. Penalty and penalty percentage would not go into effect at the same. Please take the strict one. Unit: %10
baseTypeIntegerApply with 'percent'. Multiply corresponding value of 'baseType' by 'percent' would be the penalty. [0 - fare, 1 - fare+tax+ticketingFee, 2 - cabin basic fare]0
ancillaryAvailability
paidBagBooleanwhether paid bag service is available, true-available, false-unavailabletrue
paidSeatBooleanwhether paid seat service is available, true-available, false-unavailabletrue
 

5.2 Example#

Success Response
{
    "errorCode": "0",
    "errorMsg": "ok",
    "data": {
        "solution": {
            "solutionKey": "e3ec99ddb40ca6927370d10bbe104548",
            "solutionId": "8d05ecc310359bf462c33948d1de7915",
            "fareType": "PRIVATE",
            "currency": "USD",
            "adtFare": 30.150,
            "adtTax": 5.420,
            "chdFare": 30.150,
            "chdTax": 5.420,
            "infFare": 24.730,
            "infTax": 0.000,
            "tktFee": 0.000,
            "platformServiceFee": 0,
            "journeys": {
                "journey_0": [
                    "5de86573f580b1d3ce7356cd1b622a8a"
                ]
            },
            "platingCarrier": "FD",
            "merchantFee": 0.00,
            "adults": 1,
            "children": 1,
            "infants": 1,
            "baggages": {
                "1": {
                    "carryOn": "1PC7KG",
                    "baggage": "0PC"
                }
            },
            "baggageMap": {
                "CHD": [
                    {
                        "segmentIndexList": [
                            1
                        ],
                        "baggageAmount": "0PC",
                        "carryOnAmount": "1PC",
                        "carryOnWeight": "7KG"
                    }
                ],
                "ADT": [
                    {
                        "segmentIndexList": [
                            1
                        ],
                        "baggageAmount": "0PC",
                        "carryOnAmount": "1PC",
                        "carryOnWeight": "7KG"
                    }
                ],
                "INF": [
                    {
                        "segmentIndexList": [
                            1
                        ]
                    }
                ]
            },
            "miniRuleMap": {
                "CHD": [
                    {
                        "segmentIndex": [
                            1
                        ],
                        "miniRules": [
                            {
                                "penaltyType": 0,
                                "isPermited": 0,
                                "when": 0
                            },
                            {
                                "penaltyType": 1,
                                "isPermited": 0,
                                "when": 0,
                                "noShowTime": "0",
                                "noShowTimeUnit": "H"
                            },
                            {
                                "penaltyType": 0,
                                "isPermited": 0,
                                "when": 0
                            },
                            {
                                "penaltyType": 1,
                                "isPermited": 0,
                                "when": 0,
                                "noShowTime": "0",
                                "noShowTimeUnit": "H"
                            },
                            {
                                "penaltyType": 0,
                                "isPermited": 0,
                                "when": 0
                            },
                            {
                                "penaltyType": 1,
                                "isPermited": 0,
                                "when": 0,
                                "noShowTime": "0",
                                "noShowTimeUnit": "H"
                            },
                            {
                                "penaltyType": 2,
                                "isPermited": 0,
                                "when": 0
                            },
                            {
                                "penaltyType": 3,
                                "isPermited": 0,
                                "when": 0,
                                "noShowTime": "0",
                                "noShowTimeUnit": "H"
                            },
                            {
                                "penaltyType": 2,
                                "isPermited": 0,
                                "when": 0
                            },
                            {
                                "penaltyType": 3,
                                "isPermited": 0,
                                "when": 0,
                                "noShowTime": "0",
                                "noShowTimeUnit": "H"
                            },
                            {
                                "penaltyType": 2,
                                "isPermited": 0,
                                "when": 0
                            },
                            {
                                "penaltyType": 3,
                                "isPermited": 0,
                                "when": 0,
                                "noShowTime": "0",
                                "noShowTimeUnit": "H"
                            }
                        ]
                    }
                ],
                "ADT": [
                    {
                        "segmentIndex": [
                            1
                        ],
                        "miniRules": [
                            {
                                "penaltyType": 0,
                                "isPermited": 0,
                                "when": 0
                            },
                            {
                                "penaltyType": 1,
                                "isPermited": 0,
                                "when": 0,
                                "noShowTime": "0",
                                "noShowTimeUnit": "H"
                            },
                            {
                                "penaltyType": 0,
                                "isPermited": 0,
                                "when": 0
                            },
                            {
                                "penaltyType": 1,
                                "isPermited": 0,
                                "when": 0,
                                "noShowTime": "0",
                                "noShowTimeUnit": "H"
                            },
                            {
                                "penaltyType": 0,
                                "isPermited": 0,
                                "when": 0
                            },
                            {
                                "penaltyType": 1,
                                "isPermited": 0,
                                "when": 0,
                                "noShowTime": "0",
                                "noShowTimeUnit": "H"
                            },
                            {
                                "penaltyType": 2,
                                "isPermited": 0,
                                "when": 0
                            },
                            {
                                "penaltyType": 3,
                                "isPermited": 0,
                                "when": 0,
                                "noShowTime": "0",
                                "noShowTimeUnit": "H"
                            },
                            {
                                "penaltyType": 2,
                                "isPermited": 0,
                                "when": 0
                            },
                            {
                                "penaltyType": 3,
                                "isPermited": 0,
                                "when": 0,
                                "noShowTime": "0",
                                "noShowTimeUnit": "H"
                            },
                            {
                                "penaltyType": 2,
                                "isPermited": 0,
                                "when": 0
                            },
                            {
                                "penaltyType": 3,
                                "isPermited": 0,
                                "when": 0,
                                "noShowTime": "0",
                                "noShowTimeUnit": "H"
                            }
                        ]
                    }
                ],
                "INF": [
                    {
                        "segmentIndex": [
                            1
                        ],
                        "miniRules": [
                            {
                                "penaltyType": 0,
                                "isPermited": 0,
                                "when": 0
                            },
                            {
                                "penaltyType": 1,
                                "isPermited": 0,
                                "when": 0,
                                "noShowTime": "0",
                                "noShowTimeUnit": "H"
                            },
                            {
                                "penaltyType": 0,
                                "isPermited": 0,
                                "when": 0
                            },
                            {
                                "penaltyType": 1,
                                "isPermited": 0,
                                "when": 0,
                                "noShowTime": "0",
                                "noShowTimeUnit": "H"
                            },
                            {
                                "penaltyType": 0,
                                "isPermited": 0,
                                "when": 0
                            },
                            {
                                "penaltyType": 1,
                                "isPermited": 0,
                                "when": 0,
                                "noShowTime": "0",
                                "noShowTimeUnit": "H"
                            },
                            {
                                "penaltyType": 2,
                                "isPermited": 0,
                                "when": 0
                            },
                            {
                                "penaltyType": 3,
                                "isPermited": 0,
                                "when": 0,
                                "noShowTime": "0",
                                "noShowTimeUnit": "H"
                            },
                            {
                                "penaltyType": 2,
                                "isPermited": 0,
                                "when": 0
                            },
                            {
                                "penaltyType": 3,
                                "isPermited": 0,
                                "when": 0,
                                "noShowTime": "0",
                                "noShowTimeUnit": "H"
                            },
                            {
                                "penaltyType": 2,
                                "isPermited": 0,
                                "when": 0
                            },
                            {
                                "penaltyType": 3,
                                "isPermited": 0,
                                "when": 0,
                                "noShowTime": "0",
                                "noShowTimeUnit": "H"
                            }
                        ]
                    }
                ]
            },
            "bookingWithoutCard": 1
        },
        "flights": [
            {
                "flightId": "5de86573f580b1d3ce7356cd1b622a8a",
                "journeyTime": 90,
                "transferCount": 0,
                "segmentIds": [
                    "f9178c24a76074bf5d97265558151378"
                ]
            }
        ],
        "segments": [
            {
                "segmentId": "f9178c24a76074bf5d97265558151378",
                "airline": "FD",
                "flightNum": "3027",
                "equipment": "32S",
                "cabinClass": "ECONOMY",
                "bookingCode": "E",
                "availabilityCount": 5,
                "departure": "DMK",
                "arrival": "HKT",
                "departureTerminal": "2",
                "arrivalTerminal": "D",
                "departureDate": 1711621200000,
                "arrivalDate": 1711626600000,
                "flightTime": 90,
                "codeShare": "N",
                "fareBasis": "YOW",
                "strDepartureDate": "2024-03-28",
                "strDepartureTime": "18:20",
                "strArrivalDate": "2024-03-28",
                "strArrivalTime": "19:50"
            }
        ],
        "ancillaryAvailability": {
            "paidBag": true,
            "paidSeat": true
        }
    }
}
1.
Error Response
{
    "errorCode": "B020",
    "errorMsg": "Can not find any price for this flight.",
    "data": null
}

5.3 PrecisePricing Response Breakdown Structure#

PricisePricing Response-V4.pdf

6 Error Code List#

erroCodeerroMsgDescription
0okRequest has been processed successfully.
S001System error.System error.
B002Partner does 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.
P004The maximum number of passengers with seat is 9.Wrong parameter. The maximum number of passengers with seat is 9.
P005There should be at least one adult.Wrong parameter. There should be at least one adult.
P009The number of infant passengers can not exceed the number of adult passengers.Wrong parameter. The number of infant passengers can not exceed the number of adult passengers.
B013Interface is limited, please contact the system administrator.The route that you request is limited, please contact system administrator.
B015Pricing failed.Pricing failed for other reason.
B016Flight near take-off, can’t offer pricing service.Pricing fail. Can not pricing for flights that is near taking off.
B018Airline or flight restriction.Airline or flight restriction.
B019Can not find any supplier for current search.Can not find any supplier for current search.
B020Can not find any price for this flight.Pricing fail. Can not find any price for this flight option.
B021The booking code you choose has only 0 seat available.Pricing fail. The booking code you choose has 0 seat left. Please choose other booking code or flight.
B026LatestTktTime: yyyy-mm-dd hh : mm: ss.Last ticketing time is not enough to issue ticket.
B024Pricing TimeOut.Pricing TimeOut.
B035Concurrency limited. Please contact PKFARE API support team for assistant.Concurrent users contral. Please contact PKFARE API support for assistant.
B039Can't find the related data of XXX.Wrong parameter. Can't find the related data of XXX, like illegal city/country/area/airline.
B046Interface is limited, the routing is offlined by PKFARE.Look to book control. If you need this routing, please contact PKFARE API for assistant.
B121Supplier is offlineSupplier is not at working time, please contact PKFARE API support.
Modified at 2024-05-06 01:12:48
Previous
PrecisePricing_V2
Next
PrecisePricing V9