页面树结构
转至元数据结尾
转至元数据起始

正在查看旧版本。 查看 当前版本.

与当前比较 查看页面历史

« 前一个 版本 6 下一个 »

接口说明

运输商可以通过接口编辑line haul信息。

路径

HTTP Verb 

URL

Post/services/carrier/editLineHaul

请求字段

Field (API)Data TypeLengthMandatoryDetails
uuidString50M

The value responsed in 15. Line Haul API

atd

String

19O

Actual time of departure

Format: yyyy-MM-dd HH:mm:ss,

    • Eg. 2022-05-31 14:20:05

ata

String

19

O

Actual time of arrival

Format: yyyy-MM-dd HH:mm:ss,

    • Eg. 2022-05-31 17:30:05

attachmentFileName

String
O

file name


attachmentString
OBase64 format of the file

响应字段

Field

Type

Mandatory/Optional

Description

status

String

M

Success/Failure

code

Number

O

Return code, please refer to the following code and message relationship table.

message

String

O

Response message, please refer to the following code and message relationship table.

报错信息

code

message

100300

Data is empty. There is no corresponding line haul founded.

2000000

uuid is required.


请求报文

Request
{
"uuid": "Qu57HhAhW6TTTQGm1Dvn_a",
"atd": "2022-05-31 14:20:05",
"ata": "2022-05-31 17:30:05",
"attachmentFileName": "test.pdf",
"attachment": "XXXXX"
} 

响应报文

Response
 {
    "status":"Succeeded",
    "code":0,
    "message":null
}

  • 无标签