Skip to main content
POST
Create or update several assets

Authorizations

x-api-key
string
header
required

API key from Docusnap365 (Administration › Integrations › API Keys). Read endpoints require the access Read, write endpoints Read and Write.

Body

application/json
Maximum array length: 100
schemaId
string<uuid>
required

Type of the asset. Required, even if object.schemaId is set.

id
string<uuid>

Freely chosen identifier of the request. Not stored; it comes back as idPair.fakeId. One is generated if omitted.

object
object

An asset's core fields when writing.

objectData
object

The type's data, following its data definition. Replaced in full, not merged; left unchanged if omitted, {} empties it.

essentials
object

The asset's quick info.

facets
object

The asset's ITAM and ISMS data, one list per area.

Response

List processed; one result per bundle in results.

results
object[]

One result per bundle, in request order.

successCount
integer
failedCount
integer
isSuccess
boolean

The list was processed. Whether each asset was saved is stated in results[].isSuccess.

errorMessage
string | null