PreviousNext
Help > Schema > Cargo > Style Property
Style Property

Applies To

Web API.Cargo

Description

Sets or gets if the style of the cargo.

Syntax

Property Style As CargoStyleEnum

Data Type

string as CargoStyleEnum

Remark

Four types are available.

Value

Description

Enumeration

0

A rectangular or square object to be referred to as an individual item.

styleShipcase

1

A cylindrical object to be referred to as a single item.

styleRoll

2

A palletload is a cargo that represents an entire unitload. It is beneficial to define a cargo as a unitload any time you want to show a single object loaded onto a pallet or slipsheet. For example, you might receive a complete palletload of product from a supplier. Rather than referring to the palletload as 50 cases of peanut butter, you can refer to it as one pallet of peanut butter. If you do want to show 50 cases of peanut butter loaded onto a pallet – and have some say in the pallet pattern used when building the unitload – define the cargo as a shipcase or drum, then create a unitload for the cargo by using the Palletizing.

stylePalletload

 

Please note you cannot define a Unitload cargo style via API. Instead, please use the Palletizing property to set the pallet configuration of the shipcase cargoes.

 

 

Palletload

Shipcase

 

 

A screenshot of a computer

Description automatically generated

A diagram of a shipping container

Description automatically generated