1.请求接口地址:https://api.getertrip.com/ticket/book/idCardChange/getIdCardChangeList.html
2.请求入参(标准):appKey(分配给商户的key) timestamp(当前请求的时间戳,和服务器时间超过十分钟会提示超时) sign(请求签名,通过MD5加密商户密钥和时间戳得到)
3.参数说明:
参数名称 | 是否必须 | 描述 |
appKey | 必须 | 分销商编号 |
timestamp | 必须 | 时间戳 |
sign | 必须 | Md5(secret+ timestamp+ secret) |
4.请求入参(业务):type:1(途牛改单类型为2),vendor_order_id:途牛订单号,new_identity_card:新证件号码,order_mobile:下单时预留的手机号
参数名称 | 是否必须 | 描述 |
type | 必须 | 1(途牛改单类型为1) |
vendor_order_id | 选填 | 途牛订单号(查询条件) |
new_identity_card | 选填 | 新证件号码(查询条件) |
order_mobile | 选填 | 下单时预留的手机号(查询条件) |
5.请求地址示例:https://api.getertrip.com/ticket/book/idCardChange/getIdCardChangeList.html?appKey=apitest×tamp=1522226855&sign=2ff6229f908f5fe91f52be36fc4e64701&type=1&vendor_order_id=123&new_identity_card=12345&order_mobile=456
6.返回值描述:返回值为json类型,code成功是1,否则是失败,msg为提示信息。
7.正确返回值:{"code":1,"msg":"操作成功","obj":""}
8.错误返回值:{"code":-1,"msg":"系统异常!"}
9.正式请求接口地址请联系系统管理员。