Skip to main content
POST
Create or update several assets

Authorizations

x-api-key
string
header
required

The API key of the subscription. Each operation names the scope it needs in x-pat-scopes: api_read (in the interface Read) or api_write (Read and Write). The key is created under Administration › Integrations › API Keys.

Body

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

The type of the asset.

id
string<uuid>

A correlation id of this asset in the request. The ingest service reports its result under it (idPair.fakeId). A new GUID by default.

object
General details of the asset · object
objectData
any

The data of the asset as JSON, structured by the type. Needed for identity matching.

essentials
Essentials · object
facets
object

Further data by name, each a list of JSON values.

Response

The batch was processed. Check results for entries with errorMessage and error.

The answer of the ingest service for a batch.

results
Result of a write · object[]

One result per entry of the request, in the order of the request.

errorMessage
string

Stays empty in the 200 answer; when the whole batch is rejected, the API answers with a problem response.

isSuccess
boolean
successCount
integer<int32>
failedCount
integer<int32>