基本信息
Item |
Info |
URL |
/nsc/v1/trailer-order/status-callback |
Method |
POST |
Content-Type: |
application/json |
接口输入参数
参数示例
{
"order_id": "826127771471626630",
"service_type": 1,
"order_status": "1000",
"update_time": 1562148667,
"resource_info": [
{
"plate_number": "京x123456",
"resource_type": "trailer",
"status": "1000",
"estimate_arrive_time": 1234567890,
"staff_info": {
"name": "cc",
"phone": "12312345678"
},
"location": {
"latitude": 36.443333,
"longitude": 115.969948
}
}
],
"images": [
{
"url": "cdn.xxx.com/ss.jpg"
}
]
}
参数说明
参数名 |
必选 |
类型 |
说明 |
order_id |
是 |
string |
订单 ID |
service_type |
是 |
int |
服务单类型,参见 拖车服务单类型 |
order_status |
是 |
string |
拖车单状态,参见 拖车单状态 |
update_time |
否 |
timestamp |
状态更新时间 |
resource_info |
是 |
list |
资源信息 |
- plate_number |
否 |
string |
调派车辆的车牌 |
- status |
否 |
string |
资源当前状态,参见 拖车单状态 |
- resource_type |
是 |
string |
调派车辆类型,参见拖车资源类型 |
- estimate_arrive_time |
否 |
timestamp |
预计到达时间 |
- staff_info |
是 |
object |
司机信息 |
-- name |
否 |
string |
姓名 |
-- phone |
是 |
string |
联系方式 |
images |
否 |
List |
图片列表 |
- url |
否 |
String |
图片链接 |
返回参数说明
键 |
类型 |
说明 |
request_id |
string |
见 API 规范 |
result_code |
string |
见 API 规范 |
debug_msg |
string |
见 API 规范 |
display_msg |
string |
见 API 规范 |
server_time |
timestamp |
见 API 规范 |
返回示例
{
"request_id":"12334q83mdcc0-22435",
"result_code":"success",
"debug_msg":"success",
"display_msg":"success",
"server_time":1518143886
}