Skip to main content
POST
Create handling_unit

Authorizations

x-api-key
string
header
required

API key for authentication. Contact your administrator to get an API key.

Body

application/json

Handling unit input data for creation

code
string
required

Handling unit code

material_id
string
required

Related material ID

delivery_id
string<uuid> | null

Related delivery ID (optional)

zone_id
string<uuid>

Related zone ID (optional)

site_id
string<uuid>

Related site ID (optional)

date
string<date-time> | null

Custom creation date (optional, must be in the past)

Response

Successfully created handling_unit

Handling_unit entity (API response)

id
string<uuid>

Unique identifier

created_at
string<date-time>

Creation timestamp

code
string

code code

material_code
string

material code

material_name
string

material name

account_id
string<uuid>

Account ID

site_id
string<uuid>

Site ID

soft_deleted
string<date-time>

Soft deletion timestamp

soft_deleted_by
string

User who soft deleted the record

material_id
string<uuid>

Material ID

TOR_accumulated_minutes
integer

TOR Accumulated Minutes

max_temp
number

Max Temp

min_temp
number

Min Temp

updated_at
string<date-time>

Last update timestamp

zone_id
string<uuid>

Zone ID

delivery_id
string<uuid>

Delivery ID

emails_to_notify
string[]

Email address

avg_temp
number | null

Average temperature

humidity_min
number | null

Minimum humidity

humidity_max
number | null

Maximum humidity

humidity_avg
number | null

Average humidity

risk_score
number | null

Risk score

archived
boolean | null

Whether the handling unit is archived