12 pallets and 8 drums in a mega trailer
Drums are not stackable and come off last, so they go in first, at the front.
curl -X POST "https://api.app.transportial.com/api/load-plan/calculate" \
-H "x-api-key: $TRANSPORTIAL_KEY" \
-H "x-api-secret: $TRANSPORTIAL_SECRET" \
-H "Content-Type: application/json" \
-d @request.json{
"equipment": [{ "code": "EU_TRAILER_MEGA" }],
"items": [
{ "id": "eur-pallets", "quantity": 12, "lengthMm": 1200, "widthMm": 800, "heightMm": 1500, "weightG": 450000, "unloadStop": 1 },
{ "id": "drums", "quantity": 8, "lengthMm": 600, "widthMm": 600, "heightMm": 900, "weightG": 200000, "stackable": false, "unloadStop": 2 }
],
"options": { "timeBudgetMs": 500 }
}{
"success": true,
"result": {
"status": "FITS",
"equipment": [
{
"equipmentId": "EU_TRAILER_MEGA",
"weightG": 7000000,
"volumePercent": 19.64,
"floorPercent": 25.62,
"loadingMeters": 3.6,
"axleLoads": [
{ "support": "FRONT", "loadG": 8651283, "maxG": 12000000 },
{ "support": "REAR", "loadG": 5348717, "maxG": 24000000 }
],
"placements": [
{ "itemId": "drums", "unit": 0, "equipmentId": "EU_TRAILER_MEGA", "xMm": 0, "yMm": 0, "zMm": 0, "lengthMm": 600, "widthMm": 600, "heightMm": 900, "tipped": false, "sequence": 0, "loadStop": 0, "unloadStop": 2 }
]
}
],
"unplaced": []
}
}Trimmed to the first of 20 placements.