API-referentie: organisaties
API-referentie voor endpoints voor organisatiebeheer en gebruikersbeheer.
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:
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, TreeGroupStandaard: 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, TreeGroupStandaard: Process |
| displayName | string | Ja | Standaard: New ProcessMaximale lengte: 128 |
| createdAt | string | Ja | Indeling: date-time |
| updatedAt | string | Ja | Indeling: date-time |
| designerModelId | string | Ja | Indeling: uuid |
Fouten:
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, TreeGroupStandaard: Process |
| displayName | string | Ja | Standaard: New ProcessMaximale lengte: 128 |
| createdAt | string | Ja | Indeling: date-time |
| updatedAt | string | Ja | Indeling: date-time |
| designerModelId | string | Ja | Indeling: uuid |
Fouten:
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, TreeGroupStandaard: Process |
| displayName | string | Ja | Standaard: New ProcessMaximale lengte: 128 |
| createdAt | string | Ja | Indeling: date-time |
| updatedAt | string | Ja | Indeling: date-time |
| designerModelId | string | Ja | Indeling: uuid |
Fouten:
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:
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:
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:
Datamappings koppelen datatabellen aan processen. Zo kun je de data uit het event log op een procesmodel visualiseren en analyseren.
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:
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, comparisonStandaard: comparison |
| sortOrder | integer | Ja | Standaard: 0Minimum: -9007199254740991 Maximum: 9007199254740991 |
Fouten:
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, comparisonStandaard: comparison |
| sortOrder | integer | Ja | Standaard: 0Minimum: -9007199254740991 Maximum: 9007199254740991 |
Fouten:
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:
Deze endpoints gebruiken AI om automatisch BPMN-procesmodellen te genereren op basis van beschrijvingen in natuurlijke taal.
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:
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:
De metrics per case van het nieuwste model van het proces: één rij per case met de berekende sequentie- en gezondheidsmetrics.
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:
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:
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:
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:
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:
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:
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, levelFrontPageImageStandaard: modelIcon |
| uploadState | Uploading | Ready | Failed | Deleted | Ja | Toegestane waarden: Uploading, Ready, Failed, DeletedStandaard: Uploading |
| hasThumbnail | boolean | Ja | Standaard: false |
| sizeBytes | number | Ja | Standaard: 0 |
| createdAt | string | Ja | Formaat: date-time |
| createdBy | string | Nee | Formaat: uuid |
Fouten:
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, levelFrontPageImageStandaard: modelIcon |
| uploadState | Uploading | Ready | Failed | Deleted | Ja | Toegestane waarden: Uploading, Ready, Failed, DeletedStandaard: Uploading |
| hasThumbnail | boolean | Ja | Standaard: false |
| sizeBytes | number | Ja | Standaard: 0 |
| createdAt | string | Ja | Formaat: date-time |
| createdBy | string | Nee | Formaat: uuid |
Fouten:
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:
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:
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:
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, levelFrontPageImageStandaard: 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:
We gebruiken cookies om je ervaring te verbeteren, content persoonlijker te maken en verkeer te analyseren. We meten paginaweergaven ook anoniem, zonder cookies. Als je toestemming geeft voor analytics, voegen we een identifier toe waarmee we je bezoeken aan elkaar kunnen koppelen. Door op "Alles accepteren" te klikken, geef je toestemming voor het gebruik van cookies.