Description
Carrier are used to create big bag |
Path
HTTP Verb | URL |
---|---|
Post | /services/integration/carrier/create-bag |
Request field
# | Field (API) | Data Type | Length | Mandatory | Details | |||||||
1 | service | String | 40 | M | Service | |||||||
2 | country | String | 40 | M | ISOcode | |||||||
3 | serviceOption | String | 40 | O | Serviceoption | |||||||
4 | bagNo | String | 40 | O | Bagnumber;Reservedbagno. | |||||||
5 | battery | Bool | 2 | M | Withorwithoutbattery(default:0) 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
代码块 | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
{ "service": "MiniPak EU Direct Injection", "country": "NL", "serviceOption": "Non-Boxable", "battery": 0 } |
Response message
代码块 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
{ "status": "Success", "errors": null, "data": { "bagNo": "680009900001/0055-76" } } |