Count Workflow Queries

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

 

URL

{WSUrl}/api/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 EXAMPLES

{WSUrl}/api/queries/Events/count

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

 

SUCCESS RESPONSE

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