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

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

与当前比较 查看页面历史

« 前一个 版本 7 下一个 »

Description

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

Path

HTTP Verb URL
Post/services/carrier/lineHaul

Request Elements

Field (API)Data TypeLengthMandatoryDetails
bizTypeNumber
M

Type of transportation, when select the following serial numbers:

1: Air Transport;       2: Land Transportation;

3: Ocean Transport; 4: Railway Transport

mawbString40M

Master Air WayBill

flightNoString80MFlight number
etdString19M

Estimated time of departure

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

    • Eg. 2022-04-12 08:01:02
etaString19M

Estimated time of arrival

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

    • Eg. 2022-04-12 08:01:02
originString80MDeparture airport code
destinationString80MDestination airport code
totalParcelsString80

M

Total number of parcels
dataTypeNumber

M

Typechoose one
1. Parcel (Tracking No.)
2. Bag (Bag No.
dataNosList200

M

When datatype choose 1, input
Tracking No.
When datatype choose 2, input Bag
No

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

airlineCheckIn

String

19

O

Airline Check-In Time

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

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

recovery

String

19O

Fields for other purposes

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

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

handoverTime

String

19O

Delivery time

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

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

rcsTime

String

19

O

Fields for other purposes

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

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

via1

String

3O

First stopover 

via2

String

3O

Second stopover

hawb

String

32O

House Air Waybill

grossWeight

Double


O

Gross Weight (Unit: Kg)

volumetricWeight

Double


O

Volumetric Weight (Unit: Kg)

chargeableWeight

Double


O

Chargeable Weight (Unit: Kg)

comments

String


O

Comments

remark

String

255O

Remark

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

999400

MAWB is required

300051

The bag no is error.

140007

XXX Barcode already exists.

2000000

XXX is required.

1002000

Time is invalid

1003000

Data is empty.

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


Request message

Request
{
    "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

Response
{
    "status":"Succeeded",
    "code":0,
    "message":null
}
  • 无标签