Skip to main content
POST
Create or update asset

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

An asset when creating or updating. The field names object and objectData are part of the interface.

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

Asset updated.

Result for one bundle.

id
string<uuid> | null

ID of the asset.

idPair
object
schemaId
string<uuid>
isCreate
boolean

true if the asset was created.

isSuccess
boolean
errorMessage
string | null

Reason if the asset was not saved – for example because a more complete record is protected.