OneWorldTrip
English中文
English中文
  1. Flight Ticket Distribution Direct Connect 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. Flight Ticket Distribution Direct Connect API

Order Status Push

POST
/api/ota/orderStatusNotice

API Description#

Order Status
Purpose:The Order Status Push API will push order status information to the OneWorldTrip supplier in the following four scenarios:
1.
The order status changes from "To be paid" to "Paid, to be issued". When the supplier receives an order with the status "Paid, to be issued," proceed with ticket issuance promptly and provide the ticket number.
2.
The order status changes from "To be paid" to "Canceled" or "Cancel failed." This indicates that the downstream has initiated a request to cancel the order.
3.
The order status changes from "Cancel failed" to "Canceled." This means that OTA Channel has canceled the order.
4.
The order status changes from "Paid, to be issued" to "Issued." This indicates that the supplier has successfully provided the ticket number.
HTTP Method: POST.
Endpoint: provided by the OneWorldTrip supplier.

Request

Body Params application/json

Example
{
    "orderNumber": "917019373583383501",
    "referenceId": "211746674080957952",
    "status": 500,
    "statusName": "Canceled",
    "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/ota/orderStatusNotice' \
--header 'Content-Type: application/json' \
--data-raw '{
    "orderNumber": "917019373583383501",
    "referenceId": "211746674080957952",
    "status": 500,
    "statusName": "Canceled",
    "vendorCode": "TESTMOCKSSDC"
}'

Responses

🟢200success
application/json
Body

Example
{
    "msg": "success",
    "status": "0"
}
Modified at 2025-09-22 09:46:00
Previous
Cancel
Next
Get OrderInfo
Built with