List all data subject requests messages
GET {{baseUrl}}/v1/ws/:workspaceId/DataSubjectMessages?page=61551403&size=61551403&skip=61551403&sortBy=eu&asc=true&filters=eu&dataSubjectRequestId=61551403&start=1952-01-06T22:56:01.709Z&end=1952-01-06T22:56:01.709Z&userId=61551403&q=eu
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
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"}))} | |||
dataSubjectRequestId | number | ||
start | string | Start date | |
end | string | End date | |
userId | number | Specific userId (optional) | |
q | string |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"items":[{"message":"ut commodo laboris sunt","id":"urn:uuid:51101bc2-abf8-0223-ecbf-fae5d8bc8cef","files":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"dateUpdate":"1984-05-31T15:08:02.880Z","dateCreation":"1966-04-03T07:58:50.877Z","dateSend":"1976-12-26T18:55:15.921Z","dateViewed":"1957-05-03T01:00:36.171Z","user":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"userRequestId":87931946,"attachmentsLifetimeInHours":-92719211,"attachments":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]},{"message":"aliqua cillum occaecat incididunt ut","id":"urn:uuid:e71038cb-6a5f-1ff1-19c3-1903289be063","files":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"dateUpdate":"1943-11-04T13:29:46.426Z","dateCreation":"1951-03-23T18:07:20.287Z","dateSend":"1984-09-13T09:58:35.951Z","dateViewed":"1956-06-01T19:27:02.524Z","user":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"userRequestId":79269572,"attachmentsLifetimeInHours":-8982958,"attachments":[{"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":75717196,"size":80616699,"page":-61740603}