1. AcknowledgeScheduleChange
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
        • 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. AcknowledgeScheduleChange

AcknowledgeScheduleChange

1 Document Description#

1.1 Function Description#

Through AcknowledgeScheduleChange API, you are able to remove a the schedule change message, which you do NOT want to get it from GetScheduleChange API.

1.2 Target Reader#

The AcknowledgeScheduleChange 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#

Address in test environment: http://api.pkfare.com/scheduleChange/acknowledge
Address in production environment: http://pending.com/scheduleChange/acknowledge
Note PKFARE will provide production domain after Buyer Partners finish integration and co-test. Please replace 'pending.com' with the domain which PKFARE provides individually.

1.5 Request Type#

POST

1.6 Request Header#

keyvalue
Content-Typeapplication/json;charset=UTF-8

2.Request Parameter#

2.1 Parameter Construction#

Please structure parameter as JSON format. Request should be transmitted after BASE64 encrypted
2.1.1 Basic Request#
NameTypeRequired or NotParameter DescriptionSample
authenticationobjectYesPartner ID and signature, refer to 2.1.2.-
dataobjectYesrequest, refer to 2.1.3.-
2.1.2 Authentication#
NameTypeRequired or NotParameter DescriptionSample
partnerIdStringYesPartner ID-
signStringYesSignature, refer to 4.1 and 4.2-
2.1.3 Data#
NameTypeRequired or NotParameter DescriptionSample
messageIdStringYesPKFARE message ID. You can get specific message by indicating the messageId1075841601001

2.2 Request Sample#

2.2.1 JSON Format Sample#
{
    "data": {
        "messageId":"123456"
    },
    "authentication": {
        "partnerId": "sVSX7PfZm1yF0D7M4=",
        "sign": "e707b5d9dae8459065dbb139e5f1bd"
    }
}
2.2.2 Base64 Encryption#
Use BASE64 to encode request, and get result as below:
ewogICAgImRhdGEiOiB7CiAgICAgICAgIm1lc3NhZ2VJZCI6IjEyMzQ1NiIKICAgIH0sCiAgICAiYXV0aGVudGljYXRpb24iOiB7CiAgICAgICAgInBhcnRuZXJJZCI6ICJSa3NWU1g3UGZabTF5RjBEN000PSIsCiAgICAgICAgInNpZ24iOiAiMTdlNzA3YjVkOWRhZTg0NTkwNjVkYmIxMzllNWYxYmQiCiAgICB9Cn0=
2.2.3 Sending Encrypted Request Sample#
This sample is for reference only:
http://pending.com/AcknowledgeScheduleChange?param=ewogICAgImRhdGEiOiB7CiAgICAgICAgIm1lc3NhZ2VJZCI6IjEyMzQ1NiIKICAgIH0sCiAgICAiYXV0aGVudGljYXRpb24iOiB7CiAgICAgICAgInBhcnRuZXJJZCI6ICJSa3NWU1g3UGZabTF5RjBEN000PSIsCiAgICAgICAgInNpZ24iOiAiMTdlNzA3YjVkOWRhZTg0NTkwNjVkYmIxMzllNWYxYmQiCiAgICB9Cn0=

3. Response Parameter#

3.1 Response Parameter Construction#

Response in structuralized in JSON format. For concrete fields, please refer to the following tables.
3.1.1 Basic Parameter#
NameTypeParameter DescriptionSample
errorCodeStringError Code, refer to 5.10
errorMsgStringError MessageOK

3.2 Response Example#

3.2.1 Normal Response#
{
    "errorCode":"0",
    "errorMsg":"ok"
}
3.2.2 Error Response#
{
    "errorCode": "P001",
    "errorMsg": "Invalid authentication."
}

4 Signature#

4.1 Parameters for Signature#

partnerId,partnerKey

4.2 Signature#

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

5 Appendix#

5.1 Error Code List#

errorCodeerrorMsgDescription
0okRequest has been processed successfully.
S001System errorSystem error.
P001xxx is illegalRequest parameter is illegal, xxx will display request parameter
B002Partner is not existsPartner does not exist.
B003Illegal signIllegal sign.
B037Order is not exist.Order does not exist.
B048Invalid buyerBuyer is invalid.
B130Message is not exist.Schedule change message does not exist.
Top
Modified at 2024-05-06 02:06:24
Previous
GetScheduleChangeList
Next
AcceptScheduleChange