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

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

与当前比较 查看页面历史

« 前一个 版本 3 当前 »

Description

Carrier are used to push tracking information.

Path

HTTP Verb URL
Post/services/integration/carrier/bagNos?serviceCode={CODE}&count={NUMBER}&sortCode={SORT CODE}

Request field

#Field (API)Data TypeLengthMandatoryDetails

1serviceCodeString40M

service code provided by the logistics

2countNumber20O

number of bags

The max volume of received bag No. is 100 at a time. System returns one bag No. as default when the count is blank.

3sortCodeString8Oprovided by the logistics. Different services have different sortCode.

Response content

a)   If bag number that system returned is blank, it means that for this service, acquiring
reserved bag number through the API is not supported


Request message

Request
/services/integration/carrier/bagNos?serviceCode=UBI.ASP.CN2AU.AUPOST&count=3&sortCode=SYD

Response message

Response
[
    "DEMOSYD20170608014643",
    "DEMOSYD20170608014644",
    "DEMOSYD20170608014645"
]
  • 无标签