VoiceReports APIs
-
Count Call Records Search Results
Description: Gets the total number of records for the given job using the search criteriaUsage:
GET api/Alerts/Reports/Voice/Search/Count/{JobCode}/{SearchField}/{SearchCriteria}
Parameter Type Source Description JobCode Int32 FromUri the unique numerical code identifying the job to get records for SearchField String FromUri The field to search for the criteria in Value Description BeginStamp Time the call started Phone Phone number dialed EntityName Name of the called entity EntityGuid Guid uniquely identifying called entity CallResult result of the call ResponseResult response keyed by the called entity CauseCode Cause code for terminating the call CompletePlayback True if message played in its entirety DetectedAnsweringMachine True if an answering machine was detected PinValidated True if a pin code was validated SearchCriteria String FromUri The value to search for in the given field Returns:
Returns the total number of records for the given search criteria
Examples:
<!-- Intent: retrieve the count of records for the voice alerts sent for job 1546897 that contain an EntityName like "Nick". GET to the following url http://api.v4.swiftreach.com/api/Alerts/Reports/Voice/Search/Count/1546897/EntityName/Nick --> <!-- No XML input is required --> <!-- example return value --> <int>2</int>