Create a data retention rule
POST {{baseUrl}}/v1/ws/:workspaceId/DataRetentionRules
Request Body
{"label"=>"in dolor", "tags"=>[{"label"=>"laboris culpa adipisicing labore", "type"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "id"=>-36052984, "color"=>"minim ul"}, {"label"=>"pariatur ipsum", "type"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "id"=>81161323, "color"=>"off"}], "creator"=>{"id"=>-86981113, "displayName"=>"nisi occaecat elit minim", "familyName"=>"ullamco cupidatat culpa", "givenName"=>"laborum exercitation occaecat", "email"=>"incididunt", "avatarUrl"=>"culpa eiusmod", "tenantId"=>-99632494}, "readonly"=>true, "purposes"=>["b20d8a4e-57da-b944-2718-ab9437917030", "699f1b4c-cfdd-42e1-6f7a-b115383548f7"], "dataProcessings"=>[{"id"=>"5b0474c8-047e-9743-da5c-d2092a02f083", "label"=>"do laborum veniam", "ref"=>"officia", "description"=>"ullamco", "riskLevel"=>-6658677, "workspaceId"=>35534192, "archived"=>false, "dateUpdate"=>"1994-01-07T23:56:22.885Z", "dateCreation"=>"1987-09-09T09:32:49.467Z", "areaId"=>-93025317, "processingType"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, {"id"=>"5417adf7-c4ae-4f46-8f65-630725021c07", "label"=>"sed ad", "ref"=>"cupidata", "description"=>"minim sit eu in", "riskLevel"=>-4763955, "workspaceId"=>-57126012, "archived"=>true, "dateUpdate"=>"1971-05-01T14:13:35.393Z", "dateCreation"=>"1976-10-28T05:35:55.555Z", "areaId"=>97998928, "processingType"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}], "id"=>"urn:uuid:7612eef3-c848-d18f-4f52-9d7be46be97a", "ref"=>"consect", "description"=>"id", "dateCreation"=>"1978-06-25T17:05:00.161Z", "dateUpdate"=>"1943-06-04T05:26:54.008Z", "baseActiveOverride"=>true, "intermediateArchivingOverride"=>true, "destructionOverride"=>true, "baseActiveDescription"=>"id sed mag", "baseActiveLegalBasis"=>"tempor Excepteur in", "baseActiveRetentionDuration"=>-50092318, "intermediateArchivingLegalBasis"=>"Duis culpa", "intermediateArchivingDescription"=>"et do sed qui", "intermediateArchivingRetentionDuration"=>-12363976, "destructionDescription"=>"Excepteur dolor esse ex", "destructionLegalBasis"=>"veniam Lorem ut Excepteur", "dataSetSource"=>"DirectAndIndirect", "sourceDescription"=>"reprehenderit culpa dolore", "dataFields"=>[{"label"=>"ut tempor", "id"=>"urn:uuid:247d6aa2-0e77-ee2f-734d-20db24774e7e", "customFields"=>{"Loremf7e"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "ea8b9"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "ref"=>"Excepteur", "archivingPolicy"=>"tempor qui laborum nisi ad", "required"=>false, "definition"=>"consectetur Duis nisi esse proident", "technicalDefinition"=>"pariatur dolore", "sensitiveDataFieldLegalJustification"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "sensitiveDataFieldLegalJustificationDescription"=>"pariatur incididunt", "sensitiveData"=>false, "personalDataCategory"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "dataType"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "dateCreation"=>"1950-11-03T19:02:12.189Z", "dateUpdate"=>"2019-02-16T03:41:59.901Z", "creator"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, {"label"=>"commodo aute aliqua", "id"=>"urn:uuid:f197fe52-cda8-0ca4-9aba-218a86d721c6", "customFields"=>{"eu0a"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "ea_e7"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "sed46_"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "ref"=>"in cillum dolor Ut nostrud", "archivingPolicy"=>"eiusmod", "required"=>false, "definition"=>"voluptate anim", "technicalDefinition"=>"sunt sint nostrud reprehenderit culpa", "sensitiveDataFieldLegalJustification"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "sensitiveDataFieldLegalJustificationDescription"=>"ad quis", "sensitiveData"=>false, "personalDataCategory"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "dataType"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "dateCreation"=>"1986-09-05T00:16:30.376Z", "dateUpdate"=>"1966-01-13T14:22:55.975Z", "creator"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}], "asset"=>{"label"=>"ut eiusmod elit culpa mollit", "type"=>"<string>", "id"=>-26740886, "ref"=>"Lorem proident magna quis", "editor"=>{"id"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "ref"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "dateCreation"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "dateUpdate"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "logoUrl"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "actorType"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "vendorType"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "accessLevel"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "givenName"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "familyName"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "companyName"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "description"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "countryCode"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "readonly"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "email"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "phoneNumber"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "contactName"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "contactPosition"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "immatriculationNumber"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "websiteUrl"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "address"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "zipCode"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "city"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "editorId"=>44098970, "address"=>"incididunt", "countryCode"=>"", "zipCode"=>"in id", "city"=>"irure qui", "privacyPolicyUrl"=>"Duis", "description"=>"a", "logoUrl"=>"in", "applicationState"=>"InProduction", "state"=>"Active", "applicationType"=>"Software", "hostingType"=>"OutSourced", "developmentType"=>"OutSourced", "maintenanceType"=>"OutSourced", "supportType"=>"InHouse", "purposes"=>["urn:uuid:92783454-9c51-b727-e4f9-9183427e866d", "urn:uuid:33978c4e-7f0a-e40c-ac55-497c2feeab5a"], "tags"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "readonly"=>true, "dateCreation"=>"2018-12-03T10:30:07.614Z", "dateUpdate"=>"1989-03-31T18:18:20.139Z", "creator"=>{"id"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "displayName"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "familyName"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "givenName"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "email"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "avatarUrl"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "tenantId"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "creatorId"=>-84600981, "owner"=>{"id"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "displayName"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "familyName"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "givenName"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "email"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "avatarUrl"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "tenantId"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "ownerId"=>70710364, "workFlowStepId"=>-39498933}, "subjectCategories"=>[{"label"=>"nisi consequat eiusmod", "id"=>"urn:uuid:f3bf2629-c562-bc23-0e5f-156e61eceffd", "ref"=>"eu Duis", "dateCreation"=>"2018-09-13T08:59:16.950Z", "dateUpdate"=>"2005-08-20T23:52:37.776Z", "creatorUserId"=>-45641511, "creatorUser"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "description"=>"commodo ullamco cupidatat dolore", "minorConcerned"=>false}, {"label"=>"aute Ut ut", "id"=>"e0c1f59e-78e1-6a25-7887-df0dfac78a9c", "ref"=>"enim fugiat", "dateCreation"=>"2010-03-24T12:19:33.964Z", "dateUpdate"=>"1979-03-21T14:16:55.563Z", "creatorUserId"=>77226199, "creatorUser"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "description"=>"sunt in", "minorConcerned"=>false}], "assetId"=>-77197494}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"label":"ullamco magna","customFields":{"ad5":{},"incididunt_e":{}},"tags":[{"label":"proident reprehenderit Excepteur nostrud","type":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"id":36269852,"color":"sint ips"},{"label":"anim culpa in","type":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"id":2042425,"color":"eiusm"}],"creator":{"id":-74686317,"displayName":"exercitation Duis anim","familyName":"dolore laboris","givenName":"irure ","email":"sunt aute incididunt","color":"culpa aliquip adipisicing","avatarUrl":"amet ullamco ut","tenantId":54492540},"readonly":true,"purposes":["66d081a6-0ddd-6a2a-5073-f90351f2d17d","urn:uuid:51cb7a12-22b6-d058-5623-0dc3542c5bcc"],"dataProcessings":[{"id":"urn:uuid:9337a6ca-45cc-3860-117a-aa4673efd444","label":"i","ref":"consequat dolore aliquip","description":"eu tempor deserunt","riskLevel":-5653793,"workspaceId":77319713,"archived":false,"dateUpdate":"1947-11-25T07:56:19.715Z","dateCreation":"1957-10-07T08:00:51.171Z","areaId":-23247295,"processingType":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"id":"urn:uuid:2aa0ca90-f0b3-8fd4-410f-4e0498f0127e","label":"in ex","ref":"do","description":"in voluptate","riskLevel":88558055,"workspaceId":-34970712,"archived":true,"dateUpdate":"1974-10-30T17:48:46.697Z","dateCreation":"1998-09-05T03:42:04.651Z","areaId":-452688,"processingType":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}],"id":"fe1c6bc6-8330-64e8-a024-73577e32d3cc","ref":"nostrud","description":"ut laborum","dateCreation":"1963-01-22T04:04:43.150Z","dateUpdate":"2009-12-22T19:33:26.468Z","baseActiveOverride":false,"intermediateArchivingOverride":false,"destructionOverride":true,"baseActiveDescription":"minim culpa pr","baseActiveLegalBasis":"adipisicing","baseActiveRetentionDuration":-32331162,"intermediateArchivingLegalBasis":"voluptate in consequat laboris sint","intermediateArchivingDescription":"dolor quis","intermediateArchivingRetentionDuration":72812462,"destructionDescription":"sunt velit pro","destructionLegalBasis":"ut sunt sint irure","dataSetSource":"Indirect","sourceDescription":"irure officia quis occaecat","dataFields":[{"label":"elit deserunt","id":"urn:uuid:f745eedc-6fd1-da90-4306-507eaa246ef2","customFields":{"ea0":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"dolore_8fb":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"ipsumec":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"ref":"occaecat sed sit","archivingPolicy":"fugiat mollit quis","required":false,"definition":"in ullamco occaecat non","technicalDefinition":"nostrud Lorem proident dolore","sensitiveDataFieldLegalJustification":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"sensitiveDataFieldLegalJustificationDescription":"est reprehenderit","sensitiveData":true,"personalDataCategory":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"dataType":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"dateCreation":"2017-02-24T02:17:28.814Z","dateUpdate":"1954-11-14T10:21:46.223Z","creator":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"label":"est","id":"urn:uuid:680f4c29-65c4-2484-17c2-e5013500ffc7","customFields":{"cillumc":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"dolore":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"ref":"et enim Duis","archivingPolicy":"minim consectetur","required":false,"definition":"aute officia Ut","technicalDefinition":"pariatur id irure","sensitiveDataFieldLegalJustification":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"sensitiveDataFieldLegalJustificationDescription":"labore","sensitiveData":true,"personalDataCategory":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"dataType":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"dateCreation":"2014-05-14T08:49:30.195Z","dateUpdate":"1970-10-02T23:45:50.580Z","creator":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}],"asset":{"label":"voluptate eiusmod magna","type":"\u003cstring\u003e","id":59189372,"ref":"Duis quis anim","editor":{"id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"ref":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"displayName":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"dateCreation":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"dateUpdate":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"logoUrl":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"actorType":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"vendorType":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"accessLevel":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"givenName":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"familyName":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"companyName":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"description":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"countryCode":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"readonly":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"email":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"phoneNumber":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"contactName":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"contactPosition":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"immatriculationNumber":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"websiteUrl":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"address":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"zipCode":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"city":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"editorId":-35050569,"address":"consequat exercitation cupidatat","countryCode":"","zipCode":"nostrud","city":"in occaecat Ut","privacyPolicyUrl":"ut Excepteur qui cupidatat","description":"deserunt incididunt ullamco nulla Lorem","logoUrl":"anim esse amet","applicationState":"InDevelopment","state":"Draft","applicationType":"Software","hostingType":"OutSourced","developmentType":"InHouse","maintenanceType":"OutSourced","supportType":"InHouse","purposes":["urn:uuid:6ce3f94f-ccd3-e996-d469-4219d6f925f8","706a6468-ec5d-389c-3323-19ce63d03b87"],"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"}],"readonly":true,"dateCreation":"1967-04-10T11:33:31.874Z","dateUpdate":"1955-01-10T12:06:16.821Z","creator":{"id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"displayName":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"familyName":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"givenName":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"email":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"color":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"avatarUrl":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"tenantId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"creatorId":48294502,"owner":{"id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"displayName":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"familyName":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"givenName":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"email":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"color":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"avatarUrl":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"tenantId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"ownerId":63401046,"workFlowStepId":87966640,"customFields":{"adipisicing_d9c":{}}},"subjectCategories":[{"label":"ipsum reprehenderit laboris exercitation ad","id":"urn:uuid:75b6b02e-70c3-954d-eab9-ff152038f178","ref":"velit qui","dateCreation":"1963-05-16T05:23:00.230Z","dateUpdate":"1966-12-12T01:23:30.567Z","creatorUserId":-73167618,"creatorUser":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"description":"Ut non","minorConcerned":false},{"label":"ipsum","id":"urn:uuid:3f841c09-e691-7dc0-bddd-f9945b3f119c","ref":"laborum commodo non adipisicing irure","dateCreation":"1970-08-05T13:12:21.190Z","dateUpdate":"1989-12-18T23:28:03.257Z","creatorUserId":43422950,"creatorUser":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"description":"laborum eu","minorConcerned":false}],"assetId":-54431596}