页面树结构

版本比较

标识

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

Description

The carrier is used to upload flight information to the package.

Path

HTTP Verb URL
Post/services/carrier/lineHaul

Request

...

Elements

1Field (API)Data TypeLengthMandatoryDetails
2bizTypeNumber
M

Type of transportation, when select the following serial numbers:

1: Air Transport;       

2: Land Transportation;

3: Ocean Transport;

4: Railway Transport

3mawbString40M
Mainflightnumber

Master Air WayBill

4flightNoString80MFlightnumber
5etdString
80
19M

Estimatedtimeofdeparture

(

Format:


yyyy-MM-ddHH:mm:ss,

    • Eg.2022-04-

    • 1208:01:02
)
6etaString
80
19M

Estimatedtimeofarrival

(

Format:


yyyy-MM-ddHH:mm:ss,

    • Eg.2022-04-

    • 1208:01:02
)
7originString80MDepartureairportcode
8destinationString80MDestinationairportcode
9totalParcelsString80

M

Totalnumberofparcels
10dataTypeNumber
80

M

Typechooseone
1.Parcel(TrackingNo.)
2.Bag(BagNo.
11dataNosList200

M

Whendatatypechoose1,input
TrackingNo.
Whendatatypechoose2,inputBag
No

...

12

atd

String

19O

Actual time of departure

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

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

ata

String

19

O

Actual time of arrival

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

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

airlineCheckIn

String

19

O

Airline Check-In Time

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

    • Eg. 2022-05-31 18:30:05
15

recovery

String

19O

Fields for other purposes

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

    • Eg. 2022-05-31 18:40:05
16

handoverTime

String

19O

Delivery time

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

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

rcsTime

String

19

O

Fields for other purposes

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

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

via1

String

3O

First stopover 

19

via2

String

3O

Second stopover

20

hawb

String

32O

House Air Waybill

21

grossWeight

Double


O

Gross Weight (Unit: Kg)

22

volumetricWeight

Double


O

Volumetric Weight (Unit: Kg)

23

chargeableWeight

Double


O

Chargeable Weight (Unit: Kg)

24

comments

String


O

Comments

25

remark

String

255O

Remark

Response Elements

1Field

Type

Mandatory/Optional

Description

说明
2

status

String

M

Success

Succeeded/Failure

3

code

Number

O

Returncode,

Please

please refer to the following code and message relationship table.

4

message

String

O

Responsemessage

,Please

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

5uuidStringMThe unique identifier for this LineHaul record.

Error Code & Message

code

message

999400

mawb

MAWB is required

(航空主单号不可以为空)

300051

The bag no is

error(大袋号错误)

error.

140007

XXX Barcode already

exists(已经存在)

exists.

2000000

XXX is required.

(XXX字段不可以为空)

1002000

Time is invalid

. (时间是无效的)

1003000

Data

is empty(参数为空)

is empty.

2200018The port is not configured, please contact the system administrator.
2200004The airline is not configured, please contact the system administrator.
2200005MAWB is invalid.


Request message

代码块
languagejs
borderStylesolid
firstline1
titleRequest
linenumberstrue
{
    "bizType":"1",
    "mawb":"78467878565",
    "flightNo":"CZ455",
    "etd":"2022-04-12 08:01:02",
    "eta":"2022-04-13 08:01:02",
    "origin":"CAN",
    "destination":"AMS",
    "atd":"2022-05-31 14:20:05",
    "ata":"2022-05-31 17:30:05",
    "totalParcels":"2",
    "dataType":1,
    "dataNos":[
               "JB000013817",
               "000013802"
              ]
}


Response message

代码块
languagejava
firstline1
titleResponse
linenumberstrue
{
    "status":"Succeeded",
    "code":0,
    "message":null,
    "uuid": "Qu57HhAhW6TTTQGm1Dvn_a"
}