Get Most risky assets

GET {{baseUrl}}/v1/ws/:workspaceId/RiskAssets?objectType=DataProcessing&page=61551403&size=61551403&skip=61551403&sortBy=eu&asc=true&filters=eu&areaId=61551403

Request Params

KeyDatatypeRequiredDescription
objectTypestring
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"}))}
areaIdnumber

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

[{"id":"occaecat ipsum velit","ref":"magna minim ex fugiat","label":"cupidatat Lorem ea","description":"irure sunt in enim","logoUrl":"sed","type":"\u003cstring\u003e","monitoredRisks":-68972923,"totalRisks":-1238415,"averageRiskInitial":-76929326.89009032,"averageRiskCurrent":71024909.78283095,"averageRiskResidual":88775248.78262088,"minRiskInitial":62366465.259189755,"maxRiskInitial":-92610885.15414344,"minRiskResidual":-81340653.0288003,"maxRiskResidual":-64399802.07590317,"highRiskInitial":-61686175,"highRiskResidual":-59949436,"averageResilience":-21271992.2412564,"areaId":-6097428,"deleted":false},{"id":"sunt mollit enim","ref":"laboris","label":"labore","description":"dolore Excepteur esse","logoUrl":"sint Lorem tempor reprehenderit non","type":"\u003cstring\u003e","monitoredRisks":35976213,"totalRisks":9334790,"averageRiskInitial":-98987036.2167649,"averageRiskCurrent":-16169515.468947232,"averageRiskResidual":-37447451.7202092,"minRiskInitial":-94693673.14772113,"maxRiskInitial":86267603.67736033,"minRiskResidual":-7419828.625080481,"maxRiskResidual":83656441.17811239,"highRiskInitial":79421461,"highRiskResidual":-26959113,"averageResilience":3658024.178082451,"areaId":-94446754,"deleted":true}]