1. Flight schedule change APIs
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
        POST
      • AcknowledgeScheduleChange
        POST
      • AcceptScheduleChange
        POST
    • 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
        • 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. Flight schedule change APIs

GetScheduleChangeReply

1 Document Description#

1.1 Function Description#

Once you confirm the flight change, you can receive the confirmation results using the API GetScheduleChangeReply.
Please provide the URL for the API endpoint.

1.2 Target Reader#

The GetScheduleChangeReply API document targets developers who work in the fields of network development, maintenance as well as management. They should have the knowledge of at least one of the following programming languages: ASP, PHP, JAVA, ASP.NET or SQL.

1.3 Character Encoding#

The character code of this API is UTF-8.

1.4  Invoking Address#

This address URL is provided by the buyer partners.

1.5 Http Method#

POST

1.6 Request Header#

keyvalue
Content-Typeapplication/json

1.7 Response Header#

keyvalue
Content-Typeapplication/json

2 Request#

2.1.1 Basic Request#

NameTypeRequired or notParameter DescriptionSample
orderNumStringYesPKFARE order number915690623484957501
messageIdStringYesPKFARE message id4433422
passengersArrayYespassengers of this order. Refer to 2.1.2.-
originFlightListArrayYesJourney and segment information before this schedule change. Refer to 2.1.3.-
changeFlightListArrayNoJourney and segment information after this schedule change. Refer to 2.1.4.-

2.1.2 passengers#

NameTypeRequired or notParameter DescriptionSample
lastNameStringYLast namewang
firstNameStringYFirst namejia
birthdayStringNDate of birth [yyyy-mm-dd]1988-10-10
sexStringNGender, M - male, F - Female. Refer to 4.5M
psgTypeStringYADT - adult, CHD - child , INF-Infant. Refer to 4.4CHD
cardTypeStringNTravel document type. Refer to 4.3P
cardNumStringNTravel document numberP78921345
cardExpiredDateStringNTravel document expiration date, [yyyy-mm-dd]2025-03-03
nationalityStringNNationality of the passenger, 2 letters country codeCN
newTicketNumStringNNew ticket number. If multiple ticket numbers, it will be separted by slash[/]9991234567890/9991234567891

2.1.3 originFlightList#

NameTypeRequired or notParameter Description
journeysArrayYesJourney information. Refer to 2.1.5.

2.1.4 changeFlightList#

NameTypeRequired or notParameter Description
journeysArrayYesJourney information. Refer to 2.1.5.

2.1.5 journeys#

NameTypeRequired or notParameter Description
journeySeqIntYesJourney sequency, outbound refer to 1, inbound refer to 2.
segmentsArrayYesflight information. Refer to 2.1.6.

2.1.6 segments#

NameTypeRequired or notParameter DescriptionSample
airlineStringYesAirline codeCX
flightNumStringYesFlight number618
equipmentStringNoEquipment code777
cabinClassStringYesCabin class. Refer to 4.2ECONOMY
bookingCodeStringYesBooking codeE
departureStringYesDeparture airport code, 3 letters IATA codeHKG
arrivalStringYesArrival airport code, 3 letters IATA codeBKK
departureTerminalStringNoDeparture terminal1
arrivalTerminalStringNoArrival terminal1
departureDateStringYesDeparture date, [yyyy-mm-dd], local time of departure city2025-03-03
arrivalDateStringYesArrival date, [yyyy-mm-dd], local time of arrival city2025-03-03
departureTimeStringYesDeparture time, [hh:mm],local time of departure city10:10
arrivalTimeStringYesArrival time, [hh:mm], local time of arrival city10:10
flightTimeIntegerNoFlight time, unit: minutes890
stayTimeIntegerNoStay time for stopover flight, unit: minutes120
codeShareStringNoCode share flight flag, Y - Code share flight, N - Not code share flightN
opFltNoStringNoOperation flight number160
opFltAirlineStringNoOperation airlineKA
stopoverStringNoStopover airport code, 3 letters IATA codeCNX
messageTypeStringNoMessage type:
1-Flight changed
2-Flight canceled with protect flight
3-Flight canceled
4-Flight resumted.
5- Flight overbooking.
For type 3, 4 and 5, there is no ChangeFlightList information.
1

2.2 Request Parameter Construction#

{
  "changeFlightList":[
    {
        "journeySeq":"1",
        "segments":[
            {
              "airline":"OD",
              "arrival":"KUL",
              "arrivalDate":"2024-03-08",
              "arrivalTerminal":"1",
              "arrivalTime":"19:00",
              "bookingCode":"A",
              "cabinClass":"ECONOMY",
              "codeShare":"N",
              "departure":"HKG",
              "departureDate":"2024-03-08",
              "departureTerminal":"2",
              "departureTime":"15:10",
              "equipment":"7M8",
              "flightNum":"111",
              "flightTime":230
              }
            ]
          }
        ],
  "messageId":"4430826",
  "orderNum":"917086774832458201",
  "originFlightList":[
      {
        "journeySeq":"1",
        "segments":[
          {
              "airline":"OD",
              "arrival":"KUL",
              "arrivalDate":"2024-03-07",
              "arrivalTerminal":"1",
              "arrivalTime":"19:00:00",
              "bookingCode":"T",
              "cabinClass":"ECONOMY",
              "codeShare":"N",
              "departure":"HKG",
              "departureDate":"2024-03-07",
              "departureTerminal":"2",
              "departureTime":"15:10:00",
              "equipment":"7M8",
              "flightNum":"111",
              "flightTime":230,
              "messageType":"1"
            }
          ]
        }
      ],
  "passengers":[
      {
        "birthday":"2004-02-21",
        "cardExpiredDate":"2025-02-15",
        "cardNum":"G41501437",
        "cardType":"P",
        "firstName":"YANG",
        "lastName":"ZHANG",
        "nationality":"CN",
        "psgType":"ADT",
        "sex":"M"
      }
  ]
}

3 Response#

3.1 Basic Parameter#

NameTypeRequired or NotParameter Description
errorCodeStringYeserror code,refer to Error Code List
errorMsgStringNOerror message

3.2 Response Sample#

{
  "errorCode": "0",
  "errorMsg": "OK"
}

4 Appendix#

4.1 Error Code List#

erroCodeerroMsgDescription
0okRequest has been processed successfully.

4.2 Cabin Class#

EnumDescription
ECONOMYEconomy Class
PREMIUM ECONOMYPremium Economy Class
BUSINESSBusiness Class
FIRSTFirst Class

4.3 Type of Travel Document#

EnumDescription
PPassport
NChinese Identity
OOthers

4.4 Passenger Type#

EnumDescription
ADTadult
CHDchildren[2-12 years old]
INFinfant[0-2 years old]

4.5 Gender#

EnumDescription
MMale
FFemale
Modified at 2024-04-27 09:24:28
Previous
ScheduleChangeNotify
Next
GetScheduleChangeList