Count Administration Queries

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

 

URL

{RMUrl}/api/administration/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/administration/queries/Marketing Member Roles/count

{RMUrl}/api/administration/queries/554be908-790c-4b23-b3b1-1b7cce741eba/count

 

SUCCESS RESPONSE

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