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

KeyDatatypeRequiredDescription
subCatIdsstring
subCatIdsstring
idsstring
idsstring
orphanboolean
tagsnumber
tagsnumber
dataTypesstring
dataTypesstring
assetTypesstring
assetTypesstring
assetsnumber
assetsnumber
dataFieldIdstring
qstring
sensitiveboolean
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;items&quot;:[{&quot;label&quot;:&quot;reprehenderit tempor aliquip ut&quot;,&quot;customFields&quot;:{&quot;quis_9&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;ullamcod&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},&quot;tags&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;creator&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;readonly&quot;:true,&quot;purposes&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;dataProcessings&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;:&quot;urn:uuid:7e07f482-925d-1bd6-2649-97de25ef7c33&quot;,&quot;ref&quot;:&quot;proident ut fugiat ullamco&quot;,&quot;description&quot;:&quot;aliqua&quot;,&quot;dateCreation&quot;:&quot;2020-01-26T11:56:17.798Z&quot;,&quot;dateUpdate&quot;:&quot;2022-11-13T13:28:28.635Z&quot;,&quot;baseActiveOverride&quot;:false,&quot;intermediateArchivingOverride&quot;:false,&quot;destructionOverride&quot;:true,&quot;baseActiveDescription&quot;:&quot;Excepteur anim laborum sit&quot;,&quot;baseActiveLegalBasis&quot;:&quot;irure consequat velit&quot;,&quot;baseActiveRetentionDuration&quot;:-65337269,&quot;intermediateArchivingLegalBasis&quot;:&quot;sed&quot;,&quot;intermediateArchivingDescription&quot;:&quot;officia id in cupidatat&quot;,&quot;intermediateArchivingRetentionDuration&quot;:-70372811,&quot;destructionDescription&quot;:&quot;reprehend&quot;,&quot;destructionLegalBasis&quot;:&quot;elit do&quot;,&quot;dataSetSource&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;sourceDescription&quot;:&quot;fugiat laboris ad&quot;,&quot;dataFields&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;asset&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;subjectCategories&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;assetId&quot;:7086247},{&quot;label&quot;:&quot;enim ea aute non pariatur&quot;,&quot;customFields&quot;:{&quot;cillum_3c&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;dolore_8&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},&quot;tags&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;creator&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;readonly&quot;:false,&quot;purposes&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;dataProcessings&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;:&quot;urn:uuid:6a9b771d-8992-c3a4-a9e5-cda26d108d35&quot;,&quot;ref&quot;:&quot;nulla ea Ut&quot;,&quot;description&quot;:&quot;dolore tempor non&quot;,&quot;dateCreation&quot;:&quot;1956-10-04T00:57:07.991Z&quot;,&quot;dateUpdate&quot;:&quot;1989-07-02T14:11:50.526Z&quot;,&quot;baseActiveOverride&quot;:true,&quot;intermediateArchivingOverride&quot;:true,&quot;destructionOverride&quot;:true,&quot;baseActiveDescription&quot;:&quot;laboris&quot;,&quot;baseActiveLegalBasis&quot;:&quot;aliquip Duis incididunt ipsum&quot;,&quot;baseActiveRetentionDuration&quot;:-1955609,&quot;intermediateArchivingLegalBasis&quot;:&quot;sunt velit&quot;,&quot;intermediateArchivingDescription&quot;:&quot;&quot;,&quot;intermediateArchivingRetentionDuration&quot;:61462659,&quot;destructionDescription&quot;:&quot;eiusmod anim Duis&quot;,&quot;destructionLegalBasis&quot;:&quot;laborum irure voluptate&quot;,&quot;dataSetSource&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;sourceDescription&quot;:&quot;adipisicing&quot;,&quot;dataFields&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;asset&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;subjectCategories&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;assetId&quot;:-96231360}],&quot;total&quot;:6065586,&quot;size&quot;:-22657143,&quot;page&quot;:-68115795}