页面树结构

版本比较

标识

  • 该行被添加。
  • 该行被删除。
  • 格式已经改变。

Description

The carrier can edit flight information.

Path

HTTP Verb 

URL

Post/services/carrier/editLineHaul

...

Field (API)Data TypeLengthMandatoryDetails
uuidNumberString50M

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 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.


Error Code & Message

code

message
The line hual record cannot be found, uuid is not correct

100300

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

2000000

uuid is required.


Request message

代码块
languagejs
borderStylesolid
firstline1
titleRequest
linenumberstrue
{
    "uuid": "2022-04-13 08:01:02Qu57HhAhW6TTTQGm1Dvn_a",
    "atd": "2022-05-31 14:20:05",
    "ata": "2022-05-31 17:30:05",
    "attachmentFileName": "test.pdf",
    "attachment": "XXXXX"
} 

Response message

代码块
languagejs
borderStylesolid
firstline1
titleRequest
linenumberstrue
 {
    "status":"Succeeded",
    "code":0,
    "message":null
}

...