功能
代步车租车单信息变更回调蔚来。
基本信息
Item | Info |
---|---|
URL | /nsc/v1/car-rental-order/update |
Method | POST |
Content-Type: | application/json |
接口签名规范
为保证通讯安全,Open NSC 侧会用和验签相同的加签方式(见 签名规范),对发送的请求进行签名。
Post body 格式
application/json
参数示例
{
"order_no":"826127771471626630",
"vehicle_info": {
"branch_name":"宝马",
"car_model_name":"X3",
"plate_number":"皖A178AL"
},
"order_status":1,
"pick_up_location":{
"address":"安徽省合肥市瑶海区嘉山路利港·银河新城",
"latitude":31.898491,
"longitude":117.290782
},
"return_location":{
"address":"安徽省合肥市蜀山区长宁大道与彩虹路交口",
"latitude":31.843301,
"longitude":117.118187
},
"pick_up_time":1656841034,
"return_time":1656845034
}
参数说明
参数名 | 必选 | 类型 | 说明 |
---|---|---|---|
order_no | yes | string | 蔚来订单号 |
business_no | yes | string | 供应商订单号 |
vehicle_info | no | string | 车辆信息 |
--branch_name | no | string | 品牌名称 |
--car_model_name | no | string | 车型名称 |
--plate_number | no | string | 车牌号 |
order_status | no | integer | 供应商订单状态,参见 租车服务单类型 |
pick_up_time | no | long | 取车时间,unix timestamp,精度到秒 |
return_time | no | long | 还车时间,unix timestamp,精度到秒 |
pick_up_location | no | string | 取车位置信息 |
--address | no | string | 地址 |
--latitude | no | double | 纬度 |
--longitude | no | double | 经度 |
return_location | no | string | 还车位置信息 |
--address | no | string | 地址 |
--latitude | no | double | 纬度 |
--longitude | no | double | 经度 |
supplier_code | yes | integer | 供应商编号,1005-凹凸租车;1006-首汽租车 |
接口返回信息
返回示例
{
"result_code": "success",
"display_msg": "success",
"request_id": "0a6f981aj9xvewih_23",
"server_time": 1510558306
}
返回参数说明
键 | 类型 | 是否必须 | 说明 |
---|---|---|---|
request_id | string | 是 | 见api规范 |
result_code | string | 是 | 见api规范 |
display_msg | string | 是 | 见api规范 |
server_time | long | 是 | 见api规范 |