多仓排单排线查询
GET
/ros/v3/scheduler/problem
返回码 | 定义 | 常见原因 |
---|---|---|
200 | 返回成功 | 服务请求正常召回 |
400 | 请求失败 | 请求参数不合法,请按照返回提示修改参数 |
401 | 未鉴权 | ak不合法或者账号未开通相应权限 |
403 | 禁止 | 未开通白名单,请前往反馈工单联系我们 |
503 | 服务不可用 | 服务异常,请前往反馈工单联系我们 |
500 | 内部服务错误 | 服务异常,请前往反馈工单联系我们 |
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.map.baidu.com/ros/v3/scheduler/problem?ak=&ak=&problemId='
响应示例响应示例
{
"id": "string",
"status": "string",
"errorCode": "string",
"errorMessage": "string",
"solution": {
"totalTravelDistance": 0,
"totalTravelTime": 0,
"routes": {
"id": "string",
"vehicleModelId": "string",
"travelDistance\t": 0,
"travelTime": 0,
"startLocation": {
"locationId": "string",
"coordinate": {
"latitude": 0,
"longitude": 0,
"address": "string"
},
"departureTime": 0
},
"routePlans": {
"serviceJobId": "string",
"routeCoordinates": {
"latitude": 0,
"longitude": 0,
"address": "string"
},
"departureTime": 0,
"arrivalTime": 0,
"coordinate": {
"latitude": 0,
"address": "string",
"longitude": 0
}
},
"routeMessage": {
"code": "string",
"message": "string"
}
}
}
}
请求参数
Query 参数
ak
string
必需
problemId
string
必需
返回响应
修改于 2022-08-22 02:14:48