Op deze pagina

API-referentie: processen

Processen weergeven

Endpoint: GET /v1/tenant/{tenantId}/processes

Authenticatie: API-key voor één tenant · scope read

Parameters:

Naam Type Locatie Verplicht Beschrijving
tenantId string path Ja Indeling: uuid
limit integer query Nee Maximumaantal resultaten
offset integer query Nee Aantal resultaten om over te slaan

Response (200):

Lijst met processen

[
	{
		"id": "00000000-0000-0000-0000-000000000000",
		"treeParentId": "00000000-0000-0000-0000-000000000000",
		"treeNodeType": "Process",
		"displayName": "string",
		"createdAt": "2024-03-15T16:30:00Z",
		"updatedAt": "2024-03-15T16:30:00Z",
		"designerModelId": "00000000-0000-0000-0000-000000000000"
	}
]

Fouten:

  • 401 API-key ontbreekt, is ongeldig, uitgeschakeld of verlopen

Een proces aanmaken (met een leeg model)

Endpoint: POST /v1/tenant/{tenantId}/processes

Authenticatie: API-key voor één tenant · scope write

Parameters:

Naam Type Locatie Verplicht Beschrijving
tenantId string path Ja Indeling: uuid

Requestbody:

{
	"displayName": "string",
	"treeParentId": "00000000-0000-0000-0000-000000000000",
	"treeNodeType": "Process"
}
Veld Type Verplicht Beschrijving
displayName string Ja Procesnaam in de procesboom
Maximale lengte: 128
treeParentId string Nee ID van de bovenliggende map (null = hoofdniveau)
Indeling: uuid
treeNodeType Process | TreeGroup Nee Proces of TreeGroup (map)
Toegestane waarden: Process, TreeGroup
Standaard: Process

Response (201):

Proces aangemaakt

{
	"id": "00000000-0000-0000-0000-000000000000",
	"treeParentId": "00000000-0000-0000-0000-000000000000",
	"treeNodeType": "Process",
	"displayName": "string",
	"createdAt": "2024-03-15T16:30:00Z",
	"updatedAt": "2024-03-15T16:30:00Z",
	"designerModelId": "00000000-0000-0000-0000-000000000000"
}
Veld Type Verplicht Beschrijving
id string Ja Indeling: uuid
treeParentId string Ja Indeling: uuid
treeNodeType Process | TreeGroup Ja Toegestane waarden: Process, TreeGroup
Standaard: Process
displayName string Ja Standaard: New Process
Maximale lengte: 128
createdAt string Ja Indeling: date-time
updatedAt string Ja Indeling: date-time
designerModelId string Ja Indeling: uuid

Fouten:

  • 401 API-key ontbreekt, is ongeldig, uitgeschakeld of verlopen
  • 500 Onverwachte serverfout. Je kunt het verzoek veilig opnieuw proberen.

Een proces ophalen

Endpoint: GET /v1/tenant/{tenantId}/processes/{processId}

Authenticatie: API-key voor één tenant · scope read

Parameters:

Naam Type Locatie Verplicht Beschrijving
tenantId string path Ja Indeling: uuid
processId string path Ja Indeling: uuid

Response (200):

Proces

{
	"id": "00000000-0000-0000-0000-000000000000",
	"treeParentId": "00000000-0000-0000-0000-000000000000",
	"treeNodeType": "Process",
	"displayName": "string",
	"createdAt": "2024-03-15T16:30:00Z",
	"updatedAt": "2024-03-15T16:30:00Z",
	"designerModelId": "00000000-0000-0000-0000-000000000000"
}
Veld Type Verplicht Beschrijving
id string Ja Indeling: uuid
treeParentId string Ja Indeling: uuid
treeNodeType Process | TreeGroup Ja Toegestane waarden: Process, TreeGroup
Standaard: Process
displayName string Ja Standaard: New Process
Maximale lengte: 128
createdAt string Ja Indeling: date-time
updatedAt string Ja Indeling: date-time
designerModelId string Ja Indeling: uuid

Fouten:

  • 401 API-key ontbreekt, is ongeldig, uitgeschakeld of verlopen
  • 404 Bron niet gevonden

Een proces bijwerken

Endpoint: PUT /v1/tenant/{tenantId}/processes/{processId}

Authenticatie: API-key voor één tenant · scope write

Parameters:

Naam Type Locatie Verplicht Beschrijving
tenantId string path Ja Indeling: uuid
processId string path Ja Indeling: uuid

Requestbody:

{
	"displayName": "string",
	"treeParentId": "00000000-0000-0000-0000-000000000000"
}
Veld Type Verplicht Beschrijving
displayName string Nee Procesnaam in de procesboom
Maximale lengte: 128
treeParentId string Nee ID van de bovenliggende map (null = hoofdniveau)
Indeling: uuid

Response (200):

Proces bijgewerkt

{
	"id": "00000000-0000-0000-0000-000000000000",
	"treeParentId": "00000000-0000-0000-0000-000000000000",
	"treeNodeType": "Process",
	"displayName": "string",
	"createdAt": "2024-03-15T16:30:00Z",
	"updatedAt": "2024-03-15T16:30:00Z",
	"designerModelId": "00000000-0000-0000-0000-000000000000"
}
Veld Type Verplicht Beschrijving
id string Ja Indeling: uuid
treeParentId string Ja Indeling: uuid
treeNodeType Process | TreeGroup Ja Toegestane waarden: Process, TreeGroup
Standaard: Process
displayName string Ja Standaard: New Process
Maximale lengte: 128
createdAt string Ja Indeling: date-time
updatedAt string Ja Indeling: date-time
designerModelId string Ja Indeling: uuid

Fouten:

  • 401 API-key ontbreekt, is ongeldig, uitgeschakeld of verlopen
  • 404 Bron niet gevonden
  • 500 Onverwachte serverfout. Je kunt het verzoek veilig opnieuw proberen.

Een proces voorlopig verwijderen

Endpoint: DELETE /v1/tenant/{tenantId}/processes/{processId}

Authenticatie: API-key voor één tenant · scope write

Parameters:

Naam Type Locatie Verplicht Beschrijving
tenantId string path Ja Indeling: uuid
processId string path Ja Indeling: uuid

Response (200):

Proces verwijderd

{
	"success": true,
	"message": "string"
}
Veld Type Verplicht Beschrijving
success boolean Ja
message string Ja

Fouten:

  • 401 API-key ontbreekt, is ongeldig, uitgeschakeld of verlopen
  • 404 Bron niet gevonden

Het procesmodel exporteren als BPMN 2.0 XML

Endpoint: GET /v1/tenant/{tenantId}/processes/{processId}/bpmn

Authenticatie: API-key voor één tenant · scope read

Parameters:

Naam Type Locatie Verplicht Beschrijving
tenantId string path Ja Indeling: uuid
processId string path Ja Indeling: uuid

Response (200):

BPMN XML

{
	"bpmnXml": "string"
}
Veld Type Verplicht Beschrijving
bpmnXml string Ja BPMN 2.0 XML

Fouten:

  • 401 API-key ontbreekt, is ongeldig, uitgeschakeld of verlopen
  • 404 Bron niet gevonden
  • 500 Onverwachte serverfout. Je kunt het verzoek veilig opnieuw proberen.

Een BPMN 2.0-model voor het proces importeren (vervangt het huidige model)

Endpoint: PUT /v1/tenant/{tenantId}/processes/{processId}/bpmn

Authenticatie: API-key voor één tenant · scope write

Parameters:

Naam Type Locatie Verplicht Beschrijving
tenantId string path Ja Indeling: uuid
processId string path Ja Indeling: uuid

Requestbody:

{
	"bpmnXml": "string"
}
Veld Type Verplicht Beschrijving
bpmnXml string Ja BPMN 2.0 XML

Response (200):

BPMN geüpload

{
	"message": "string"
}
Veld Type Verplicht Beschrijving
message string Ja

Fouten:

  • 400 Ongeldig verzoek, bijvoorbeeld door een ongeldige filterexpressie, een proces zonder model, een niet-ondersteund uploadtype of een ontbrekend verplicht veld
  • 401 API-key ontbreekt, is ongeldig, uitgeschakeld of verlopen
  • 404 Bron niet gevonden

Datamappings koppelen datatabellen aan processen. Zo kun je de data uit het event log op een procesmodel visualiseren en analyseren.

Datamappings voor een proces weergeven

Endpoint: GET /v1/tenant/{tenantId}/processes/{processId}/mappings

Authenticatie: API-key voor één tenant · scope read

Parameters:

Naam Type Locatie Verplicht Beschrijving
tenantId string path Ja Indeling: uuid
processId string path Ja Indeling: uuid
limit integer query Nee Maximumaantal resultaten
offset integer query Nee Aantal resultaten om over te slaan

Response (200):

Lijst met mappings

[
	{
		"id": "00000000-0000-0000-0000-000000000000",
		"modelId": "00000000-0000-0000-0000-000000000000",
		"dataTableId": "00000000-0000-0000-0000-000000000000",
		"displayName": "string",
		"color": {
			"id": "data-1"
		},
		"showByDefault": true,
		"mappingRole": "primary",
		"sortOrder": 0
	}
]

Fouten:

  • 400 Ongeldig verzoek, bijvoorbeeld door een ongeldige filterexpressie, een proces zonder model, een niet-ondersteund uploadtype of een ontbrekend verplicht veld
  • 401 API-key ontbreekt, is ongeldig, uitgeschakeld of verlopen
  • 404 Bron niet gevonden

Een datatabel aan het proces koppelen (start de verwerking van het event log)

Endpoint: POST /v1/tenant/{tenantId}/processes/{processId}/mappings

Authenticatie: API-sleutel voor deze tenant · write-scope

Parameters:

Naam Type Locatie Verplicht Beschrijving
tenantId string pad Ja Formaat: uuid
processId string pad Ja Formaat: uuid

Requestbody:

{
	"dataTableId": "00000000-0000-0000-0000-000000000000",
	"displayName": "string",
	"color": {
		"id": "data-1"
	},
	"showByDefault": true,
	"mappingRole": "primary"
}
Veld Type Verplicht Beschrijving
dataTableId string Ja Datatable die aan het proces wordt gekoppeld
Formaat: uuid
displayName string Nee Weergavenaam van de koppeling
Maximale lengte: 128
color object Nee Accentkleur
showByDefault boolean Nee Deze koppeling standaard weergeven in de procesweergave
Standaard: true
mappingRole primary | comparison Nee Rol van de gekoppelde data in het model
Toegestane waarden: primary, comparison

Response (201):

Koppeling aangemaakt

{
	"id": "00000000-0000-0000-0000-000000000000",
	"modelId": "00000000-0000-0000-0000-000000000000",
	"dataTableId": "00000000-0000-0000-0000-000000000000",
	"displayName": "string",
	"color": {
		"id": "data-1"
	},
	"showByDefault": true,
	"mappingRole": "primary",
	"sortOrder": 0
}
Veld Type Verplicht Beschrijving
id string Ja Formaat: uuid
modelId string Ja Formaat: uuid
dataTableId string Ja Formaat: uuid
displayName string Ja Maximale lengte: 128
color object Ja
showByDefault boolean Ja Standaard: true
mappingRole primary | comparison Ja Toegestane waarden: primary, comparison
Standaard: comparison
sortOrder integer Ja Standaard: 0
Minimum: -9007199254740991
Maximum: 9007199254740991

Fouten:

  • 400 Ongeldig verzoek: bijvoorbeeld een ongeldige filterexpressie, een proces zonder model, een niet-ondersteund uploadtype of een verplicht veld dat ontbreekt
  • 401 API-sleutel ontbreekt, is ongeldig, uitgeschakeld of verlopen
  • 404 Bron niet gevonden

Een koppeling bijwerken

Endpoint: PUT /v1/tenant/{tenantId}/processes/{processId}/mappings/{mappingId}

Authenticatie: API-sleutel voor deze tenant · write-scope

Parameters:

Naam Type Locatie Verplicht Beschrijving
tenantId string pad Ja Formaat: uuid
processId string pad Ja Formaat: uuid
mappingId string pad Ja Formaat: uuid

Requestbody:

{
	"displayName": "string",
	"color": {
		"id": "data-1"
	},
	"showByDefault": true,
	"mappingRole": "primary",
	"sortOrder": 0
}
Veld Type Verplicht Beschrijving
displayName string Nee Maximale lengte: 128
color object Nee
showByDefault boolean Nee
mappingRole primary | comparison Nee Toegestane waarden: primary, comparison
sortOrder integer Nee Minimum: -9007199254740991
Maximum: 9007199254740991

Response (200):

Koppeling bijgewerkt

{
	"id": "00000000-0000-0000-0000-000000000000",
	"modelId": "00000000-0000-0000-0000-000000000000",
	"dataTableId": "00000000-0000-0000-0000-000000000000",
	"displayName": "string",
	"color": {
		"id": "data-1"
	},
	"showByDefault": true,
	"mappingRole": "primary",
	"sortOrder": 0
}
Veld Type Verplicht Beschrijving
id string Ja Formaat: uuid
modelId string Ja Formaat: uuid
dataTableId string Ja Formaat: uuid
displayName string Ja Maximale lengte: 128
color object Ja
showByDefault boolean Ja Standaard: true
mappingRole primary | comparison Ja Toegestane waarden: primary, comparison
Standaard: comparison
sortOrder integer Ja Standaard: 0
Minimum: -9007199254740991
Maximum: 9007199254740991

Fouten:

  • 400 Ongeldig verzoek: bijvoorbeeld een ongeldige filterexpressie, een proces zonder model, een niet-ondersteund uploadtype of een verplicht veld dat ontbreekt
  • 401 API-sleutel ontbreekt, is ongeldig, uitgeschakeld of verlopen
  • 404 Bron niet gevonden

Een koppeling verwijderen

Endpoint: DELETE /v1/tenant/{tenantId}/processes/{processId}/mappings/{mappingId}

Authenticatie: API-sleutel voor deze tenant · write-scope

Parameters:

Naam Type Locatie Verplicht Beschrijving
tenantId string pad Ja Formaat: uuid
processId string pad Ja Formaat: uuid
mappingId string pad Ja Formaat: uuid

Response (200):

Koppeling verwijderd

{
	"success": true,
	"message": "string"
}
Veld Type Verplicht Beschrijving
success boolean Ja
message string Ja

Fouten:

  • 400 Ongeldig verzoek: bijvoorbeeld een ongeldige filterexpressie, een proces zonder model, een niet-ondersteund uploadtype of een verplicht veld dat ontbreekt
  • 401 API-sleutel ontbreekt, is ongeldig, uitgeschakeld of verlopen
  • 404 Bron niet gevonden

Deze endpoints gebruiken AI om automatisch BPMN-procesmodellen te genereren op basis van beschrijvingen in natuurlijke taal.

Een procesmodel genereren op basis van een prompt in natuurlijke taal (asynchroon; controleer de status via het statusendpoint)

Endpoint: POST /v1/tenant/{tenantId}/processes/{processId}/generate-model

Authenticatie: API-sleutel voor deze tenant · write-scope · limiet 2 verzoeken/s (piek 4)

Parameters:

Naam Type Locatie Verplicht Beschrijving
tenantId string pad Ja Formaat: uuid
processId string pad Ja Formaat: uuid

Requestbody:

{
	"prompt": "string"
}
Veld Type Verplicht Beschrijving
prompt string Ja

Response (200):

Generatie gestart / resultaat

{
	"message": "string"
}
Veld Type Verplicht Beschrijving
message string Ja

Fouten:

  • 401 API-sleutel ontbreekt, is ongeldig, uitgeschakeld of verlopen
  • 404 Bron niet gevonden

Status van modelgeneratie opvragen

Endpoint: GET /v1/tenant/{tenantId}/processes/{processId}/generate-model/status

Authenticatie: API-sleutel voor deze tenant · write-scope

Parameters:

Naam Type Locatie Verplicht Beschrijving
tenantId string pad Ja Formaat: uuid
processId string pad Ja Formaat: uuid

Response (200):

Generatiestatus

{
	"message": "string"
}
Veld Type Verplicht Beschrijving
message string Ja

Fouten:

  • 401 API-sleutel ontbreekt, is ongeldig, uitgeschakeld of verlopen
  • 404 Bron niet gevonden

De metrics per case van het nieuwste model van het proces: één rij per case met de berekende sequentie- en gezondheidsmetrics.

Metrics per case van een proces ophalen (nieuwste model, gepagineerd)

Geeft voor het nieuwste model van het proces één rij per case terug met de berekende procesmetrics, zoals de duur en lengte van de case, conformance, herstelwerk, gezondheidsscore en variant. Er wordt geen rijfilter toegepast. De resultaten zijn gepagineerd: gebruik limit (standaard 1000, maximum 10000) en offset, en blijf pagina’s ophalen zolang hasMore true is. Zolang de metrics nog worden berekend, heeft de response de status preprocessing.

Endpoint: GET /v1/tenant/{tenantId}/processes/{processId}/data/case-features

Authenticatie: API-sleutel voor deze tenant · read-scope

Parameters:

Naam Type Locatie Verplicht Beschrijving
tenantId string pad Ja Formaat: uuid
processId string pad Ja Formaat: uuid
limit integer query Nee Maximumaantal rijen met cases dat wordt teruggegeven (standaard 1000, maximum 10000)
offset integer query Nee Aantal rijen met cases dat wordt overgeslagen (standaard 0)

Response (200):

Metrics per case

{
	"state": "ready",
	"processId": "00000000-0000-0000-0000-000000000000",
	"modelId": "00000000-0000-0000-0000-000000000000",
	"dataTableId": "00000000-0000-0000-0000-000000000000",
	"rowCount": 0,
	"hasMore": true,
	"rows": [
		{}
	]
}

Fouten:

  • 400 Ongeldig verzoek: bijvoorbeeld een ongeldige filterexpressie, een proces zonder model, een niet-ondersteund uploadtype of een verplicht veld dat ontbreekt
  • 401 API-sleutel ontbreekt, is ongeldig, uitgeschakeld of verlopen
  • 404 Bron niet gevonden
  • 503 Datapijplijn niet gereed of een upstream-query is mislukt

Procesversies weergeven

Endpoint: GET /v1/tenant/{tenantId}/processes/{processId}/versions

Authenticatie: API-sleutel voor deze tenant · read-scope

Parameters:

Naam Type Locatie Verplicht Beschrijving
tenantId string pad Ja Formaat: uuid
processId string pad Ja Formaat: uuid
limit integer query Nee Maximumaantal items dat wordt teruggegeven
offset integer query Nee Aantal items dat wordt overgeslagen

Response (200):

Lijst met versies

[
	{
		"id": "00000000-0000-0000-0000-000000000000",
		"processId": "00000000-0000-0000-0000-000000000000",
		"modelId": "00000000-0000-0000-0000-000000000000",
		"versionNumber": 0,
		"versionType": "manual",
		"displayName": "string",
		"description": "string",
		"createdAt": "2024-03-15T16:30:00Z",
		"updatedAt": "2024-03-15T16:30:00Z",
		"processDisplayName": "string",
		"processShortDescription": "string",
		"publishedState": "draft",
		"elementCount": 0,
		"connectionCount": 0
	}
]

Fouten:

  • 401 API-sleutel ontbreekt, is ongeldig, uitgeschakeld of verlopen
  • 404 Bron niet gevonden

Een versiesnapshot van het proces maken

Endpoint: POST /v1/tenant/{tenantId}/processes/{processId}/versions

Authenticatie: API-sleutel voor deze tenant · write-scope

Parameters:

Naam Type Locatie Verplicht Beschrijving
tenantId string pad Ja Formaat: uuid
processId string pad Ja Formaat: uuid

Requestbody:

{
	"displayName": "string",
	"description": "string",
	"versionType": "manual",
	"restoreFromVersionId": "00000000-0000-0000-0000-000000000000"
}
Veld Type Verplicht Beschrijving
displayName string Nee Versielabel
Standaard: ""
Maximale lengte: 128
description string Nee Optionele beschrijving van de versie
versionType manual | auto Nee handmatig = gemaakt door gebruiker, auto = gemaakt door het systeem
Toegestane waarden: manual, auto
restoreFromVersionId string Nee Versie die als basis dient voor het maken van deze snapshot
Formaat: uuid

Response (201):

Versie aangemaakt

{
	"version": {
		"id": "00000000-0000-0000-0000-000000000000",
		"processId": "00000000-0000-0000-0000-000000000000",
		"modelId": "00000000-0000-0000-0000-000000000000",
		"versionNumber": 0,
		"versionType": "manual",
		"displayName": "string",
		"description": "string",
		"createdAt": "2024-03-15T16:30:00Z",
		"updatedAt": "2024-03-15T16:30:00Z",
		"processDisplayName": "string",
		"processShortDescription": "string",
		"publishedState": "draft",
		"elementCount": 0,
		"connectionCount": 0
	},
	"restoredFrom": {
		"id": "00000000-0000-0000-0000-000000000000",
		"processId": "00000000-0000-0000-0000-000000000000",
		"modelId": "00000000-0000-0000-0000-000000000000",
		"versionNumber": 0,
		"versionType": "manual",
		"displayName": "string",
		"description": "string",
		"createdAt": "2024-03-15T16:30:00Z",
		"updatedAt": "2024-03-15T16:30:00Z",
		"processDisplayName": "string",
		"processShortDescription": "string",
		"publishedState": "draft",
		"elementCount": 0,
		"connectionCount": 0
	}
}
Veld Type Verplicht Beschrijving
version object Ja
restoredFrom object Ja

Fouten:

  • 401 API-sleutel ontbreekt, is ongeldig, uitgeschakeld of verlopen
  • 404 Bron niet gevonden

Een procesversie ophalen

Endpoint: GET /v1/tenant/{tenantId}/processes/{processId}/versions/{versionId}

Authenticatie: API-sleutel voor deze tenant · read-scope

Parameters:

Naam Type Locatie Verplicht Beschrijving
tenantId string pad Ja Formaat: uuid
processId string pad Ja Formaat: uuid
versionId string pad Ja Formaat: uuid

Response (200):

Versie

{
	"version": {
		"id": "00000000-0000-0000-0000-000000000000",
		"processId": "00000000-0000-0000-0000-000000000000",
		"modelId": "00000000-0000-0000-0000-000000000000",
		"versionNumber": 0,
		"versionType": "manual",
		"displayName": "string",
		"description": "string",
		"createdAt": "2024-03-15T16:30:00Z",
		"updatedAt": "2024-03-15T16:30:00Z",
		"processDisplayName": "string",
		"processShortDescription": "string",
		"publishedState": "draft",
		"elementCount": 0,
		"connectionCount": 0
	}
}
Veld Type Verplicht Beschrijving
version object Ja

Fouten:

  • 401 API-sleutel ontbreekt, is ongeldig, uitgeschakeld of verlopen
  • 404 Bron niet gevonden

Een procesversie hernoemen of bijwerken

Endpoint: PUT /v1/tenant/{tenantId}/processes/{processId}/versions/{versionId}

Authenticatie: API-sleutel voor deze tenant · write-scope

Parameters:

Naam Type Locatie Verplicht Beschrijving
tenantId string pad Ja Formaat: uuid
processId string pad Ja Formaat: uuid
versionId string pad Ja Formaat: uuid

Requestbody:

{
	"displayName": "string",
	"description": "string"
}
Veld Type Verplicht Beschrijving
displayName string Nee Versielabel
Maximale lengte: 128
description string Nee Optionele beschrijving van de versie

Response (200):

Versie bijgewerkt

{
	"version": {
		"id": "00000000-0000-0000-0000-000000000000",
		"processId": "00000000-0000-0000-0000-000000000000",
		"modelId": "00000000-0000-0000-0000-000000000000",
		"versionNumber": 0,
		"versionType": "manual",
		"displayName": "string",
		"description": "string",
		"createdAt": "2024-03-15T16:30:00Z",
		"updatedAt": "2024-03-15T16:30:00Z",
		"processDisplayName": "string",
		"processShortDescription": "string",
		"publishedState": "draft",
		"elementCount": 0,
		"connectionCount": 0
	}
}
Veld Type Verplicht Beschrijving
version object Ja

Fouten:

  • 401 API-sleutel ontbreekt, is ongeldig, uitgeschakeld of verlopen
  • 404 Bron niet gevonden

Een procesversie verwijderen

Endpoint: DELETE /v1/tenant/{tenantId}/processes/{processId}/versions/{versionId}

Authenticatie: API-sleutel voor deze tenant · write-scope

Parameters:

Naam Type Locatie Verplicht Beschrijving
tenantId string pad Ja Formaat: uuid
processId string pad Ja Formaat: uuid
versionId string pad Ja Formaat: uuid

Response (200):

Versie verwijderd

{
	"deleted": true
}
Veld Type Verplicht Beschrijving
deleted boolean Ja

Fouten:

  • 401 API-sleutel ontbreekt, is ongeldig, uitgeschakeld of verlopen
  • 404 Bron niet gevonden

Een artefact ophalen

Endpoint: GET /v1/tenant/{tenantId}/artifacts/{artifactId}

Authenticatie: API-sleutel voor deze tenant · read-scope

Parameters:

Naam Type Locatie Verplicht Beschrijving
tenantId string pad Ja Formaat: uuid
artifactId string pad Ja Formaat: uuid

Response (200):

Artefact

{
	"id": "00000000-0000-0000-0000-000000000000",
	"displayName": "string",
	"description": "string",
	"originalFileName": "string",
	"mimeType": "string",
	"kind": "Image",
	"artifactType": "modelIcon",
	"uploadState": "Uploading",
	"hasThumbnail": true,
	"sizeBytes": 0,
	"createdAt": "2024-03-15T16:30:00Z",
	"createdBy": "00000000-0000-0000-0000-000000000000"
}
Veld Type Verplicht Beschrijving
id string Ja Formaat: uuid
displayName string Ja Standaard: ""
Maximale lengte: 500
description string Ja Maximale lengte: 2000
originalFileName string Ja Standaard: ""
Maximale lengte: 500
mimeType string Ja Standaard: ""
Maximale lengte: 200
kind Image | Pdf | Docx | Xlsx | Pptx | Text | Video Ja Toegestane waarden: Image, Pdf, Docx, Xlsx, Pptx, Text, Video
artifactType modelIcon | processArtifact | doc | orgDoc | levelFrontPageImage Ja Toegestane waarden: modelIcon, processArtifact, doc, orgDoc, levelFrontPageImage
Standaard: modelIcon
uploadState Uploading | Ready | Failed | Deleted Ja Toegestane waarden: Uploading, Ready, Failed, Deleted
Standaard: Uploading
hasThumbnail boolean Ja Standaard: false
sizeBytes number Ja Standaard: 0
createdAt string Ja Formaat: date-time
createdBy string Nee Formaat: uuid

Fouten:

  • 401 API-sleutel ontbreekt, is ongeldig, uitgeschakeld of verlopen
  • 404 Bron niet gevonden

De weergavenaam of beschrijving van een artefact bijwerken

Endpoint: PUT /v1/tenant/{tenantId}/artifacts/{artifactId}

Authenticatie: API-sleutel voor deze tenant · write-scope

Parameters:

Naam Type Locatie Verplicht Beschrijving
tenantId string pad Ja Formaat: uuid
artifactId string pad Ja Formaat: uuid

Requestbody:

{
	"displayName": "string",
	"description": "string"
}
Veld Type Verplicht Beschrijving
displayName string Nee Naam van het artefact
Maximale lengte: 500
description string Nee Optionele beschrijving van het artefact
Maximale lengte: 2000

Response (200):

Artefact bijgewerkt

{
	"id": "00000000-0000-0000-0000-000000000000",
	"displayName": "string",
	"description": "string",
	"originalFileName": "string",
	"mimeType": "string",
	"kind": "Image",
	"artifactType": "modelIcon",
	"uploadState": "Uploading",
	"hasThumbnail": true,
	"sizeBytes": 0,
	"createdAt": "2024-03-15T16:30:00Z",
	"createdBy": "00000000-0000-0000-0000-000000000000"
}
Veld Type Verplicht Beschrijving
id string Ja Formaat: uuid
displayName string Ja Standaard: ""
Maximale lengte: 500
description string Ja Maximale lengte: 2000
originalFileName string Ja Standaard: ""
Maximale lengte: 500
mimeType string Ja Standaard: ""
Maximale lengte: 200
kind Image | Pdf | Docx | Xlsx | Pptx | Text | Video Ja Toegestane waarden: Image, Pdf, Docx, Xlsx, Pptx, Text, Video
artifactType modelIcon | processArtifact | doc | orgDoc | levelFrontPageImage Ja Toegestane waarden: modelIcon, processArtifact, doc, orgDoc, levelFrontPageImage
Standaard: modelIcon
uploadState Uploading | Ready | Failed | Deleted Ja Toegestane waarden: Uploading, Ready, Failed, Deleted
Standaard: Uploading
hasThumbnail boolean Ja Standaard: false
sizeBytes number Ja Standaard: 0
createdAt string Ja Formaat: date-time
createdBy string Nee Formaat: uuid

Fouten:

  • 401 API-sleutel ontbreekt, is ongeldig, uitgeschakeld of verlopen
  • 404 Bron niet gevonden

Een artefact verwijderen

Endpoint: DELETE /v1/tenant/{tenantId}/artifacts/{artifactId}

Authenticatie: API-sleutel voor deze tenant · write-scope

Parameters:

Naam Type Locatie Verplicht Beschrijving
tenantId string pad Ja Formaat: uuid
artifactId string pad Ja Formaat: uuid

Response (200):

Artefact verwijderd

{
	"deleted": true
}
Veld Type Verplicht Beschrijving
deleted boolean Ja

Fouten:

  • 401 API-sleutel ontbreekt, is ongeldig, uitgeschakeld of verlopen
  • 404 Bron niet gevonden

Doorverwijzen naar een vooraf ondertekende URL om het artefact te downloaden

Endpoint: GET /v1/tenant/{tenantId}/artifacts/{artifactId}/open

Authenticatie: API-sleutel voor deze tenant · read-scope

Parameters:

Naam Type Locatie Verplicht Beschrijving
tenantId string pad Ja Formaat: uuid
artifactId string pad Ja Formaat: uuid

Fouten:

  • 302 Doorverwijzing naar vooraf ondertekende download-URL
  • 401 API-sleutel ontbreekt, is ongeldig, uitgeschakeld of verlopen
  • 404 Bron niet gevonden

Artefacten bij een proces weergeven

Endpoint: GET /v1/tenant/{tenantId}/processes/{processId}/artifacts

Authenticatie: API-sleutel voor deze tenant · read-scope

Parameters:

Naam Type Locatie Verplicht Beschrijving
tenantId string pad Ja Formaat: uuid
processId string pad Ja Formaat: uuid
limit integer query Nee Maximumaantal items dat wordt teruggegeven
offset integer query Nee Aantal items dat wordt overgeslagen

Response (200):

Lijst met procesartefacten

[
	{
		"id": "00000000-0000-0000-0000-000000000000",
		"artifactId": "00000000-0000-0000-0000-000000000000",
		"section": "string",
		"artifact": {
			"id": "00000000-0000-0000-0000-000000000000",
			"displayName": "string",
			"description": "string",
			"originalFileName": "string",
			"mimeType": "string",
			"kind": "Image",
			"artifactType": "modelIcon",
			"uploadState": "Uploading",
			"hasThumbnail": true,
			"sizeBytes": 0,
			"createdAt": "2024-03-15T16:30:00Z",
			"createdBy": "00000000-0000-0000-0000-000000000000"
		}
	}
]

Fouten:

  • 401 API-sleutel ontbreekt, is ongeldig, uitgeschakeld of verlopen
  • 404 Bron niet gevonden

Een vooraf ondertekende S3-upload-URL ophalen voor een nieuw procesartefact

Endpoint: POST /v1/tenant/{tenantId}/processes/{processId}/artifacts/uploads/presigned-url

Authenticatie: API-sleutel voor deze tenant · write-scope

Parameters:

Naam Type Locatie Verplicht Beschrijving
tenantId string pad Ja Formaat: uuid
processId string pad Ja Formaat: uuid

Requestbody:

{
	"fileName": "string",
	"mimeType": "string",
	"sizeBytes": 0,
	"artifactType": "modelIcon"
}
Veld Type Verplicht Beschrijving
fileName string Ja
mimeType string Ja
sizeBytes number Ja
artifactType modelIcon | processArtifact | doc | levelFrontPageImage Nee Toegestane waarden: modelIcon, processArtifact, doc, levelFrontPageImage
Standaard: processArtifact

Response (200):

Vooraf ondertekende upload-URL

{
	"artifactId": "00000000-0000-0000-0000-000000000000",
	"originalUrl": "string",
	"thumbnailUrl": "string"
}
Veld Type Verplicht Beschrijving
artifactId string Ja Formaat: uuid
originalUrl string Ja
thumbnailUrl string Ja

Fouten:

  • 400 Ongeldig verzoek: bijvoorbeeld een ongeldige filterexpressie, een proces zonder model, een niet-ondersteund uploadtype of een verplicht veld dat ontbreekt
  • 401 API-sleutel ontbreekt, is ongeldig, uitgeschakeld of verlopen
  • 403 API-sleutel heeft niet de vereiste scope of toegang tot de organisatie, de tenant is inactief of het abonnement staat dit bestandstype niet toe
  • 404 Bron niet gevonden
  • 409 Het verzoek is in strijd met de huidige status (bijvoorbeeld een licentiecontrole of een hergebruikt ID)