# Stop Ticket Issuance

**The "Stop Ticket Issuance" operation is supported through both the ATRIP system and an API interface. The specific instructions are as follows:**

### **1.ATRIP**

**Path:** ATRIP -> Bookings -> My Bookings -> Booking Details ->Stop Ticket Issuance

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

**Instructions:**

On the Order Details page, click the "Stop Ticket Issuance" button. The system will take approximately 10 minutes to process the request.&#x20;

If the interception is successful, a pop-up box will be displayed to show "Operation successful". If the interception fails, a pop-up box will be displayed to show the reason for the failure.

Please take note of this message and check the order status for updates.

### **2.API**

Endpoint: <https://sandbox.atriptech.com/stopTicket.do>

**Request**

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

**Response**

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

Success does not mean that the ticket issuance has been stopped successfully. It only means that the system will attempt to stop the ticket issuance.

The result of stopping ticket issuance needs to be obtained by querying the order status of Retrieve Booking (queryOrderDetails.do) after 8 minutes.

**orderStatus**: -3, means stop issuance successfully.

**orderStatus**: 2, means stop issuance failed, the order is issued.

The definition of the queryOrderDetails.do order status will be different when the request is sent after the "Stop Ticket Issuance" request.


---

# Agent Instructions: 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:

```
GET https://resources.atriptech.com/popular-topics/ticketing/stop-ticket-issuance.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
