...
HTTP Verb | URL |
---|---|
Post | /services/carrier/lineHaul |
RequestParameter
Field (API) | Data Type | Length | Mandatory | Details | |||||||
bizType | Number | M | Type of transportation, when select the following serial numbers: 1: Air Transport; 2: Land Transportation; 3: Ocean Transport; 4: Railway Transport | ||||||||
mawb | String | 40 | M | Mainflightnumber | |||||||
flightNo | String | 80 | M | Flightnumber | |||||||
etd | String | 80 | M | Estimatedtimeofdeparture |
Format: |
yyyy-MM-ddHH:mm:ss,
|
|
eta | String | 80 | M | Estimatedtimeofarrival |
Format: |
yyyy-MM-ddHH:mm:ss,
|
|
origin | String | 80 | M | Departureairportcode | |||||||
destination | String | 80 | M | Destinationairportcode | |||||||
totalParcels | String | 80 | M | Totalnumberofparcels | |||||||
dataType | Number | 80 | M | Type,chooseone 1.Parcel(TrackingNo.) 2.Bag(BagNo. | |||||||
dataNos | List | 200 | M | Whendatatypechoose“1”,input TrackingNo., Whendatatypechoose“2”,inputBag No | |||||||
atd | String | 80 | O | Actual time of departure Format: yyyy-MM-dd HH:mm:ss,
| |||||||
ata | String | 80 | O | Actual time of arrival Format: yyyy-MM-dd HH:mm:ss, |
...
| |||||||||||
airlineCheckIn | String | 80 | O | Airline Check-In Time Format: yyyy-MM-dd HH:mm:ss,
| |||||||
recovery | String | 80 | O | Fields for other purposes Format: yyyy-MM-dd HH:mm:ss,
| |||||||
handoverTime | String | 80 | O | Delivery time Format: yyyy-MM-dd HH:mm:ss,
| |||||||
rcsTime | String | 80 | O | Fields for other purposes Format: yyyy-MM-dd HH:mm:ss,
| |||||||
via1 | String | O | First stopover | ||||||||
via2 | String | O | Second stopover | ||||||||
hawb | String | O | 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 | O | Remark |
Request Elements
Field | Type | Mandatory/Optional | 说明 |
status | String | M | Success/Failure |
code | Number | O | Returncode,Please refer to the following code and message relationship table |
message | String | O | Responsemessage,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(大袋号错误)error |
140007 | XXX Barcode already exists(已经存在)exists |
2000000 | XXX is required. (XXX字段不可以为空) |
1002000 | Time is invalid. (时间是无效的) |
1003000 | Data is empty(参数为空)empty |
Request message
代码块 | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
{ "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
代码块 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
{ "status":"Succeeded", "code":0, "message":null } |
...