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

Description

The carrier is used to sort parcels.

Path

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

Request field

#Field (API)Data TypeLengthMandatoryDetails

1barcodeString40M

he barcode on the scanned label, if
a label contains more than one
barcode, separated by ";"

Response content

Field

Type

Mandatory/Optional

Description

status

 

Enumeration

M

Success/Failure

errors

 

Arrays

O

Errors

data

 

Objects

M

Operational Data

 

barcode

String

M

Requested barcode

 

serviceName

String

M

Service name

 

destinationCountry

String

M

ISO code

 

serviceOption

String

O

Service option

 

battery

Boolean

M

With or without battery
(default:0)
0: without
1: with

 

sortationStatus

Enumeration

M

Sortation status:
1: bagged
2: unweighed

3. despatched
4. hold

 

bagNo

String

O

Bag number. If sortationStatus
is 1, the bag number is
returned

 

sortCode

String

M

Service sortation code

warnings

 

String

O

Warning message

Request message


Request
{
    "barcode": "JDQ002640401000931504;4006318030224108"
}
  

Response message


Response
{
    "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
}


  • 无标签