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

停止出票

Atlas API 停止出票端点参考,用于在适用条件下中止订单出票,并安全管理后续操作。

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

咨询 Eva

当订单流程支持停止出票时,使用 stopTicket.do 中止出票操作。

它用于预订后的运营处理,不属于标准预订步骤。

常见问题

何时应使用 stopTicket.do

仅当当前订单和流程支持停止出票时使用。

在调用前,先确认订单状态和业务处理目标。

停止出票后应做什么?

查询订单以确认当前状态和可用的后续操作。

使用查询订单获取订单与出票进度。

停止出票与作废是否相同?

不是。停止出票用于中止适用流程中的出票操作。

作废适用于符合航司作废条件的订单。使用作废处理作废流程。

相关指南

使用订单维护确认停止出票的适用边界。

Stop Ticket Issuance

post

Dependency: Payment function should be called in prior to this call.

Endpoint: https://sandbox.atriptech.com/stopTicket.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
orderNostringRequired

The order number of the ticket order you want to stop ticket issuance.

Responses
200Success
application/json
statusintegerRequired

-0: success -other: fail

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.

post/stopTicket.do
200Success

Last updated

Was this helpful?