HotlineReports APIs
-
Count Search Results
Description: Count Hotline Records Search ResultsUsage:
GET api/Hotlines/Reports/Search/Count/{PhoneNumber}/{BeginDate}/{EndDate}/{SearchField}/{SearchCriteria}
Parameter Type Source Description PhoneNumber String FromUri The hotline phone number BeginDate String FromUri The date to start returning records from EndDate String FromUri The last date to return records from SearchField String FromUri The field to search for criteria in Value Description CallerID Phone number of the person who called the hotline DialedNumber The phone number (if any) that hotline dialed out and connected the caller to CallResult The result of the hotline call ResponseResult The digit response (if any) keyed by the caller SearchCriteria String FromUri The value to search for in the given field Returns:
Total number of records
Examples:
<!-- Intent: count of search results for the records with phone number 2012361344 for calls into the hotline (866) 802-0837 sent between 3/1/2013 and 3/31/2013. This will retrieve the 1st page of 5 records. GET to the following url http://api.v4.swiftreach.com/api/Hotlines/Reports/Search/8668020837/3-1-2013/3-31-2013/1/5/CallerID/2012361344 --> <!-- No XML input is required --> <!-- example return value --> <int>1</int>