GET /api/callaudits/{callid}
QUERY STRING PARAMETERS
maxresults optional | The maximum amount of records to return. The default value is 1000 with a maximum value of 10,000. |
---|---|
datetimestart optional | Only return records on or after this time within the timezone of the authenticated user. Format is ISO, e.g. 2013-05-01 1:12:00. |
datetimeend optional | Only return records on or before this time in UTC. Format is ISO, e.g. 2013-05-01 1:12:00. |
type optional | Event types included are Delete, Download, Email, Listen, NotesChange, RatingChange, Undelete, Transcribed, TagsChange, AudioRemoved. Use comma as the query string delimeter to pass multiple types. |
Retrieve detailed information for a single call. Result Code
200 | OK |
---|---|
401 | Unauthorized |
404 | Call not found |
406 | SSL must be used |
500 | Server Error |
Result Body
callid | The unique call id. This will be needed when calling other api functions. |
---|---|
startdatetime | The time that the call began. The time is reported in the timezone configured for the authenticated user. |
startdatetimeutc | The time that the call began. The time is reported as UTC. |
description | The description of call. |
type | The events associated with the call. Either Delete, Download, mail, Listen, NotesChange, RatingChange, Undelete, Transcribed, TagsChange, AudioRemoved. |
username | The username of the user who took the call |
location | The location of the call |
Example request
Example;- GET https://api.calln.com/api/callaudits/32451756 Result;- 200 (OK) {"callid":32451756,"startdatetimeutc":"2018-11-08 2:24:54","startdatetime":"2018-11-08 13:24:54","description":"Added the tag boxes bad because of automation rule Boxes mentioned","type":"TagsChange","username":"paul","location":""}
Using Curl
curl "https://api.calln.com/api/callaudits/{callid}" -H "Authorization: Basic username:password | base64" -X GET