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

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

与当前比较 查看页面历史

« 前一个 版本 4 下一个 »

Description

The carrier can edit flight information.

Path

HTTP Verb 

URL

Post/services/carrier/lineHaul/edit

Request Elements

Field (API)Data TypeLengthMandatoryDetails
uuidNumber50M

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
attatchmentTypeString?1O

"1"=PDF

"2"=Excel

Default value is 1

attatchmentString
OBase64 format of the file

Response Elements

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














Request message


Request

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

{
    "uuid":"2022-04-13 08:01:02",

    "atd":"2022-05-31 14:20:05",

    "ata":"2022-05-31 17:30:05",

"attatchmentType":"1",

"attatchment": ""
}

Response message


Response

1
2
3
4
5

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

  • 无标签