API說明

API位置 /new_ezding/check_asiamails_no
需求描述 驗證亞洲萬里通卡號規則
傳輸物件格式 json
方法 POST

範例

curl -X POST     \
-H " X-Ftcsys-key: {KEY}" \ 
-H " X- Accept-Language: {language}" \
-H "Content-Type: application/json" \ 
-d '{
"aisamiles_no": "1597845274"
}
https://{endpoint}/new_ezding/check_asiamails_no

回傳範例 - 驗證成功

< 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
{
  "result": "",
  "code": 403,
  "status": "failure"
}

接收URL參數

參數 名稱 範例 必填 備註
asiamiles_no 亞洲萬里通卡號 1597846274 Y

results matching ""

    No results matching ""