List all control points
GET {{baseUrl}}/v1/ws/:workspaceId/ControlPoints?RiskId=90244082-e0f0-7c09-2426-64e4431d1d9d&Query=eu&Type=Impact&page=61551403&size=61551403&skip=61551403&sortBy=eu&asc=true&filters=eu
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
RiskId | string | ||
Query | string | ||
Type | string | ||
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
[{"answers":[{"label":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"value":{"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"},"nonApplicable":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"label":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"value":{"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"},"nonApplicable":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}],"label":"adipisicing velit","priority":5,"ref":"Ut minim cillum i","dateCreation":"1999-03-13T19:37:47.575Z","dateUpdate":"1952-10-20T22:31:21.730Z","creator":{"id":-49660822,"displayName":"eiusmod in","familyName":"et eiusmod irure","givenName":"id in laboris","email":"non labore Lorem","color":"minim Lorem dolor mollit nisi","avatarUrl":"non tempor dolore et","tenantId":-56245225},"owner":{"id":-87774815,"displayName":"anim in Duis","familyName":"Duis","givenName":"elit ullamco quis enim","email":"sunt voluptate esse","color":"Duis Ut","avatarUrl":"ex exercitation","tenantId":96225345},"responses":[{"id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"riskEvaluationId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"controlPointId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"user":{"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"},"state":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"answerId":{"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"},"current":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"attachments":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"riskEvaluationId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"controlPointId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"user":{"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"},"state":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"answerId":{"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"},"current":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"attachments":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}],"nbResponses":-99935285,"id":"urn:uuid:2439b184-b506-aeab-61c1-0d035c3e2447","description":"in sint ","type":"\u003cstring\u003e","ponderation":-30087882.796320915,"ownerId":17974898,"nbDaysFrequency":-4261411},{"answers":[{"label":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"value":{"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"},"nonApplicable":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"label":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"value":{"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"},"nonApplicable":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}],"label":"ipsum commodo quis a","priority":9,"ref":"dolore nulla aliquip","dateCreation":"2002-06-17T23:34:54.826Z","dateUpdate":"1948-05-20T15:23:18.934Z","creator":{"id":37787936,"displayName":"voluptate ipsum tempor","familyName":"in Lorem amet elit","givenName":"cillum occae","email":"in laborum reprehenderit","color":"sed eu dolor elit","avatarUrl":"dolore Lorem","tenantId":36510429},"owner":{"id":-41402519,"displayName":"amet","familyName":"sed ut dolore","givenName":"id Excepteur","email":"et molli","color":"dolore sunt irure proident occaecat","avatarUrl":"dolore","tenantId":81770479},"responses":[{"id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"riskEvaluationId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"controlPointId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"user":{"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"},"state":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"answerId":{"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"},"current":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"attachments":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"riskEvaluationId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"controlPointId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"user":{"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"},"state":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"answerId":{"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"},"current":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"attachments":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}],"nbResponses":79337638,"id":"2c6f8473-08c4-5513-031a-3ea749cfd166","description":"in aliqua laboru","type":"\u003cstring\u003e","ponderation":-31236187.45511028,"ownerId":-85126523,"nbDaysFrequency":-62611288}]