Stop Ticket Issuance
Last updated
Was this helpful?
Last updated
Was this helpful?
A stop ticket issuance function has been released in API. This function can be triggered via ATRIP (already existing) as well as API.
API
Endpoint:
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.
ATRIP
On clicking the button, 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.