Get all areas related to the workspace (Flatten)

<returns></returns>

GET {{baseUrl}}/v1/ws/:workspaceId/Areas?type=Entity&ref=eu&q=eu&parentId=61551403&select=eu&page=61551403&size=61551403&skip=61551403&sortBy=eu&asc=true&filters=eu

Request Params

KeyDatatypeRequiredDescription
typestringFilter by type
refstringYour internal reference filter
qstringFull text search
parentIdnumberParent identifier to get all child of a specific organizational unit
selectstringComma separated list of fields
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"}))}

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;items&quot;:[{&quot;label&quot;:&quot;aliqua reprehenderit id c&quot;,&quot;order&quot;:-13257373,&quot;children&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}],&quot;teams&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}],&quot;id&quot;:-74563557,&quot;type&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;parentId&quot;:64814674,&quot;ref&quot;:&quot;deserunt id&quot;,&quot;description&quot;:&quot;reprehenderit nostrud Excepteur aute&quot;,&quot;logoUrl&quot;:&quot;ullamco fugiat commodo aliquip&quot;,&quot;address&quot;:&quot;dolore tempor amet nostrud&quot;,&quot;zipCode&quot;:&quot;&quot;,&quot;city&quot;:&quot;velit qui ut incididunt&quot;,&quot;countryCode&quot;:&quot;fug&quot;,&quot;immatriculationNumber&quot;:&quot;eiusmod qui lab&quot;,&quot;phoneNumber&quot;:&quot;aute min&quot;,&quot;mailAddress&quot;:&quot;enim Ut irure id n&quot;,&quot;dpo&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;referent&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;representative&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;dataProtectionAuthority&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},{&quot;label&quot;:&quot;enim sit&quot;,&quot;order&quot;:81242354,&quot;children&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}],&quot;teams&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}],&quot;id&quot;:80059186,&quot;type&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;parentId&quot;:-39991910,&quot;ref&quot;:&quot;culpa&quot;,&quot;description&quot;:&quot;adipisicing Ut in&quot;,&quot;logoUrl&quot;:&quot;reprehenderit adipisicing tempor no&quot;,&quot;address&quot;:&quot;in in mollit non&quot;,&quot;zipCode&quot;:&quot;&quot;,&quot;city&quot;:&quot;incididunt consequat ea eu dolore&quot;,&quot;countryCode&quot;:&quot;sun&quot;,&quot;immatriculationNumber&quot;:&quot;in esse sint&quot;,&quot;phoneNumber&quot;:&quot;&quot;,&quot;mailAddress&quot;:&quot;cillum&quot;,&quot;dpo&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;referent&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;representative&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;dataProtectionAuthority&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}}],&quot;total&quot;:-87529046,&quot;size&quot;:88796067,&quot;page&quot;:-61966442}