adsum API, assets package (1.0.0)

Download OpenAPI specification:

License: GPL-2.0-or-later

The operations of the assets package, merged into the published contract when the package is installed (see WebVision\Adsum\Core\Shared\Api\Contract\OpenApiDocument). Linted on its own.

Assets

Asset categories, batches, assets and units, allocations, requests, service requests and fines.

List the asset categories of the company

Every employee lists the names, to file a request.

Authorizations:
bearerAuthsessionCookie
query Parameters
page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "meta": {
    }
}

Create an asset category

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Idempotency-Key
string <uuid>

Client-generated key (UUID) making a POST safe to retry. A repeated key with an identical body returns the original response; with a different body it yields 422. While the first request with the key still runs, a repetition yields 409 (idempotency-request-in-progress) and does nothing; after a server error the key is free again.

Request Body schema: application/json
required
required
object (LocalisedText) non-empty

Text maintained per supported language. Readers receive it resolved to their language (fallback en, then the first available); writers send the full map.

LocalisedText (object) or null
code
string or null^[A-Z0-9]{1,10}$
custodianIds
Array of strings <uuid> (Uuid) <= 50 items [ items <uuid > ]

Responses

Request samples

Content type
application/json
{
  • "names": {
    },
  • "descriptions": {
    },
  • "code": "string",
  • "custodianIds": [
    ]
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "names": {
    },
  • "description": "string",
  • "descriptions": {
    },
  • "code": "string",
  • "custodians": [
    ],
  • "assetCount": 0,
  • "activeUnitCount": 0
}

Get an asset category

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "names": {
    },
  • "description": "string",
  • "descriptions": {
    },
  • "code": "string",
  • "custodians": [
    ],
  • "assetCount": 0,
  • "activeUnitCount": 0
}

Change an asset category and its custodians

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Request Body schema: application/json
required
non-empty
object (LocalisedText) non-empty

Text maintained per supported language. Readers receive it resolved to their language (fallback en, then the first available); writers send the full map.

LocalisedText (object) or null
code
string or null^[A-Z0-9]{1,10}$
custodianIds
Array of strings <uuid> (Uuid) <= 50 items [ items <uuid > ]

Replaces the custodians; HR only.

Responses

Request samples

Content type
application/json
{
  • "names": {
    },
  • "descriptions": {
    },
  • "code": "string",
  • "custodianIds": [
    ]
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "names": {
    },
  • "description": "string",
  • "descriptions": {
    },
  • "code": "string",
  • "custodians": [
    ],
  • "assetCount": 0,
  • "activeUnitCount": 0
}

Delete an asset category without assets

A category with assets answers 409 with their number as assetCount.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

List the asset batches of the company

Authorizations:
bearerAuthsessionCookie
query Parameters
page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "meta": {
    }
}

Create an asset batch

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Idempotency-Key
string <uuid>

Client-generated key (UUID) making a POST safe to retry. A repeated key with an identical body returns the original response; with a different body it yields 422. While the first request with the key still runs, a repetition yields 409 (idempotency-request-in-progress) and does nothing; after a server error the key is free again.

Request Body schema: application/json
required
batchNumber
required
string [ 1 .. 30 ] characters
description
string or null <= 2000 characters

Responses

Request samples

Content type
application/json
{
  • "batchNumber": "string",
  • "description": "string"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "batchNumber": "string",
  • "description": "string",
  • "assetCount": 0,
  • "createdAt": "2026-10-01T08:15:00+02:00",
  • "assets": [
    ]
}

Get an asset batch with its assets

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "batchNumber": "string",
  • "description": "string",
  • "assetCount": 0,
  • "createdAt": "2026-10-01T08:15:00+02:00",
  • "assets": [
    ]
}

Change an asset batch

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Request Body schema: application/json
required
non-empty
batchNumber
string [ 1 .. 30 ] characters
description
string or null <= 2000 characters

Responses

Request samples

Content type
application/json
{
  • "batchNumber": "string",
  • "description": "string"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "batchNumber": "string",
  • "description": "string",
  • "assetCount": 0,
  • "createdAt": "2026-10-01T08:15:00+02:00",
  • "assets": [
    ]
}

Delete an asset batch without assets

A batch with assets answers 409 with their number as assetCount.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

List the asset register

HR and admins list every asset of the company, custodians those of their categories.

Authorizations:
bearerAuthsessionCookie
query Parameters
page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
categoryId
string <uuid> (Uuid)
Examples: categoryId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Only assets of this category.

batchId
string <uuid> (Uuid)
Examples: batchId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Only assets of this batch.

status
string (AssetStatus)
Enum: "available" "inUse" "unavailable"

Only assets with this derived status.

unitStatus
string
Enum: "available" "damaged" "lost" "outOfService" "retired"

Only assets with a unit of this stored status.

expired
boolean

Only expired or only not expired assets.

expiringWithinDays
integer [ 0 .. 365 ]

Only assets usable until a day of the next N days.

purchasedFrom
string <date> (Date)
Examples: purchasedFrom=2026-10-01

Purchased on or after this day.

purchasedTo
string <date> (Date)
Examples: purchasedTo=2026-10-01

Purchased on or before this day.

holderId
string <uuid> (Uuid)
Examples: holderId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Only assets of which this employee holds a unit.

q
string [ 1 .. 100 ] characters

Case-insensitive match on the name, a serial or an asset number; an asset is returned once.

sort
string
Default: "name"
Enum: "name" "-name" "purchaseDate" "-purchaseDate" "expiryDate" "-expiryDate"

Order of the list.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "meta": {
    },
  • "appliedFilters": [
    ]
}

Create an asset with its units

The units are quantity units numbered from baseSerial (<base>, <base>-2, …) or one per entry of serials; each gets the next asset number.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Idempotency-Key
string <uuid>

Client-generated key (UUID) making a POST safe to retry. A repeated key with an identical body returns the original response; with a different body it yields 422. While the first request with the key still runs, a repetition yields 409 (idempotency-request-in-progress) and does nothing; after a server error the key is free again.

Request Body schema: application/json
required
name
required
string [ 1 .. 200 ] characters
description
string or null <= 2000 characters
kind
string
Enum: "physical" "digital"
categoryId
required
string <uuid> (Uuid)
Uuid (string) or null
purchaseDate
required
string <date> (Date)
required
object (Money)

An amount in minor units of the currency, such as cents, never rounded.

Date (string) or null
noticeLeadDays
integer [ 0 .. 365 ]
Default: 1
vendor
string or null <= 200 characters
portalUrl
string or null <uri> <= 500 characters
quantity
integer [ 1 .. 500 ]
Default: 1
serials
Array of strings [ 1 .. 500 ] items [ items [ 1 .. 50 ] characters ]

One serial number per unit, instead of a numbering from a base.

baseSerial
string or null <= 45 characters

Required for physical units without serials; seats of a digital asset may have none.

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "description": "string",
  • "kind": "physical",
  • "categoryId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "batchId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "purchaseDate": "2026-10-01",
  • "purchaseCost": {
    },
  • "expiryDate": "2026-10-01",
  • "noticeLeadDays": 1,
  • "vendor": "string",
  • "portalUrl": "http://example.com",
  • "quantity": 1,
  • "serials": [
    ],
  • "baseSerial": "string"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "description": "string",
  • "kind": "physical",
  • "category": {
    },
  • "batch": {
    },
  • "purchaseDate": "2026-10-01",
  • "purchaseCost": {
    },
  • "expiryDate": "2026-10-01",
  • "expired": true,
  • "noticeLeadDays": 0,
  • "vendor": "string",
  • "portalUrl": "http://example.com",
  • "status": "available",
  • "allocatableUnits": 0,
  • "activeUnits": 0,
  • "units": [
    ],
  • "createdAt": "2026-10-01T08:15:00+02:00"
}

Get an asset with its units

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "description": "string",
  • "kind": "physical",
  • "category": {
    },
  • "batch": {
    },
  • "purchaseDate": "2026-10-01",
  • "purchaseCost": {
    },
  • "expiryDate": "2026-10-01",
  • "expired": true,
  • "noticeLeadDays": 0,
  • "vendor": "string",
  • "portalUrl": "http://example.com",
  • "status": "available",
  • "allocatableUnits": 0,
  • "activeUnits": 0,
  • "units": [
    ],
  • "createdAt": "2026-10-01T08:15:00+02:00"
}

Change the details of an asset

Moving an asset to another category needs being allowed for both; its kind never changes.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Request Body schema: application/json
required
non-empty
name
string [ 1 .. 200 ] characters
description
string or null <= 2000 characters
kind
string
Enum: "physical" "digital"
categoryId
string <uuid> (Uuid)
Uuid (string) or null
purchaseDate
string <date> (Date)
object (Money)

An amount in minor units of the currency, such as cents, never rounded.

Date (string) or null
noticeLeadDays
integer [ 0 .. 365 ]
Default: 1
vendor
string or null <= 200 characters
portalUrl
string or null <uri> <= 500 characters

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "description": "string",
  • "kind": "physical",
  • "categoryId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "batchId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "purchaseDate": "2026-10-01",
  • "purchaseCost": {
    },
  • "expiryDate": "2026-10-01",
  • "noticeLeadDays": 1,
  • "vendor": "string",
  • "portalUrl": "http://example.com"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "description": "string",
  • "kind": "physical",
  • "category": {
    },
  • "batch": {
    },
  • "purchaseDate": "2026-10-01",
  • "purchaseCost": {
    },
  • "expiryDate": "2026-10-01",
  • "expired": true,
  • "noticeLeadDays": 0,
  • "vendor": "string",
  • "portalUrl": "http://example.com",
  • "status": "available",
  • "allocatableUnits": 0,
  • "activeUnits": 0,
  • "units": [
    ],
  • "createdAt": "2026-10-01T08:15:00+02:00"
}

Delete an asset that has no history

An asset of which a unit was ever allocated or which was reported on answers 409 with reason hasHistory; its units are retired instead.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Add units to an asset

Without serials the numbering continues from the serial of the first unit.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Idempotency-Key
string <uuid>

Client-generated key (UUID) making a POST safe to retry. A repeated key with an identical body returns the original response; with a different body it yields 422. While the first request with the key still runs, a repetition yields 409 (idempotency-request-in-progress) and does nothing; after a server error the key is free again.

Request Body schema: application/json
required
non-empty
quantity
integer [ 1 .. 500 ]
Default: 1
serials
Array of strings [ 1 .. 500 ] items [ items [ 1 .. 50 ] characters ]

One serial number per unit, instead of a numbering from a base.

Responses

Request samples

Content type
application/json
{
  • "quantity": 1,
  • "serials": [
    ]
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "description": "string",
  • "kind": "physical",
  • "category": {
    },
  • "batch": {
    },
  • "purchaseDate": "2026-10-01",
  • "purchaseCost": {
    },
  • "expiryDate": "2026-10-01",
  • "expired": true,
  • "noticeLeadDays": 0,
  • "vendor": "string",
  • "portalUrl": "http://example.com",
  • "status": "available",
  • "allocatableUnits": 0,
  • "activeUnits": 0,
  • "units": [
    ],
  • "createdAt": "2026-10-01T08:15:00+02:00"
}

Change serial numbers and statuses of units

All or nothing. An allocated unit keeps its status until it is returned (409), a retired unit stays retired (409), and inUse is never set.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Request Body schema: application/json
required
required
Array of objects [ 1 .. 500 ] items

Responses

Request samples

Content type
application/json
{
  • "units": [
    ]
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "description": "string",
  • "kind": "physical",
  • "category": {
    },
  • "batch": {
    },
  • "purchaseDate": "2026-10-01",
  • "purchaseCost": {
    },
  • "expiryDate": "2026-10-01",
  • "expired": true,
  • "noticeLeadDays": 0,
  • "vendor": "string",
  • "portalUrl": "http://example.com",
  • "status": "available",
  • "allocatableUnits": 0,
  • "activeUnits": 0,
  • "units": [
    ],
  • "createdAt": "2026-10-01T08:15:00+02:00"
}

Get the asset settings of the company

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "finesEnabled": true,
  • "numberScheme": {
    },
  • "labels": {
    }
}

Change the asset settings of the company

A scheme without exactly one running number, restarting yearly without a year, or naming the category while a category has no code is refused on numberScheme.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Request Body schema: application/json
required
non-empty
finesEnabled
boolean
object (NumberScheme)

The scheme of asset numbers: letters, digits, -, /, ., _ and the placeholders {YYYY}, {YY} (year of the company's local day), {CAT} (category code) and exactly one running number {N} or {N:k} (padded to k digits, 1 to 9); counted per company or per category, restarting every year with resetYearly.

object

Responses

Request samples

Content type
application/json
{
  • "finesEnabled": true,
  • "numberScheme": {
    },
  • "labels": {
    }
}

Response samples

Content type
application/json
{
  • "finesEnabled": true,
  • "numberScheme": {
    },
  • "labels": {
    }
}

Preview the next asset numbers of a scheme

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
pattern
required
string [ 1 .. 40 ] characters
counterScope
required
string
Enum: "company" "category"
resetYearly
required
boolean

Responses

Request samples

Content type
application/json
{
  • "pattern": "string",
  • "counterScope": "company",
  • "resetYearly": true
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Read the licence key of a seat

For HR, admins, the custodians of the category and the seat's current holder; anyone else, and a seat without a key, gets 404. The key is never part of a list, export, report, notification or audit.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "licenceKey": "string"
}

List the units to hand over

Authorizations:
bearerAuthsessionCookie
query Parameters
perPage
integer [ 1 .. 200 ]
Default: 50
categoryId
string <uuid> (Uuid)
Examples: categoryId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Only units of this category.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Get the QR code of a physical unit

A digital unit has no QR code (404).

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
query Parameters
format
string
Default: "svg"
Enum: "svg" "png"

SVG (vector, default) or PNG.

size
integer [ 64 .. 2048 ]
Default: 512

The edge of a PNG in pixels.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

List the label layouts of the company

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Add a label layout of the company

A layout must keep the QR code at least 12 mm wide with its quiet zone and the number at 6 pt, and a sheet's labels must fit its page; otherwise 422 on the dimension.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Idempotency-Key
string <uuid>

Client-generated key (UUID) making a POST safe to retry. A repeated key with an identical body returns the original response; with a different body it yields 422. While the first request with the key still runs, a repetition yields 409 (idempotency-request-in-progress) and does nothing; after a server error the key is free again.

Request Body schema: application/json
required
name
required
string [ 1 .. 100 ] characters
kind
required
string
Enum: "sheet" "label"
columns
integer [ 1 .. 50 ]
rows
integer [ 1 .. 50 ]
pageWidth
number >= 0
pageHeight
number >= 0
labelWidth
required
number >= 0
labelHeight
required
number >= 0
marginTop
number >= 0
marginLeft
number >= 0
gapX
number >= 0
gapY
number >= 0

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "kind": "sheet",
  • "columns": 1,
  • "rows": 1,
  • "pageWidth": 0,
  • "pageHeight": 0,
  • "labelWidth": 0,
  • "labelHeight": 0,
  • "marginTop": 0,
  • "marginLeft": 0,
  • "gapX": 0,
  • "gapY": 0
}

Response samples

Content type
application/json
{
  • "key": "string",
  • "name": "string",
  • "kind": "sheet",
  • "perPage": 1,
  • "columns": 1,
  • "rows": 1,
  • "pageWidth": 0,
  • "pageHeight": 0,
  • "labelWidth": 0,
  • "labelHeight": 0,
  • "marginTop": 0,
  • "marginLeft": 0,
  • "gapX": 0,
  • "gapY": 0
}

Print labels of physical units as PDF

Each label shows the unit's QR code and asset number, optionally the asset's and company's names. A unit outside the caller's categories makes the whole request 404, a seat of a digital asset 422.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
unitIds
required
Array of strings <uuid> (Uuid) [ 1 .. 500 ] items [ items <uuid > ]
layout
string <= 60 characters

The key of a layout; the company's default when left out.

startPosition
integer >= 1

The first free position of a partly used sheet.

showAssetName
boolean
showCompanyName
boolean

Responses

Request samples

Content type
application/json
{
  • "unitIds": [
    ],
  • "layout": "string",
  • "startPosition": 1,
  • "showAssetName": true,
  • "showCompanyName": true
}

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Upload a register file as a preview

XLSX or CSV, at most 5 MB and 5000 rows, with English or German headers. Nothing of the register is written before commitAssetImport.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Idempotency-Key
string <uuid>

Client-generated key (UUID) making a POST safe to retry. A repeated key with an identical body returns the original response; with a different body it yields 422. While the first request with the key still runs, a repetition yields 409 (idempotency-request-in-progress) and does nothing; after a server error the key is free again.

Request Body schema: multipart/form-data
required
file
required
string <application/octet-stream>
language
string
Enum: "en" "de"

The language of the file's numbers, dates and labels; the caller's language when left out.

createMissingCategories
boolean
Default: false

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "status": "validating",
  • "fileName": "string",
  • "language": "string",
  • "rowCount": 0,
  • "invalidCount": 0,
  • "categoriesToCreate": [
    ],
  • "createdAt": "2026-10-01T08:15:00+02:00",
  • "expiresAt": "2026-10-01T08:15:00+02:00",
  • "committedAt": "2026-10-01T08:15:00+02:00"
}

Upload a photo or document to attach

JPEG, PNG or PDF of at most 10 MB, recognised by content. It inherits the access of the record it is attached to.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: multipart/form-data
required
file
required
string <application/octet-stream>

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "fileName": "string",
  • "mediaType": "image/jpeg",
  • "sizeBytes": 0
}

Overview of the register

Authorizations:
bearerAuthsessionCookie
query Parameters
month
string^\d{4}-(0[1-9]|1[0-2])$

The month of the purchase value; the current month by default.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "inUse": 0,
  • "allocatable": 0,
  • "unavailable": 0,
  • "retired": 0,
  • "pendingRequests": 0,
  • "awaitingFulfilment": 0,
  • "openServiceRequests": 0,
  • "expiringWithin30Days": 0,
  • "purchaseValue": {
    }
}

Units by status

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Units by category

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Purchase value by category

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Asset requests by status

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Active units by age

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Approved requests waiting for a unit

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Latest handovers

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Open allocations by department

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

List fines

Fines are personal data; managers, custodians, admins without HR and colleagues list none.

Authorizations:
bearerAuthsessionCookie
query Parameters
page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
scope
string
Default: "self"
Enum: "self" "company"

The own fines, or every fine for HR; a scope never widens what the caller may read.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "meta": {
    }
}

Get a fine

For the fined employee and HR; anyone else finds no fine (404).

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "employee": {
    },
  • "allocationId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "asset": {
    },
  • "title": "string",
  • "description": "string",
  • "amountMinor": 0,
  • "currency": "string",
  • "fineDate": "2026-10-01",
  • "installments": [
    ],
  • "status": "assessed",
  • "cancelReason": "string",
  • "createdAt": "2026-10-01T08:15:00+02:00"
}

Cancel a fine

Once; a cancelled fine answers 409. Publishes AssetFineCancelled with ids only.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
reason
required
string [ 1 .. 500 ] characters

Responses

Request samples

Content type
application/json
{
  • "reason": "string"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "employee": {
    },
  • "allocationId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "asset": {
    },
  • "title": "string",
  • "description": "string",
  • "amountMinor": 0,
  • "currency": "string",
  • "fineDate": "2026-10-01",
  • "installments": [
    ],
  • "status": "assessed",
  • "cancelReason": "string",
  • "createdAt": "2026-10-01T08:15:00+02:00"
}

List service requests

Authorizations:
bearerAuthsessionCookie
query Parameters
page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
scope
string
Default: "self"
Enum: "self" "company"

The own requests, or everything the caller may read; a scope never widens what the caller may read.

status
string
Enum: "requested" "inProgress" "completed" "rejected" "closedByReturn"

Only requests in this status.

categoryId
string <uuid> (Uuid)
Examples: categoryId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Only requests for assets of this category.

assetId
string <uuid> (Uuid)
Examples: assetId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Only requests for this asset.

allocationId
string <uuid> (Uuid)
Examples: allocationId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Only requests of this allocation, its full service history.

employeeId
string <uuid> (Uuid)
Examples: employeeId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Only requests of this requester.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "meta": {
    }
}

Ask to have a held unit serviced

For the holder of an open allocation (404 otherwise). One open request per allocation (409). Notifies the custodians of the category, or HR when it has none.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Idempotency-Key
string <uuid>

Client-generated key (UUID) making a POST safe to retry. A repeated key with an identical body returns the original response; with a different body it yields 422. While the first request with the key still runs, a repetition yields 409 (idempotency-request-in-progress) and does nothing; after a server error the key is free again.

Request Body schema: application/json
required
allocationId
required
string <uuid> (Uuid)
issue
required
string [ 1 .. 2000 ] characters

Responses

Request samples

Content type
application/json
{
  • "allocationId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "issue": "string"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "asset": {
    },
  • "allocationId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "requester": {
    },
  • "issue": "string",
  • "status": "requested",
  • "resolvedByUserId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "resolvedOn": "2026-10-01",
  • "createdAt": "2026-10-01T08:15:00+02:00",
  • "notes": [
    ]
}

Get a service request

For the requester, the custodians of the category and HR; managers and colleagues find no request (404).

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "asset": {
    },
  • "allocationId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "requester": {
    },
  • "issue": "string",
  • "status": "requested",
  • "resolvedByUserId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "resolvedOn": "2026-10-01",
  • "createdAt": "2026-10-01T08:15:00+02:00",
  • "notes": [
    ]
}

Add a note to a service request

In any status. Notes are never changed or removed, and the requester reads them.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
note
required
string [ 1 .. 2000 ] characters

Responses

Request samples

Content type
application/json
{
  • "note": "string"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "asset": {
    },
  • "allocationId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "requester": {
    },
  • "issue": "string",
  • "status": "requested",
  • "resolvedByUserId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "resolvedOn": "2026-10-01",
  • "createdAt": "2026-10-01T08:15:00+02:00",
  • "notes": [
    ]
}

Move a service request on

Allowed are requested to inProgress, completed or rejected, and inProgress to completed or rejected (409 otherwise). A rejection needs a note (422). Completing or rejecting records who and when and tells the requester.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
status
required
string
Enum: "requested" "inProgress" "completed" "rejected" "closedByReturn"
note
string or null <= 2000 characters

Added to the notes of the request; required for rejected.

Responses

Request samples

Content type
application/json
{
  • "status": "requested",
  • "note": "string"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "asset": {
    },
  • "allocationId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "requester": {
    },
  • "issue": "string",
  • "status": "requested",
  • "resolvedByUserId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "resolvedOn": "2026-10-01",
  • "createdAt": "2026-10-01T08:15:00+02:00",
  • "notes": [
    ]
}

List asset requests

Authorizations:
bearerAuthsessionCookie
query Parameters
page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
scope
string
Default: "self"
Enum: "self" "team" "company"

The caller, their reports, or everything the caller may read; a scope never widens what the caller may read.

status
string
Enum: "pending" "awaitingFulfilment" "fulfilled" "rejected" "withdrawn" "cancelled"

Only requests in this status.

categoryId
string <uuid> (Uuid)
Examples: categoryId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Only requests for this category.

employeeId
string <uuid> (Uuid)
Examples: employeeId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Only requests of this requester.

createdFrom
string <date> (Date)
Examples: createdFrom=2026-10-01

Filed on or after this day (company time zone).

createdTo
string <date> (Date)
Examples: createdTo=2026-10-01

Filed on or before this day (company time zone).

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "meta": {
    }
}

Ask for an asset of a category

Submitted to the approval engine as assetRequest in the same transaction. HR may name another employed employee as requester; nobody else may (403).

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Idempotency-Key
string <uuid>

Client-generated key (UUID) making a POST safe to retry. A repeated key with an identical body returns the original response; with a different body it yields 422. While the first request with the key still runs, a repetition yields 409 (idempotency-request-in-progress) and does nothing; after a server error the key is free again.

Request Body schema: application/json
required
categoryId
required
string <uuid> (Uuid)
reason
required
string [ 1 .. 2000 ] characters
employeeId
string <uuid> (Uuid)

The requester, when HR files for an employee; the caller otherwise.

Responses

Request samples

Content type
application/json
{
  • "categoryId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "reason": "string",
  • "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
}

Response samples

Content type
application/json
{
  • "allowedActions": [
    ],
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "category": {
    },
  • "requester": {
    },
  • "reason": "string",
  • "status": "pending",
  • "approval": {
    },
  • "decisionComment": "string",
  • "allocationId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "cancelReason": "string",
  • "resolvedAt": "2026-10-01T08:15:00+02:00",
  • "createdAt": "2026-10-01T08:15:00+02:00"
}

Get an asset request

Custodians see a request of their category from awaitingFulfilment on; colleagues find no request (404).

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "allowedActions": [
    ],
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "category": {
    },
  • "requester": {
    },
  • "reason": "string",
  • "status": "pending",
  • "approval": {
    },
  • "decisionComment": "string",
  • "allocationId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "cancelReason": "string",
  • "resolvedAt": "2026-10-01T08:15:00+02:00",
  • "createdAt": "2026-10-01T08:15:00+02:00"
}

Fulfil an approved asset request with a unit

Hands an allocatable unit of the requested category (422 on unitId otherwise) over to the requester, as allocateAsset does, in the same transaction. Only a request awaiting fulfilment is fulfilled (409).

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
unitId
required
string <uuid> (Uuid)
allocatedOn
string <date> (Date)
handoverNotes
string or null <= 2000 characters
handoverPhotoIds
Array of strings <uuid> (Uuid) <= 10 items [ items <uuid > ]

Responses

Request samples

Content type
application/json
{
  • "unitId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "allocatedOn": "2026-10-01",
  • "handoverNotes": "string",
  • "handoverPhotoIds": [
    ]
}

Response samples

Content type
application/json
{
  • "allowedActions": [
    ],
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "category": {
    },
  • "requester": {
    },
  • "reason": "string",
  • "status": "pending",
  • "approval": {
    },
  • "decisionComment": "string",
  • "allocationId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "cancelReason": "string",
  • "resolvedAt": "2026-10-01T08:15:00+02:00",
  • "createdAt": "2026-10-01T08:15:00+02:00"
}

Withdraw an own pending asset request

Only a pending request is withdrawn (409); an approved one is cancelled.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "allowedActions": [
    ],
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "category": {
    },
  • "requester": {
    },
  • "reason": "string",
  • "status": "pending",
  • "approval": {
    },
  • "decisionComment": "string",
  • "allocationId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "cancelReason": "string",
  • "resolvedAt": "2026-10-01T08:15:00+02:00",
  • "createdAt": "2026-10-01T08:15:00+02:00"
}

Cancel an approved asset request

The requester cancels their own request; HR and the custodians cancel with a reason, which the requester is told. Only a request awaiting fulfilment is cancelled (409).

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
reason
string or null <= 500 characters

Required for HR and the custodians, optional for the requester.

Responses

Request samples

Content type
application/json
{
  • "reason": "string"
}

Response samples

Content type
application/json
{
  • "allowedActions": [
    ],
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "category": {
    },
  • "requester": {
    },
  • "reason": "string",
  • "status": "pending",
  • "approval": {
    },
  • "decisionComment": "string",
  • "allocationId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "cancelReason": "string",
  • "resolvedAt": "2026-10-01T08:15:00+02:00",
  • "createdAt": "2026-10-01T08:15:00+02:00"
}

List allocations

Authorizations:
bearerAuthsessionCookie
query Parameters
page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
scope
string
Default: "self"
Enum: "self" "team" "company"

The caller, their reports, or everything the caller may read; a scope never widens what the caller may read.

assetId
string <uuid> (Uuid)
Examples: assetId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Only allocations of this asset.

unitId
string <uuid> (Uuid)
Examples: unitId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Only allocations of this unit.

categoryId
string <uuid> (Uuid)
Examples: categoryId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Only allocations of assets of this category.

employeeId
string <uuid> (Uuid)
Examples: employeeId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Only allocations of this employee.

departmentId
string <uuid> (Uuid)
Examples: departmentId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Only allocations of employees of this department today.

status
string
Enum: "open" "returned"

Only open or only returned allocations.

returnRequested
boolean

Only open allocations with or without a pending return request.

allocatedFrom
string <date> (Date)
Examples: allocatedFrom=2026-10-01

Handed over on or after this day.

allocatedTo
string <date> (Date)
Examples: allocatedTo=2026-10-01

Handed over on or before this day.

returnedFrom
string <date> (Date)
Examples: returnedFrom=2026-10-01

Returned on or after this day.

returnedTo
string <date> (Date)
Examples: returnedTo=2026-10-01

Returned on or before this day.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "meta": {
    }
}

Hand a unit over to an employee

The unit must be available, not allocated and of an asset that has not expired (409 with reason, and unitStatus for a unit that is not available).

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Idempotency-Key
string <uuid>

Client-generated key (UUID) making a POST safe to retry. A repeated key with an identical body returns the original response; with a different body it yields 422. While the first request with the key still runs, a repetition yields 409 (idempotency-request-in-progress) and does nothing; after a server error the key is free again.

Request Body schema: application/json
required
object (ChangeReasonInput)

Why the change is made, stored with the change set in the same transaction and never changed: shown with every history entry of the change set to exactly the readers of those entries. Not stored when nothing changes.

unitId
string <uuid> (Uuid)
assetId
string <uuid> (Uuid)
employeeId
required
string <uuid> (Uuid)
allocatedOn
string <date> (Date)
handoverNotes
string or null <= 2000 characters
handoverPhotoIds
Array of strings <uuid> (Uuid) <= 10 items [ items <uuid > ]

Responses

Request samples

Content type
application/json
{
  • "changeReason": {
    },
  • "unitId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "assetId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "allocatedOn": "2026-10-01",
  • "handoverNotes": "string",
  • "handoverPhotoIds": [
    ]
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "asset": {
    },
  • "unit": {
    },
  • "employee": {
    },
  • "allocatedOn": "2026-10-01",
  • "handoverNotes": "string",
  • "handoverPhotos": [
    ],
  • "returnedOn": "2026-10-01",
  • "returnOutcome": "healthy",
  • "returnReason": "replaced",
  • "returnNotes": "string",
  • "returnPhotos": [
    ],
  • "returnRequest": {
    },
  • "replacesAllocationId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "reports": [
    ]
}

List the allocations to renew

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Get an allocation

For its holder, the custodians of the category and HR, and for a manager in scope without photos, notes and reports.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "asset": {
    },
  • "unit": {
    },
  • "employee": {
    },
  • "allocatedOn": "2026-10-01",
  • "handoverNotes": "string",
  • "handoverPhotos": [
    ],
  • "returnedOn": "2026-10-01",
  • "returnOutcome": "healthy",
  • "returnReason": "replaced",
  • "returnNotes": "string",
  • "returnPhotos": [
    ],
  • "returnRequest": {
    },
  • "replacesAllocationId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "reports": [
    ]
}

Change the notes of an allocation

Only the handover and return notes change, and HR corrects the return date within 30 days of the return. Unit, employee and allocation date never change (400). An allocation is never deleted.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Request Body schema: application/json
required
non-empty
object (ChangeReasonInput)

Why the change is made, stored with the change set in the same transaction and never changed: shown with every history entry of the change set to exactly the readers of those entries. Not stored when nothing changes.

handoverNotes
string or null <= 2000 characters
returnNotes
string or null <= 2000 characters
returnedOn
string <date> (Date)

Responses

Request samples

Content type
application/json
{
  • "changeReason": {
    },
  • "handoverNotes": "string",
  • "returnNotes": "string",
  • "returnedOn": "2026-10-01"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "asset": {
    },
  • "unit": {
    },
  • "employee": {
    },
  • "allocatedOn": "2026-10-01",
  • "handoverNotes": "string",
  • "handoverPhotos": [
    ],
  • "returnedOn": "2026-10-01",
  • "returnOutcome": "healthy",
  • "returnReason": "replaced",
  • "returnNotes": "string",
  • "returnPhotos": [
    ],
  • "returnRequest": {
    },
  • "replacesAllocationId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "reports": [
    ]
}

Record the return of a unit

One transaction: the return, the unit status from the outcome (available, damaged or lost), return photos and incident reports. A seat is returned as revoked, without photos. The holder files a return request instead.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
object (ChangeReasonInput)

Why the change is made, stored with the change set in the same transaction and never changed: shown with every history entry of the change set to exactly the readers of those entries. Not stored when nothing changes.

outcome
required
string
Enum: "healthy" "minorDamage" "majorDamage" "lost" "revoked"
returnedOn
string <date> (Date)
notes
string or null <= 2000 characters
photoIds
Array of strings <uuid> (Uuid) <= 10 items [ items <uuid > ]
Array of objects (ReportDraft) <= 10 items
object (FineInput)

Only HR, and only when the company uses fines (422 on fine otherwise); custodians get 403.

Responses

Request samples

Content type
application/json
{
  • "changeReason": {
    },
  • "outcome": "healthy",
  • "returnedOn": "2026-10-01",
  • "notes": "string",
  • "photoIds": [
    ],
  • "reports": [
    ],
  • "fine": {
    }
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "asset": {
    },
  • "unit": {
    },
  • "employee": {
    },
  • "allocatedOn": "2026-10-01",
  • "handoverNotes": "string",
  • "handoverPhotos": [
    ],
  • "returnedOn": "2026-10-01",
  • "returnOutcome": "healthy",
  • "returnReason": "replaced",
  • "returnNotes": "string",
  • "returnPhotos": [
    ],
  • "returnRequest": {
    },
  • "replacesAllocationId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "reports": [
    ]
}

Ask for the return of an own unit

Notifies the custodians of the category, or HR when it has none. One pending request per allocation (409); recording the return settles it.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
object (ChangeReasonInput)

Why the change is made, stored with the change set in the same transaction and never changed: shown with every history entry of the change set to exactly the readers of those entries. Not stored when nothing changes.

message
string or null <= 500 characters

Responses

Request samples

Content type
application/json
{
  • "changeReason": {
    },
  • "message": "string"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "asset": {
    },
  • "unit": {
    },
  • "employee": {
    },
  • "allocatedOn": "2026-10-01",
  • "handoverNotes": "string",
  • "handoverPhotos": [
    ],
  • "returnedOn": "2026-10-01",
  • "returnOutcome": "healthy",
  • "returnReason": "replaced",
  • "returnNotes": "string",
  • "returnPhotos": [
    ],
  • "returnRequest": {
    },
  • "replacesAllocationId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "reports": [
    ]
}

Withdraw the return request of an own unit

409 when no return request is pending.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "asset": {
    },
  • "unit": {
    },
  • "employee": {
    },
  • "allocatedOn": "2026-10-01",
  • "handoverNotes": "string",
  • "handoverPhotos": [
    ],
  • "returnedOn": "2026-10-01",
  • "returnOutcome": "healthy",
  • "returnReason": "replaced",
  • "returnNotes": "string",
  • "returnPhotos": [
    ],
  • "returnRequest": {
    },
  • "replacesAllocationId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "reports": [
    ]
}

Replace the unit of an open allocation

One transaction: the old unit is returned healthy (a seat revoked) with the reason replaced and today as return day, and the replacement, an allocatable unit of the same category (422 on unitId otherwise), is handed over to the same employee with replacesAllocationId. Both units keep their history.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
object (ChangeReasonInput)

Why the change is made, stored with the change set in the same transaction and never changed: shown with every history entry of the change set to exactly the readers of those entries. Not stored when nothing changes.

unitId
required
string <uuid> (Uuid)
handoverNotes
string or null <= 2000 characters

Responses

Request samples

Content type
application/json
{
  • "changeReason": {
    },
  • "unitId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "handoverNotes": "string"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "asset": {
    },
  • "unit": {
    },
  • "employee": {
    },
  • "allocatedOn": "2026-10-01",
  • "handoverNotes": "string",
  • "handoverPhotos": [
    ],
  • "returnedOn": "2026-10-01",
  • "returnOutcome": "healthy",
  • "returnReason": "replaced",
  • "returnNotes": "string",
  • "returnPhotos": [
    ],
  • "returnRequest": {
    },
  • "replacesAllocationId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "reports": [
    ]
}

List the incident reports of an asset

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
query Parameters
page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "meta": {
    }
}

Add an incident report to an asset

The holder of an open allocation reports on the asset they hold, linked to their allocation; HR and the custodians of the category may link an allocation of the asset (422 on allocationId otherwise). Reports are never deleted.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Idempotency-Key
string <uuid>

Client-generated key (UUID) making a POST safe to retry. A repeated key with an identical body returns the original response; with a different body it yields 422. While the first request with the key still runs, a repetition yields 409 (idempotency-request-in-progress) and does nothing; after a server error the key is free again.

Request Body schema: application/json
required
title
required
string [ 1 .. 200 ] characters
description
string or null <= 2000 characters
fileIds
Array of strings <uuid> (Uuid) <= 10 items [ items <uuid > ]
Uuid (string) or null

Responses

Request samples

Content type
application/json
{
  • "title": "string",
  • "description": "string",
  • "fileIds": [
    ],
  • "allocationId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "assetId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "allocationId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "title": "string",
  • "description": "string",
  • "files": [
    ],
  • "reportedAt": "2026-10-01T08:15:00+02:00"
}

Get the history of an asset

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Download the XLSX template of an asset import

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Get an import preview

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "status": "validating",
  • "fileName": "string",
  • "language": "string",
  • "rowCount": 0,
  • "invalidCount": 0,
  • "categoriesToCreate": [
    ],
  • "createdAt": "2026-10-01T08:15:00+02:00",
  • "expiresAt": "2026-10-01T08:15:00+02:00",
  • "committedAt": "2026-10-01T08:15:00+02:00"
}

Discard an import preview

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

List the rows of an import preview

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
query Parameters
page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "meta": {
    }
}

Write the previewed rows of an import

In one transaction; refused (409) while rows are being checked, while a row has violations, and after the preview expired.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "status": "validating",
  • "fileName": "string",
  • "language": "string",
  • "rowCount": 0,
  • "invalidCount": 0,
  • "categoriesToCreate": [
    ],
  • "createdAt": "2026-10-01T08:15:00+02:00",
  • "expiresAt": "2026-10-01T08:15:00+02:00",
  • "committedAt": "2026-10-01T08:15:00+02:00"
}