BulkShipment - adding / removing Pallets
Adding a new Pallet
POST https://api.gsped.it/[INSTANCE]/BulkShipment/pallet
Headers
Name
Description
x-api-key
Apikey provided by Gsped
Body
Name
Type
Required
Description
id
int
Yes
ID of the consolidated shipment, obtained when it was created
dati_pallets
array
Yes
Array containing the details of each pallet
dati_pallets.*.altezza
int
No
Pallet height
dati_pallets.*.larghezza
int
Yes
Pallet width
dati_pallets.*.lunghezza
int
Yes
Pallet length
dati_pallets.*.volume
Int
No
Pallet volume
Request example
{
"id": 634,
"dati_pallets": [
{
"larghezza": 25,
"lunghezza": 35
}
]
}Response
Removing the last pallet that was added
DELETE https://api.gsped.it/[INSTANCE]/BulkShipment/pallet?id=ID_CONSOLIDATA
Headers
Name
Description
x-api-key
Apikey provided by Gsped
Query parameters
Name
Type
Required
Description
id
string
Yes
ID of the consolidated shipment, obtained when it was created
Response
If everything is OK, it simply responds with the shipment number of the consolidated shipment
