new ExecuteComplexQueryRequest(query, modelVersion)
Object ExecuteComplexQueryRequest
Usage:
RestApiService.getResourceQueryService().executeComplexQuery(request, callback);
Parameters:
Name | Type | Description |
---|---|---|
query |
string | The RQL to be evaluated. Must conform to Resource Query Language (RQL) syntax rules. |
modelVersion |
number | (Java type: int) Used to restrict the organization model entities (organization units, positions, groups, etc.) that are considered in the evaluation of the query. Can be obtained using the listOrgModelVersions function. |
- Since:
- 4.0.0
Members
singleResult :boolean
Query parameter: 'singleresult' (optional, default=false) Pass "true" to get one resource, chosen at random from the query result.
Type:
- boolean
- Since:
- 4.0.0
- Default Value:
- = false