页面树结构

版本比较

标识

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

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

2countryString40MISOcode
3serviceOptionString40OServiceoption
4bagNoString40OBagnumber;Reservedbagno.
5batteryBool2M

Withorwithoutbattery(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

OperationalData

 

bagNo

String

O

Bagnumber


Request message

代码块
languagejs
borderStylesolid
firstline1
titleRequest
linenumberstrue
{
    "service": "MiniPak EU Direct Injection",
    "country": "NL",
    "serviceOption": "Non-Boxable",
    "battery": 0
}  


Response message

代码块
languagejava
firstline1
titleResponse
linenumberstrue
 {
    "status": "Success",
    "errors": null,
    "data": {
              "bagNo": "680009900001/0055-76"
            }
}