GET /api/accountaudits
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. |
Retrieve detailed information for an account audit
Result Code
| 200 | OK |
|---|---|
| 401 | Unauthorized |
| 404 | Not found |
| 406 | SSL must be used |
| 500 | Server Error |
Result Body
| datetime | The time that the action began. The time is reported in the timezone configured for the authenticated user. |
|---|---|
| datetimeutc | The time that the action began. The time is reported as UTC. |
| description | The description of action |
| computeripaddress | IP Address |
| username | The username of the user who performed the action. |
| computername | Computer Name |
| Country | Country of the audit |
| City | City of the audit |
Example request
Example;-
GET
https://api.calln.com/api/accountaudits
Result;-
200 (OK)
{"datetimeutc":"2018-11-12 1:05:21","datetime":"2018-11-12 12:05:21","username":"tim","description":"Disabled recording for handset with phone number Peter Surname (0393198834, 6634)","ComputerIPAddress":"14.200.66.144","ComputerName":"14-200-66-144.static.tpgi.com.au","Country":"Australia","City":"Bondi"}
Using Curl
curl "https://api.calln.com/api/accountaudits" -H "Authorization: Basic username:password | base64" -X GET

