Get all logs from the organization
URL:
POST http://api.aurelon.com/api/v2/log/list
Request Headers:
Content-Type : application/json
MisKey : see Authentication
HardwareHash : see Authentication
SerialNumber : see Authentication
ApplicationVersion : see Authentication
Request Body:
JSON object containing one or more of the following filters:
- Serial Number
- User
- Source
- Version
- Computer
- DateTime – Range of date-time in UTC
- From
- To
- LogType – one of “Log” or “Configuration”
Example:
[{“Version”:”5.0.11″,”Computer”:”Mac-mini-2″,”LogType”:”Log”}]
Response:
Return the organization logs filtered by request body filter
Success:
200 OK : Return logs list
[{ "User": "Chuck Laz", "Source": "Rip", "Version": "5.0.13", "Computer": "Computer1", "Description": "Invalid event. Content could not be created from the RIP event." }, { "User": "f.montgomery", "Source": "Rip", "Version": "5.0.13", "Computer": "Computer2", "Description": "RESTClient::UpdateResource - Resource file not found - " }]
Error:
- 401 Unauthorized : {“Message”:”Invalid HardwareHash”}
- 401 Unauthorized : {“Message”:”Invalid MisKey”}
- 401 Unauthorized : {“Message”:””MisKey” or “HardwareHash”, “SerialNumber” and “ApplicationVersion” header are required”}
- 400 Bad Request : {“Message”:””ComputerGUID”, “Type” and “Description” values are required”}
- 415 Unsupported Media Type : {“Message”:”Expected type: application/json”}
- 500 Internal Server Error : {“Message”:”Internal Server Error”}