For the complete documentation index, see llms.txt. This page is also available as Markdown.

订单列表

Atlas API 订单列表端点参考,用于查询订单集合,支持预订后运营、核对和订单跟进。

💬 需要帮助? 如果遇到问题,请在帮助中心咨询 Eva,快速获取诊断建议。

咨询 Eva

使用 orderList.do 查询订单集合,支持预订后的运营核对和订单跟进。

它适用于列表级查询,而非单笔订单的出票状态确认。

常见问题

何时应使用 orderList.do

当需要查询多个订单并进行运营跟进时使用。

使用它支持订单核对和预订后处理。

如何查询单笔订单的出票状态?

使用查询订单获取单笔订单状态、出票进度和订单详情。

不要使用列表查询替代支付后的订单状态跟进。

查询订单后应做什么?

根据订单状态选择适用的预订后操作。

退款、作废和订单维护流程请参阅预订后操作

相关指南

使用订单维护了解运营查询与其他维护操作的边界。

Order List

post

Dependency: No preceding function needs to be called before 'orderList' API.

Endpoint: https://sandbox.atriptech.com/orderList.do

Header parameters
AcceptstringRequiredExample: application/json
Content-TypestringRequiredExample: application/json
Accept-EncodingstringRequiredExample: gzip
x-atlas-client-idstringRequiredExample: <YOUR_CLIENT_ID>
x-atlas-client-secretstringRequiredExample: <YOUR_CLIENT_SECRET>
Body

A series of conditions for matching orders

orderNostring · nullableOptional

Atlas order number. Accurate matching

Example: TESTA20241122090710695
airlinePNRsstring[] · nullableOptional

The airline PNR(not Atlas's). If the airline pnr of the order contains any of the given values, it will be returned.

paxNamestring · nullableOptional

The name of the passenger(last name/first name). If the passenger in the order includes the given value, it will be returned.

contactEmailstring · nullableOptional

Accurate matching,match based on the contact email provided by the customer

fromCitystring · nullableOptional

IATA code of the departure city

toCitystring · nullableOptional

IATA code of the arrival city

depDatestring · nullableOptional

Date of departure. The format is:yyyyMMdd

createTimeRangeFromstring · nullableOptional

The start time of order creation. This is in UTC. The format is:yyyy-MM-dd'T'HH:mm:ss'Z'.

createTimeRangeTostring · nullableOptional

The end time of order creation. This is in UTC. The format isyyyy-MM-dd'T'HH:mm:ss'Z'

airlinesstring[] · nullableOptional

If the airlines of the order contains any of the given values, it will be returned

pagestring · nullableOptional

Start from: 1

Default: 1
pageSizestring · max: 100 · nullableOptional

Number of records to be displayed on each page.

Default: 20
Responses
200Success
application/json
statusintegerRequired
msgstring · nullableOptional

It serves as an additional description of the response result. Especially when the interface reports an error (status !=0), it is usually a human-readable error message. Note: Do not use this field in any programming scenarios. For example, do not judge whether the interface responds successfully based on this field. Instead, you should only determine it by checking whether the status is equal to0at any time.

pagestringRequired
pageSizestringRequired
totalRecordsstringRequired
post/orderList.do
200Success

Last updated

Was this helpful?