页面树结构

版本比较

标识

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

...

The carrier is used to export related template in export page. Note: The API returns a file as a byte stream.  


Path

HTTP Verb 

URL

Post

services/carrier/export


Request Field

Field(API)

Data Type

Mandatory/Optional

DetailsDescription

mawbs

List<String>

O

Master Air WayBill (one of the first three fields must be filled in, otherwise, it will report errors)

trackingNos

List

O

Tracking No. (one of the first three fields must be filled in, otherwise, it will report errors.)

bagNos

List

O

Bag No. (one of the first three fields must be filled in, otherwise, it will report errors.)

businessType

Integer

M

Typetype, the API supports one of the three methods

1. Parcel【the Parcel【The original template is exported in from Shipping Orders Page】

2. Bag【t Bag【The original template is exported in from Bagging Page

3. Linehaul【t Linehaul【The original template is exported in from Line Haul Page

exportType

String

M

Please contact eTower to get related value of the transmission.

...

代码块
languagejs
borderStylesolid
firstline1
titleRequest
linenumberstrue
{
    "mawbs": ["7846787856516011111155"],
    "bagNos":"NS78467878565" [],
    "trackingNos": [],
    "businessType": "3",
    "exportType": "XXXTemplate"
}
   


Response message


Successful example

...

Code

Description

990000

XX No. was not generated, special error

999402

businessType is required

999403

must fill in one of three fields: trackingNos & bagNos & mawbs

999404

businessType transmission error

999405

exportType transmission error

999406

exportType is required

999407

the queried data is empty

100004

system error, please contact administrator

999409mawbs/trackingNos/bagNos is required