> For the complete documentation index, see [llms.txt](https://resources.atriptech.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://resources.atriptech.com/bang-zhu-zhong-xin/re-men-fen-lei/shou-qian-piao-wu/ru-he-ting-zhi-chu-piao.md).

# 如何停止出票？

停止出票，既可以通过ATRIP 触发，也可以通过API触发。具体说明如下：

### **1.ATRIP**

操作路径：ATRIP ->订单中心 ->我的订单 ->订单详情 ->停止出票

<figure><img src="/files/sJl5pnZjgQv8yN7KtycA" alt=""><figcaption></figcaption></figure>

操作说明：&#x20;

在订单详情页，点击“停止出票”按钮，系统需要约10分钟进行处理，请耐心等待。&#x20;

处理完成后，页面将提示“操作成功”或具体的失败原因，请留意提示信息，并关注订单状态更新。&#x20;

### **2.API**

端点: <https://sandbox.atriptech.com/stopTicket.do>

**请求**

```
{
"cid": "XXXXXXXX",
"orderNo": "ZNMKU20220119160129691"
}
```

**响应**

```
{
"status": 0,
"msg": "We are trying to intercept the ticket issuance. Please check the order status for result after 8 minutes"
}
```

成功并不意味着已成功拦截出票。这只是表示系统将开始尝试拦截出票。

需要在8分钟后通过查询订单状态的Retrieve Booking（queryOrderDetails.do）来获得拦截出票的结果。

**orderStatus**: -3, 表示拦截成功。

**orderStatus**: 2, 表示拦截失败，订单已出票。

当发送“停止出票”请求后，queryOrderDetails.do订单状态的定义将有所不同。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://resources.atriptech.com/bang-zhu-zhong-xin/re-men-fen-lei/shou-qian-piao-wu/ru-he-ting-zhi-chu-piao.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
