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

KeyDatatypeRequiredDescription
dataSetIdstringFilter by a specific data retention rule identifier
actorIdnumberFilter by any attached actor (stakholders, recipients, customers)
stakeholderIdnumberFilter by a specific stakeholder identifier
recipientIdnumberFilter by a specific actor identifier
customerIdnumberFilter by a specific data controller identifier
securityMeasureIdnumberFilter by a specific security measure
areaIdnumberFilter by organizational unit identifier
archivedbooleanArchived state
piaStatestringFilter by a specific state of the PIA
legalBasisstringFilter by any legal basis present in data processing purposes
legalBasisstringFilter by any legal basis present in data processing purposes
tagsnumberFilter by tag ids
tagsnumberFilter by tag ids
workflowsnumberFilter by workflow step identifier
workflowsnumberFilter by workflow step identifier
fieldsstringFilter by data field ids
fieldsstringFilter by data field ids
sensitivebooleanIf true, it will only get record with sensitive data
countriesstringFilter by transfer countries
countriesstringFilter by transfer countries
statesstringFilter by internal states
statesstringFilter by internal states
typestringTodo : convert to type non array param
qstringFull text search
idsstringFilter by a list of id
idsstringFilter by a list of id
selectstringComma separated list of fields
pagenumberPagination index (1 based, page 1 = 1, page 2 = 2...)
sizenumberSize of the result page (default: 20, max 500)
skipnumberThe number of items to skip (if not provided, it will use the default page and size prop)
sortBystringThe field to sort
ascbooleanTrue to sort ascending
filtersstringA 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

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;total&quot;:-60443532,&quot;items&quot;:[{&quot;label&quot;:&quot;dolor cupidatat dolore&quot;,&quot;treeItemType&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;folders&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}],&quot;children&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}],&quot;total&quot;:74508481,&quot;order&quot;:-28226475,&quot;teams&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}],&quot;id&quot;:-73338731,&quot;type&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;parentId&quot;:89488683,&quot;ref&quot;:&quot;magna&quot;,&quot;description&quot;:&quot;minim quis dolor esse&quot;,&quot;logoUrl&quot;:&quot;proident dolor occaecat voluptate&quot;,&quot;address&quot;:&quot;labore in exercitation irure&quot;,&quot;zipCode&quot;:&quot;in dolor&quot;,&quot;city&quot;:&quot;Ut dolore&quot;,&quot;countryCode&quot;:&quot;i&quot;,&quot;immatriculationNumber&quot;:&quot;officia enim Ex&quot;,&quot;phoneNumber&quot;:&quot;esse dol&quot;,&quot;mailAddress&quot;:&quot;aute incididunt sunt&quot;,&quot;dpo&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;referent&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;representative&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;dataProtectionAuthority&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},{&quot;label&quot;:&quot;sit occae&quot;,&quot;treeItemType&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;folders&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}],&quot;children&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}],&quot;total&quot;:49862909,&quot;order&quot;:-85804395,&quot;teams&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}],&quot;id&quot;:40993895,&quot;type&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;parentId&quot;:-40086126,&quot;ref&quot;:&quot;cillum nisi ex&quot;,&quot;description&quot;:&quot;aliqua in adipisicing ex&quot;,&quot;logoUrl&quot;:&quot;magna velit aute qui&quot;,&quot;address&quot;:&quot;consequat esse&quot;,&quot;zipCode&quot;:&quot;cons&quot;,&quot;city&quot;:&quot;deserunt es&quot;,&quot;countryCode&quot;:&quot;&quot;,&quot;immatriculationNumber&quot;:&quot;dolore fu&quot;,&quot;phoneNumber&quot;:&quot;cillum deseru&quot;,&quot;mailAddress&quot;:&quot;laboris&quot;,&quot;dpo&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;referent&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;representative&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;dataProtectionAuthority&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}}]}