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

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

与当前比较 查看页面历史

版本 1 当前 »

Description

Carrier are used to create big bag

Path

HTTP Verb URL
Post/services /integration/carrier/create-bag

Request field

#Field (API)Data TypeLengthMandatoryDetails
1serviceString40M

Service

2countryString40MISO code
3serviceOptionString40OService option
4bagNoString40OBag number; Reserved bag no.
5batteryBool2M

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

1: with

Response content

Field

Type

Mandatory/Optional

Description

status

 

Enumeration

M

Success/Failure

errors

 

Arrays

O

Errors

data

 

Objects

M

Operational Data

 

bagNo

String

O

Bag number


Request message

Request
{
    "service": "MiniPak EU Direct Injection",
    "country": "NL",
    "serviceOption": "Non-Boxable",
    "battery": 0
}  

Response message

Response
 {
    "status": "Success",
    "errors": null,
    "data": {
              "bagNo": "680009900001/0055-76"
            }
}
  • 无标签