Skip to main content
POST

Authorizations

x-arms-api-key
string
header
required

Your ARMS API key

x-arms-assume-user
string
header
required

Email of a user assigned to the appropriate user group

Query Parameters

carrierId
integer
required

Carrier identifier; required for all endpoints

viewAsUserGroup
string

Optional user group context

Body

application/json

Request body for emptying cars. The whole request is applied or rejected as one unit.

items
object[]
required

The cars to empty, each at most once.

Required array length: 1 - 500 elements
carrierId
integer

Carrier identifier. Optional here; the carrierId query parameter is required and takes precedence.

emptyTime
string<date-time> | null

When the cars were emptied. A time with an offset is used as given; a time without one is read as the carrier's local time. Defaults to now. Its date becomes the empty waybill's date.

Response

OK

items
object[]

One entry per requested car, in request order.