停止出票
Last updated
Was this helpful?
Last updated
Was this helpful?
已在API中发布了一个停止出票的功能。这个功能既可以通过ATRIP(已存在)触发,也可以通过API触发。
API
端点:
请求
{
"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订单状态的定义将有所不同。
ATRIP
点击按钮,如果拦截成功,将弹出框显示“Operation successful”。如果拦截失败,将弹出框显示失败原因。