List data retention rules
GET {{baseUrl}}/v1/ws/:workspaceId/DataRetentionRules?subCatIds=d4f4baa2-55ee-3f4c-0ca0-c6deaeed0857&subCatIds=urn:uuid:ff11db24-69a8-3ad2-d3e2-f5cb64653a1d&ids=d4f4baa2-55ee-3f4c-0ca0-c6deaeed0857&ids=urn:uuid:ff11db24-69a8-3ad2-d3e2-f5cb64653a1d&orphan=true&tags=88057944&tags=-17779712&dataTypes=<string>&dataTypes=<string>&assetTypes=<string>&assetTypes=<string>&assets=88057944&assets=-17779712&dataFieldId=90244082-e0f0-7c09-2426-64e4431d1d9d&q=eu&sensitive=true&select=eu&page=61551403&size=61551403&skip=61551403&sortBy=eu&asc=true&filters=eu
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
subCatIds | string | ||
subCatIds | string | ||
ids | string | ||
ids | string | ||
orphan | boolean | ||
tags | number | ||
tags | number | ||
dataTypes | string | ||
dataTypes | string | ||
assetTypes | string | ||
assetTypes | string | ||
assets | number | ||
assets | number | ||
dataFieldId | string | ||
q | string | ||
sensitive | boolean | ||
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
{"items":[{"label":"reprehenderit tempor aliquip ut","customFields":{"quis_9":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"ullamcod":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"tags":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"creator":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"readonly":true,"purposes":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"dataProcessings":[{"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":"urn:uuid:7e07f482-925d-1bd6-2649-97de25ef7c33","ref":"proident ut fugiat ullamco","description":"aliqua","dateCreation":"2020-01-26T11:56:17.798Z","dateUpdate":"2022-11-13T13:28:28.635Z","baseActiveOverride":false,"intermediateArchivingOverride":false,"destructionOverride":true,"baseActiveDescription":"Excepteur anim laborum sit","baseActiveLegalBasis":"irure consequat velit","baseActiveRetentionDuration":-65337269,"intermediateArchivingLegalBasis":"sed","intermediateArchivingDescription":"officia id in cupidatat","intermediateArchivingRetentionDuration":-70372811,"destructionDescription":"reprehend","destructionLegalBasis":"elit do","dataSetSource":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"sourceDescription":"fugiat laboris ad","dataFields":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"asset":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"subjectCategories":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"assetId":7086247},{"label":"enim ea aute non pariatur","customFields":{"cillum_3c":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"dolore_8":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"tags":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"creator":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"readonly":false,"purposes":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"dataProcessings":[{"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":"urn:uuid:6a9b771d-8992-c3a4-a9e5-cda26d108d35","ref":"nulla ea Ut","description":"dolore tempor non","dateCreation":"1956-10-04T00:57:07.991Z","dateUpdate":"1989-07-02T14:11:50.526Z","baseActiveOverride":true,"intermediateArchivingOverride":true,"destructionOverride":true,"baseActiveDescription":"laboris","baseActiveLegalBasis":"aliquip Duis incididunt ipsum","baseActiveRetentionDuration":-1955609,"intermediateArchivingLegalBasis":"sunt velit","intermediateArchivingDescription":"","intermediateArchivingRetentionDuration":61462659,"destructionDescription":"eiusmod anim Duis","destructionLegalBasis":"laborum irure voluptate","dataSetSource":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"sourceDescription":"adipisicing","dataFields":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"asset":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"subjectCategories":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"assetId":-96231360}],"total":6065586,"size":-22657143,"page":-68115795}