List audit responses
GET {{baseUrl}}/v1/ws/:workspaceId/AuditResponses?areaId=61551403&q=eu&parentId=90244082-e0f0-7c09-2426-64e4431d1d9d&states=Standby&states=Cancelled&templateIds=d4f4baa2-55ee-3f4c-0ca0-c6deaeed0857&templateIds=urn:uuid:ff11db24-69a8-3ad2-d3e2-f5cb64653a1d&minReadiness=61551403&maxReadiness=61551403&NeedRenew=true&objectType=DataSubject&objectId=eu&respondantIds=88057944&respondantIds=-17779712&ownerIds=88057944&ownerIds=-17779712&ids=d4f4baa2-55ee-3f4c-0ca0-c6deaeed0857&ids=urn:uuid:ff11db24-69a8-3ad2-d3e2-f5cb64653a1d&Type=NeedRenew&archived=true&includeGraphs=true&includeTasks=true&select=eu&page=61551403&size=61551403&skip=61551403&sortBy=eu&asc=true&filters=eu
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
areaId | number | ||
q | string | ||
parentId | string | ||
states | string | ||
states | string | ||
templateIds | string | ||
templateIds | string | ||
minReadiness | number | ||
maxReadiness | number | ||
NeedRenew | boolean | ||
objectType | string | ||
objectId | string | ||
respondantIds | number | ||
respondantIds | number | ||
ownerIds | number | ||
ownerIds | number | ||
ids | string | ||
ids | string | ||
Type | string | ||
archived | boolean | ||
includeGraphs | boolean | ||
includeTasks | 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":[{"areaId":-58628222,"dateCreation":"1948-09-29T10:12:40.063Z","label":"voluptate","workspaceId":-63223138,"template":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"id":"2379f51b-0698-70e9-d255-300bff2b799c","objectType":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"objectId":"dolor laborum in Excepteur veniam","objectLabel":"cupidatat in","objectLogoUrl":"ipsum sit","parentId":"535d850c-f3e8-8f36-ec1e-5434a5cdbbed","isRevision":false,"revisionDescription":"ad nostrud ipsum","archived":false,"overdueTime":-66009035,"isOverdue":true,"noValidation":true,"area":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"description":"minim Ut","deadline":"1992-02-16T08:42:03.440Z","dateUpdate":"1976-01-20T16:36:25.315Z","state":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"publishedDate":"1952-11-02T23:47:17.870Z","startDate":"1966-07-04T00:23:11.691Z","responseDate":"1960-06-03T22:55:01.724Z","archivedDate":"2021-02-04T16:30:26.641Z","templateId":"urn:uuid:af2df6f5-d390-543a-59b3-74a4585ab9ef","annotations":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"auditSharedLinks":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"readiness":-37886575,"score":-93267336.64688893,"maxScore":-19555190.245039225,"completionRate":-74091922,"nbAnswers":-59129252,"nbQuestions":-55036000,"owners":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"respondants":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"actionPlanDate":"1985-02-06T00:47:04.478Z"},{"areaId":-30980676,"dateCreation":"2020-07-11T16:07:44.863Z","label":"pariatur Lorem sunt amet","workspaceId":-563970,"template":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"id":"urn:uuid:bbf20b36-987e-955e-e943-de95c8d94acf","objectType":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"objectId":"aliqua aute","objectLabel":"dolore labore minim","objectLogoUrl":"veniam et sit amet","parentId":"1b6ec4fe-585b-3320-dbcf-bb147d2ebbd4","isRevision":true,"revisionDescription":"ex","archived":false,"overdueTime":-46789514,"isOverdue":true,"noValidation":false,"area":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"description":"dolor","deadline":"1948-06-23T12:38:02.489Z","dateUpdate":"1984-09-29T06:32:29.844Z","state":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"publishedDate":"1997-01-08T16:15:02.373Z","startDate":"2003-12-17T04:44:57.973Z","responseDate":"2017-03-11T13:41:18.766Z","archivedDate":"1990-11-06T11:04:10.848Z","templateId":"urn:uuid:9d2ed7e7-c542-ea6e-d39f-32a635861f4b","annotations":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"auditSharedLinks":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"readiness":-31574212,"score":-41964244.40606945,"maxScore":85222854.98823926,"completionRate":-2627236,"nbAnswers":4902977,"nbQuestions":-27452444,"owners":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"respondants":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"actionPlanDate":"2017-03-28T22:48:47.868Z"}],"total":-35799456,"size":-45611738,"page":-59822376}