OneWorldTrip
English中文
English中文
  1. Cache Refresh API
  • API Integration Guide
  • Flight Ticket Distribution Direct Connect API
    • Search
      POST
    • Verify
      POST
    • Order
      POST
    • Cancel
      POST
    • Order Status Push
      POST
    • Get OrderInfo
      POST
    • Order Copy
      POST
  • Order Management API
    • Order Management Workflow
    • Ticket Issuance
      POST
    • Get Order Details
      POST
    • Get Pending Ticketing Orders
      POST
    • Get after-sales order
      POST
    • Ticket reminder interface
      POST
  • Schedule Change API
    • Schedule Change Workflow
    • Flight Reschedule Notification
      POST
  • Cache Refresh API
    • Refresh Notiry
      POST
    • Cache Refresh
      POST
  • Ancillary Order Management API
    • Ancillary Workflow
    • SeatMap
      POST
    • AuxSearch
      POST
    • Query Ancillary Order List
      POST
    • Update Ancillary Status
      POST
    • Query Ancillary Order Detail
      POST
  1. Cache Refresh API

Refresh Notiry

Developing
POST
/api/flight/refreshNotify
●Endpoint address provided by OneWorldTrip as a Supplier role.
●ErrorNotification endpoint is called out automatically where a Verify or Create Order attempt fails out of No Available Seat in Cabin or Price Not Available issue.
●Flight info of the Failed attempt is recorded in the failure log and sent from OneWorldTrip (Supplier) to the Partner via ErrorNotification.
●This function is to update in time the Partner with any flight from OneWorldTrip that requires immediate action.

Error Code#

Error CodeMessageDescription
0SuccessRequest successfully
1[Specific Failure Reason]Request failed

Request

Body Params application/jsonRequired

Example
{
    "depCity": "CKY",
    "arrCity": "PAR",
    "flightNumber": "CA123|CA456",
    "fromDate": "20221231",
    "retDate": null,
    "seatGrade": "Y|Y",
    "seatClass": "S|S",
    "tripType": "1",
    "token": "2159d66c-c438-4e79-816c-a07228344da2",
    "vendorCode": "TESTMOCKSSDC"
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://58.250.183.7:31011/api/flight/refreshNotify' \
--header 'Content-Type: application/json' \
--data-raw '{
    "depCity": "CKY",
    "arrCity": "PAR",
    "flightNumber": "CA123|CA456",
    "fromDate": "20221231",
    "retDate": null,
    "seatGrade": "Y|Y",
    "seatClass": "S|S",
    "tripType": "1",
    "token": "2159d66c-c438-4e79-816c-a07228344da2",
    "vendorCode": "TESTMOCKSSDC"
}'

Responses

🟢200成功
application/json
Body

Example
{
    "status": 0,
    "msg": "success"
}
Modified at 2025-10-22 08:38:43
Previous
Flight Reschedule Notification
Next
Cache Refresh
Built with