API-integratie
Op deze pagina vindt u uitleg over hoe u uw rechteneisen in Dastra direct kunt manipuleren de droits dans Dastra sans intégrer le SDK javascript grâce à notre API Rest.
Dastra is niet geïntegreerd in alle ontwikkelingsplatforms, wij stellen u een API Rest ter beschikking om uw recht op toegang tot uw applicaties te krijgen;
Verzoek om rechten uit te oefenen
Hieronder vindt u het model van een aanvraag voor de uitoefening van rechten in Dastra
Eindpunten van de API
Hier zijn de belangrijkste Endpoints die handig zijn voor het integreren van uw applicaties met de Dastra module voor het uitoefenen van rechten.
Maak een nieuwe rechtenaanvraag aan in Dastra
POST
/v1/ws/{workspaceId}/DataSubjectRequests
Path Parameters
Name | Type | Description |
---|---|---|
workspaceId* | String | De id van de werkruimte waarin u het verzoek tot uitoefening van uw rechten wilt plaatsen |
Een bestaand verzoek om rechtenuitoefening ophalen via zijn id
GET
/v1/ws/{workspaceId}/DataSubjectRequests/{id}
Path Parameters
Name | Type | Description |
---|---|---|
* | Integer | De id van het verzoek om de rechten die u wilt uitoefenen |
workspaceId* | String | De id van de werkruimte waarin het verzoek om de rechten die u wilt uitoefenen zich bevindt |
Een gepagineerde lijst ophalen met verzoeken om rechten uit te oefenen
GET
/v1/ws/{workspaceId}/DataSubjectRequests
Je kunt optionele zoekparameters doorgeven aan je verzoek om het API antwoord te filteren
Path Parameters
Name | Type | Description |
---|---|---|
workspaceId* | String | De workspace id die u nodig hebt |
Query Parameters
Name | Type | Description |
---|---|---|
page | Integer | De pagina die u wilt opvragen |
size | Integer | Het aantal elementen dat per pagina wordt geretourneerd |
sortBy | String | Het veld waarop de volgorde van elementen moet worden gefilterd |
q | String | Zoek tekst in de titel van de aanvraag |
asc | Boolean | true voor bottom-up ordening |
skip | Integer | |
purposes | Array[String] | Filter verzoeken op type (Onbekend, Informatie, Toegang, Rectificatie, Wissen, Beperking, Verzet, Portabiliteit, Richtlijnen vooraf, GeautomatiseerdBesluit) |
states | Array[String] | Verzoeken filteren op status (Open, IdentityValidation, Processing, Active, Closed) |
widgetId | Integer | filterverzoeken van een verzamelwidget |
archived | Boolean | Gearchiveerde verzoeken retourneren |
inhalen | Boolean | Zoeken naar verzoeken waarvoor de wettelijke antwoordtermijn is overschreden |
ids | Array[Integer] | Selecteer een lijst met verzoeken op hun id's |
tags | Array[Integer] | Selecteer verzoeken met specifieke tags (geef een array van tagIds door als querystring) |
Een verzoek bijwerken om rechten uit te oefenen
PUT
/v1/ws/{workspaceId}/DataSubjectRequests/{id}
Path Parameters
Name | Type | Description |
---|---|---|
workspaceId* | String | De id van de werkruimte die de rechtenaanvraag bevat die u wilt verwijderen |
id* | Integer | De id van de bestaande rechtenaanvraag die u wilt verwijderen |
Request Body
Name | Type | Description |
---|---|---|
dataSubjectRequest | Object | Plaats het volledige onderwerp van het verzoek om rechten uit te oefenen (zie hierboven of onze api swagger documentatie) |
Een verzoek verwijderen om rechten uit te oefenen via uw id
DELETE
/v1/ws/{workspaceId}/DataSubjectRequests/{id}
Houd er rekening mee dat deze actie onomkeerbaar is en dat het verzoek om uw rechten uit te oefenen permanent uit onze databases zal worden verwijderd.
Path Parameters
Name | Type | Description |
---|---|---|
workspaceId* | String | De id van de werkruimte die de rechtenaanvraag bevat die u wilt verwijderen |
id* | Integer | De id van de bestaande rechtenaanvraag die u wilt verwijderen |
De fase in het proces van het aanvragen van de uitoefening van rechten wijzigen
POST
/v1/ws/{workspaceId}/DataSubjectRequests/workflow
Path Parameters
Name | Type | Description |
---|---|---|
workspaceId* | String | De id van de werkruimte die de rechtenaanvraag bevat die u wilt verwijderen |
Request Body
Name | Type | Description |
---|---|---|
id | Integer | De id van het verzoek tot uitoefening van rechten waarvoor u het processtadium wilt wijzigen |
stepId | Integer | De id van de processtap die u wilt toepassen op het verzoek om rechten uit te oefenen |
Een verzoek indienen om een recht uit te oefenen via uw Id
POST
/v1/ws/{workspaceId}/DataSubjectRequests/archive/{id}
Dit eindpunt past de status "Gearchiveerd" toe op het verzoek voor het uitoefenen van rechten
Path Parameters
Name | Type | Description |
---|---|---|
workspaceId | String | De id van de werkruimte die de rechtenaanvraag bevat die u wilt verwijderen |
id | Integer | De id van het verzoek om de rechten uit te oefenen die u wilt archiveren |
De gearchiveerde status van een aanvraag voor het uitoefenen van rechten verwijderen
POST
/v1/ws/{workspaceId}/DataSubjectRequests/restore/{id}
Path Parameters
Name | Type | Description |
---|---|---|
workspaceId | String | De id van de werkruimte die de rechtenaanvraag bevat die u wilt verwijderen |
id | Integrer | De id van het verzoek om de rechten die u wilt herstellen uit te oefenen |
Verzoek om rechten uit te oefenen
Last updated