{
"type": "string",
"shipmentNr": "123-000000123",
"terminalCode": "string",
"arrivalInfo": {
"arrivalGateway": "string",
"transportNr": "string",
"originCountryCode": "string",
"totalWeight": 0,
"totalBags": 0,
"arrivalOn": "2019-08-24T14:15:22Z",
"notes": "string"
},
"bags": [
{
"bagNr": "string",
"destinationCountryCode": "st",
"mailType": "NotRegistered",
"serviceCode": "string",
"containerType": "Bag",
"routeInfo": "string",
"totalWeight": 1,
"tareWeight": 0,
"totalItems": 0
}
]
}
curl --location --request POST 'https://api.test.post-plus.io/api/v1/shipments/bag-level-shipments' \
--header 'Accept: application/json' \
--header 'X-API-KEY: apitest1234567890' \
--header 'Content-Type: application/json' \
--data-raw '{
"type": "string",
"shipmentNr": "123-000000123",
"terminalCode": "string",
"arrivalInfo": {
"arrivalGateway": "string",
"transportNr": "string",
"originCountryCode": "string",
"totalWeight": 0,
"totalBags": 0,
"arrivalOn": "2019-08-24T14:15:22Z",
"notes": "string"
},
"bags": [
{
"bagNr": "string",
"destinationCountryCode": "st",
"mailType": "NotRegistered",
"serviceCode": "string",
"containerType": "Bag",
"routeInfo": "string",
"totalWeight": 1,
"tareWeight": 0,
"totalItems": 0
}
]
}'
{
"id": 0,
"status": {
"hasErrors": true,
"errorDetails": [
"string"
],
"hasWarnings": true,
"warningDetails": [
"string"
],
"status": "Imported",
"canUpdate": true,
"canPrepare": true,
"canSubmit": true,
"createdOn": "2019-08-24T14:15:22Z",
"submittedOn": "2019-08-24T14:15:22Z"
},
"arrivalInfo": {
"arrivalGateway": "string",
"transportNr": "string",
"originCountryCode": "string",
"totalWeight": 0,
"totalBags": 0,
"arrivalOn": "2019-08-24T14:15:22Z",
"notes": "string"
},
"type": "VirtualDespatch",
"transactionType": "B2C",
"manifestLevel": "Parcel",
"shipmentNr": "string",
"masterNr": "string",
"terminalCode": "string",
"totalItems": 0,
"totalItemsCancelled": 0,
"totalWeight": 0,
"totalWeightCancelled": 0,
"totalBags": 0,
"parcelWarnings": 0,
"parcelErrors": 0
}