CargoPlans

Add cargo to a load plan

Changed on

Adds a pallet unit with cargo to an existing draft load plan.

post/cargo-plans/{id}/cargo

Request

  • Base URL: http://localhost:3000
  • URL: http://localhost:3000/cargo-plans/{id}/cargo
  • Auth: none declared

Path parameters

idstring uuid required

UUID of the load plan

Request body

palletType'epal1' | 'industrial' | 'half' | 'cp1' | 'cp3' | 'h1' required

Supported pallet types

cargoType'FOOD' | 'CHEMICAL' | 'ELECTRONICS' | 'ADR' | 'GENERAL' required

Type of cargo being transported

weightKgnumber required

Weight of the cargo in kilograms

cargoHeightMminteger required

Height of the cargo (without pallet) in millimetres

Example request

{
  "weightKg": 600,
  "cargoHeightMm": 1200
}

Response

Cargo added successfully – no body returned.

Changes