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

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

与当前比较 查看页面历史

« 前一个 版本 9 当前 »

Description

Transporters are used to push tracking information.

Path

HTTP Verb URL
Post/services/integration/carrier/trackingEvents


Request Parameter

#FieldMandatory/OptionallengthDescription
1trackingNo M40Tracking number
2eventTimeMDateTime when the event happens
3eventCodeM8Event code
4activityO256Description of the event
5location O60Location
6timeZoneO

Fix format.

"GMT+1:00" or "GMT+1"

time zone.

If null, defaults to 'GMT+8:00'


Response Parameter

#

Field

Type

Mandatory/Optional

Description

1

status

Enumeration

M

Success/Failure

2

errors

Arrays

O

Response errors. Please refer to the following code and message.

3

data

Objects

O

Operational Data

4warningsStringOWarning message

Error Message

code

message

520005

trackingNo is empty, please check

520006

eventTime is empty, please check

520007

eventCode is empty, please check

520008timezone value is invalid


Request message

Request
[
    {
      "trackingNo": "BRF0000013011420",
      "eventTime": "2022-12-21T08:01:02",
      "eventCode": "SCN",
      "activity": "Item despatched to Transshipment hub",
      "location": "SHANGHAI",
      "timeZone": "GMT+1:00"
    }
]

Response message

Response
{
    "status": "Success",
    "errors": [
        {
            "code": 0,
            "message": ""
        }
    ],
    "data": null,
    "warnings": null
}
  • 无标签