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 | ISO code | |||||||
3 | serviceOption | String | 40 | O | Service option | |||||||
4 | bagNo | String | 40 | O | Bag number; Reserved bag no. | |||||||
5 | battery | Bool | 2 | M | With or without battery (default:0) 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" } }