The JSON represents an empty container configuration for a shipping container, such as a 53-foot intermodal SeaVan, used in the CubeMaster API V2. This API provides a RESTful interface for building and managing truck, trailer, pallet, ULD, and box loadings (as per the CubeMaster API documentation). The EmptyContainer
schema defines the physical properties, constraints, and visual attributes of an empty container, typically embedded as the emptyContainer
field in a larger cargo loading JSON structure returned by endpoints like POST /Loads
.
The EmptyContainer
schema is part of the response from the POST /Loads
endpoint, which builds a new load and saves it to the loads database. It can also be retrieved or managed via endpoints like GET /Database/Containers/{type}
and POST /Database/Containers/{type}
. The schema supports parameters like containerDetailLoadedFromDatabase
(boolean, default: false), which, if true, loads container details from the containers database based on the container name, otherwise requiring full details in the request body.
Key API parameters affecting the container include:
UOM
(string, query): Specifies the unit of measure (e.g., UnitMetric
, UnitEnglish
, UnitHighMetric
). The provided JSON uses UnitMetric
(cm for dimensions, kg for weight).graphicsCreated
(boolean, query): If true, generates images for the container in the Graphics.images
member.spacesCreated
(boolean, query): If true, includes the Spaces
member with build steps.ContainerTypeEnum
(e.g., Carton, Pallet, SeaVan).VehicleTypeEnum
(e.g., Dry, Refrigerated).PalletTypeEnum
.CartonTypeEnum
.containerType
, colorHexaCode
).length
, color
).palletOverhang
, palletUnderhang
.zones
, vehicleDropDeckRearSize
.The EmptyContainer
schema defines the properties and constraints of an empty shipping container for logistics planning and cargo optimization within the CubeMaster API V2. It is used to initialize a container before loading cargoes, supporting endpoints for creating, retrieving, and managing container data in the containers database.
Below is a JSON sample representing an empty 53-foot intermodal container, adhering to the EmptyContainer
schema in the CubeMaster API V2.
{
"containerType": "SeaVan",
"vehicleType": "Dry",
"palletType": "Wood2WaysDoube",
"cartonType": "Tuck",
"qty": 0,
"length": 631,
"width": 100,
"height": 111,
"emptyWeight": 0,
"maxLength": 0,
"maxWidth": 0,
"maxHeight": 111,
"maxWeight": 63000,
"palletThickness": 0,
"maxVolPercent": 0,
"name": "53FT-Intermodal",
"description": "",
"priority": 0,
"maxCargoTypes": 0,
"color": 65535,
"colorHexaCode": "",
"colorKnownName": "",
"palletOverhang": false,
"palletOverhangLength": 0,
"palletOverhangWidth": 0,
"palletUnderhang": false,
"palletUnderhangLength": 0,
"palletUnderhangWidth": 0,
"price": 0,
"maxPrice": 0,
"zones": null,
"vehicleDropDeckRearSize": null,
"vehicleDropDeckFrontSize": null
}
Notes: Represents an empty 53-foot intermodal SeaVan with dimensions 631 cm (length), 100 cm (width), and 111 cm (height), and a maximum weight capacity of 63,000 kg. It uses UnitMetric
for measurements, with no cargo loaded and no specific color or zoning defined. This JSON can be used in API calls like POST /Loads
or managed via /Database/Containers
endpoints.