POST
/
handling_unit
Create handling_unit
curl --request POST \
  --url http://localhost:8080/handling_unit \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "code": "<string>",
  "material_code": "<string>",
  "delivery_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "zone_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "site_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'
{
  "code": "<string>",
  "material_code": "<string>",
  "delivery_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "zone_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "site_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Authorizations

x-api-key
string
header
required

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

Body

application/json

Response

Successfully created handling_unit

The response is of type object.