Skip to main content
Update enumeration records

Authorizations

token
string
query
required

Standard authorization for most API calls. This token identifies the logged-in user and their permissions. It is obtained either as a temporary token after a successful login or as a long-term API key.

Path Parameters

name
string
required

Name of the enumeration definition, unique within the tenant and used as its identifier wherever the enumeration is referenced.

Required string length: 1 - 100
Pattern: ^[a-z0-9_]+$
Example:

"priorities"

Body

application/json
data
object
required

Values to write, keyed by the field names the enumeration declares. Keys it does not declare are dropped, and an ordinary field left out keeps the value it has - but every field the enumeration names as unique has to be present whatever the change is, carrying either its current value or the new one. A file or image value may only be sent for a single record at a time, since a stored file belongs to one record.

Example:
ids
string[]
required

Identifiers of the records to write the values to.

Required array length: 1 - 1000 elements
Minimum string length: 1
Example:
__order
number

New position for the records in the enumeration's manual ordering, counted from one. The whole enumeration is renumbered afterwards. Left out, each record keeps the position it has.

Example:

3

Response

Returns the outcome of every record the request named - a record whose file sent as base64 starts as a PDF but cannot be read as one fails on its own.

count
integer
required

Number of items the request processed, successful and failed alike.

Example:

22

errors
boolean
required

Whether any item failed. Check it before treating the call as a clean success - the request itself answers 200 even when individual items did not go through.

Example:

false

items
object[]

Per-item outcomes. Endpoints report the failed items here; some also list the successful ones, so read each item's own status rather than inferring it from being listed.