Get data treatments (Tree)
GET {{baseUrl}}/v1/ws/:workspaceId/DataProcessings/tree?dataSetId=90244082-e0f0-7c09-2426-64e4431d1d9d&actorId=61551403&stakeholderId=61551403&recipientId=61551403&customerId=61551403&securityMeasureId=61551403&areaId=61551403&archived=true&piaState=<string>&legalBasis=<string>&legalBasis=<string>&tags=88057944&tags=-17779712&workflows=88057944&workflows=-17779712&fields=d4f4baa2-55ee-3f4c-0ca0-c6deaeed0857&fields=urn:uuid:ff11db24-69a8-3ad2-d3e2-f5cb64653a1d&sensitive=true&countries=in in consectetur eni&countries=est elit ad&states=<string>&states=<string>&type=<string>&q=eu&ids=d4f4baa2-55ee-3f4c-0ca0-c6deaeed0857&ids=urn:uuid:ff11db24-69a8-3ad2-d3e2-f5cb64653a1d&select=eu&page=61551403&size=61551403&skip=61551403&sortBy=eu&asc=true&filters=eu
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
dataSetId | string | Filter by a specific data retention rule identifier | |
actorId | number | Filter by any attached actor (stakholders, recipients, customers) | |
stakeholderId | number | Filter by a specific stakeholder identifier | |
recipientId | number | Filter by a specific actor identifier | |
customerId | number | Filter by a specific data controller identifier | |
securityMeasureId | number | Filter by a specific security measure | |
areaId | number | Filter by organizational unit identifier | |
archived | boolean | Archived state | |
piaState | string | Filter by a specific state of the PIA | |
legalBasis | string | Filter by any legal basis present in data processing purposes | |
legalBasis | string | Filter by any legal basis present in data processing purposes | |
tags | number | Filter by tag ids | |
tags | number | Filter by tag ids | |
workflows | number | Filter by workflow step identifier | |
workflows | number | Filter by workflow step identifier | |
fields | string | Filter by data field ids | |
fields | string | Filter by data field ids | |
sensitive | boolean | If true, it will only get record with sensitive data | |
countries | string | Filter by transfer countries | |
countries | string | Filter by transfer countries | |
states | string | Filter by internal states | |
states | string | Filter by internal states | |
type | string | Todo : convert to type non array param | |
q | string | Full text search | |
ids | string | Filter by a list of id | |
ids | string | Filter by a list of id | |
select | string | Comma separated list of fields | |
page | number | Pagination index (1 based, page 1 = 1, page 2 = 2...) | |
size | number | Size of the result page (default: 20, max 500) | |
skip | number | The number of items to skip (if not provided, it will use the default page and size prop) | |
sortBy | string | The field to sort | |
asc | boolean | True to sort ascending | |
filters | string | A serialized as json filter string using the JsonRuleEngine.net format | |
https://github.com/antoinebidault/JsonRuleEngine.Net | |||
The filters is a query param, that's why he must be properly serialized as a json string and url encoded | |||
e.g. {"field":"ProcessingType", "operator":"notEqual", "value": "Done"} | |||
The field prop must match one property name of the object (present in the output results) | |||
The operator can be equal, | |||
notEqual, | |||
lessThan, | |||
lessThanInclusive, | |||
greaterThan, | |||
greaterThanInclusive, | |||
in, | |||
notIn, | |||
contains, | |||
doesNotContains, | |||
isNull, | |||
isNotNull, | |||
isEmpty | |||
You can combine the filters as following : | |||
{ "separator":"Or","rules": [{"field":"ProcessingType", "operator":"notEqual", "value": "Done"},{"field":"ProcessingType", "operator":"isNull"}]} | |||
Serialize the filter param as following: | |||
?filters=${uriEncodeComponent(JSON.stringify({"field":"ProcessingType", "operator":"notEqual", "value": "Done"}))} |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"total":-60443532,"items":[{"label":"dolor cupidatat dolore","treeItemType":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"folders":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"children":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"total":74508481,"order":-28226475,"teams":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"id":-73338731,"type":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"parentId":89488683,"ref":"magna","description":"minim quis dolor esse","logoUrl":"proident dolor occaecat voluptate","address":"labore in exercitation irure","zipCode":"in dolor","city":"Ut dolore","countryCode":"i","immatriculationNumber":"officia enim Ex","phoneNumber":"esse dol","mailAddress":"aute incididunt sunt","dpo":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"referent":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"representative":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"dataProtectionAuthority":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"label":"sit occae","treeItemType":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"folders":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"children":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"total":49862909,"order":-85804395,"teams":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"id":40993895,"type":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"parentId":-40086126,"ref":"cillum nisi ex","description":"aliqua in adipisicing ex","logoUrl":"magna velit aute qui","address":"consequat esse","zipCode":"cons","city":"deserunt es","countryCode":"","immatriculationNumber":"dolore fu","phoneNumber":"cillum deseru","mailAddress":"laboris","dpo":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"referent":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"representative":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"dataProtectionAuthority":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}]}