| GET,POST | /route/ConfirmRoute | 司机路线确认 |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| RouteID | body | string | Yes | 路线编号 |
| DriverID | body | string | Yes | 司机编号 |
| Status | body | int | Yes | 路线状态(1:确认 3:拒绝) |
| Remarks | body | string | Yes | 备注 |
| RoutePrepareInfos | body | List<RoutePrepareInfo> | Yes | 配货信息 |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| PrepareID | form | int | Yes | 配货主键 |
| Sort | form | int | Yes | 路线顺序 |
| EstimateDT | form | DateTime | Yes | 车辆预计到达时间 |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| IsOK | form | bool | Yes | 是否成功 |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ErrorCode | form | int | Yes | 返回编码,200之外的值都表示有错误 |
| ErrorMsg | form | string | Yes | 返回的消息 |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /jsv/reply/ConfirmRouteRequest HTTP/1.1
Host: bookinglogin.hart-worldwide.com
Content-Type: text/jsv
Content-Length: length
{
RouteID: String,
DriverID: String,
Status: 0,
Remarks: String,
RoutePrepareInfos:
[
{
PrepareID: 0,
Sort: 0,
EstimateDT: 0001-01-01
}
]
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
IsOK: False,
ErrorCode: 0,
ErrorMsg: String
}