dmQueryTotalRecs

Signature

http://CdmServer.com:port/dmwebservices/index.php?q=dmQueryTotalRecs/queries/format

  • queries are ~-delimited and the parts of each query are |-delimited. The parts of each query are: alias|searchstring|return_fields|sort. See dmQuery for more detailed information.
  • format is xml

Returns

The total number of records for each query.

Example

http://CdmServer.com:port/dmwebservices/index.php?q=dmQueryTotalRecs/mycollection|subject^word^all^and|subjec!title|nosort~
mycollection|title^contentdm^all^and|subjec!title|nosort/xml

For each query in queries, this function executes a query with a maximum limit of one record returned. It then pulls total records of the query from the pager info in the returned data.





7



7