REST API - executeComplexQuery
The table summarizes the REST API - executeComplexQuery.
Request
Format | POST <baseurl>/resourcequery/<modelversion> |
Path parameters | modelversion: Used to restrict the organization model entities (organization units, positions, groups, etc.) that are considered in the evaluation of the query. Can be obtained from listOrgModelVersions. |
Query parameters | singleresult= false (optional, default=false): Pass "true" to get one resource, chosen at random from the query result.
|
Body | query (required): Must conform to Resource Query Language (RQL) syntax rules. See section "Resource Query Language" of TIBCO Business Studio™ Implementation Guide. |
Response
JSON | Returns a JSON representation of the content of the executeQueryResponseelement. |
XML | Returns the content of the executeQueryResponseelement (from the ResourceQueryService schema). |
Example
Request | POST <baseurl>/resourcequery/-1 |
Request body | position(name="Tester") |
Response | { "resource": { "@guid": "tibco-admin", "@name": "tibco-admin", "@push-enabled": "false" } } |