Count Risk Queries

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

 

URL

{RMUrl}/api/Risk/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/Risk/queries/Asset Components/count

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

 

SUCCESS RESPONSE

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