定时任务请求返回数据格式:
{
"success": false,
"mess": "查询结果:成功/失败",
"branch_id": "客户ID",
"result_items": [{
"api_service_code": "渠道代码ID",
"request_dictionary": {
"key": "value",
"key2": "value"
},
"data": [{
"id": "单号ID",
"picked_up_time": "时间",
"country_en": "国家",
"skip_parse_code": "SkipParseCode",
"hawbcode": "单号1"
}, {
"id": "单号ID",
"picked_up_time": "时间",
"country_en": "国家",
"skip_parse_code": "SkipParseCode",
"hawbcode": "单号1"
}]
},
{
"api_service_code": "渠道代码ID",
"request_dictionary": {
"key": "value"
},
"data": [{
"id": "单号ID",
"picked_up_time": "时间",
"country_en": "国家",
"skip_parse_code": "SkipParseCode",
"hawbcode": "单号1"
}, {
"id": "单号ID",
"picked_up_time": "时间",
"country_en": "国家",
"skip_parse_code": "SkipParseCode",
"hawbcode": "单号1"
}]
}
],
"total_items": 222
}
轨迹查询
request:
[{
"api_service_code": 1,
"request_dictionary": {
"key": "value",
"key2": "value2"
},
"data": [{
"id": "单号ID",
"picked_up_time": "时间",
"country_en": "国家",
"skip_parse_code": "SkipParseCode",
"hawbcode": "单号1"
}, {
"id": "单号ID",
"picked_up_time": "时间",
"country_en": "国家",
"skip_parse_code": "SkipParseCode",
"hawbcode": "单号1"
}]
}]
response:
{
"success": false,
"reason": "结果说明",
"data": [{
"success": false,
"reason": "结果说明",
"hawbcode": "单号1",
"api_service_code": 1,
"state": "物流状态",
"origin": "始发地",
"destination": "目的地",
"details": [{
"description": "轨迹内容",
"location": "地点",
"accept_time": "时间,格式:yyyy-mm-dd hh:mm:ss",
"remark": "轨迹描述备注"
}]
}, {
"success": false,
"reason": "结果说明",
"hawbcode": "单号2",
"api_service_code": 1,
"state": "物流状态",
"origin": "始发地",
"destination": "目的地",
"details": [{
"description": "轨迹内容",
"location": "地点",
"accept_time": "时间,格式:yyyy-mm-dd hh:mm:ss",
"remark": "轨迹描述备注"
}]
}]
}