Count Compliance Queries

Returns the total number of results of a query from the Compliance module. Queries are accessible only to their authors, editors, and audience members.

 

URL

{RMUrl}/api/Compliance/queries/<Query>/count

 

REQUEST METHOD

GET

 

URL PARAMETERS

Query: This parameter is provided in the URL and can be either the query name or the query GUID. Queries with special characters in their names cannot be run through the API.

 

REQUEST EXAMPLE

{RMUrl}/api/Compliance/queries/Object/count

{RMUrl}/api/Compliance/queries/cc45b704-b3d5-11e0-8b69-001ec91f4b0a/count

 

SUCCESS RESPONSE

Value corresponding to the total number of results. Returns an int.