页面树结构

版本比较

标识

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

Description

The carrier is used to sort parcels.

Path

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

Request field

#Field (API)Data TypeLengthMandatoryDetails

1barcodeString40M

hebarcodeonthescannedlabel,if
alabelcontainsmorethanone
barcode,separatedby";"

Response content

Field

Type

Mandatory/Optional

Description

status

 

Enumeration

M

Success/Failure

errors

 

Arrays

O

Errors

data

 

Objects

M

OperationalData

 

barcode

String

M

Requestedbarcode

 

serviceName

String

M

Servicename

 

destinationCountry

String

M

ISOcode

 

serviceOption

String

O

Serviceoption

 

battery

Boolean

M

Withorwithoutbattery
(default:0)
0:without
1:with

 

sortationStatus

Enumeration

M

Sortationstatus:
1:bagged
2:unweighed

3.despatched
4.hold

 

bagNo

String

O

Bagnumber.IfsortationStatus
is1,thebagnumberis
returned

 

sortCode

String

M

Servicesortationcode

warnings

 

String

O

Warningmessage

...

Request message


代码块
languagejs
borderStylesolid
firstline1
titleRequest
linenumberstrue
{
    "barcode": "JDQ002640401000931504;4006318030224108"
}
  

...

Response message


代码块
languagejava
firstline1
titleResponse
linenumberstrue
{
    "status": "Success",
    "errors": null,
    "data": [
        {
            "serviceOption": "E-Parcel",
            "bagNo": "INTSYBNE20210729006853",
            "serviceName": "AU Post eParcel",
            "battery": "0",
            "destinationCountry": "AU",
            "barcode": "JDQ002640401000931504",
            "sortCode": "BNE",
            "sortationStatus": "1"
        }
    ],
    "warnings": null
}

...