API說明

API位置 /new_ezding/orders/cancel_booking_record
需求描述 取消訂票紀錄
傳輸物件格式 json
方法 POST

範例

curl -X POST     \
-H " X-Ftcsys-key: {KEY}" \ 
-H " X-Ftc-Authorization: {token}" \
-H " X- Accept-Language: {language}" \
-H "Content-Type: application/json" \ 
https://{endpoint}/new_ezding/orders/cancel_booking_record?order_id=0000430b90ce4cbd916857ee8710b584

回傳範例 - 取消成功

< HTTP/1.1 200 OK
< Content-Type: application/json; charset=UTF-8
{
  "result": "",
  "code": 200,
  "status": "success"
}

回傳錯誤 - 取消失敗

< HTTP/1.1 403 Forbidden
< Content-Type: application/json; charset=UTF-8
{
  "code": 403.001,
  "message": "該訂單已退票",
  "status": "failure"
}

接收URL參數

參數 名稱 範例 必填 備註
order_id 訂單ID 0000430b90ce4cbd916857ee8710b584 Y

results matching ""

    No results matching ""