URL:
POST http://api.aurelon.com/api/v2/log
Request Headers:
Content-Type : application/json
MisKey : see Authentication
HardwareHash : see Authentication
SerialNumber : see Authentication
ApplicationVersion : see Authentication
Request Body:
JSON object containing:
- ComputerGUID – required – the computer GUID
- RipVersion – version of the RIP in x.x.x format
- DeviceGUID
- QueueGUID
- JobGUID
- JobName
- Type – required – One of “log” or “configuration”
- Description – required – the log message
Example:
[{“ComputerGUID”:”00092EA6-fb01-11e5-9b85-793ef2c92c66″,”Type”:”log”,”Description”:”Something went wrong”}]
Response:
Content type application/json containing the result of the operation.
Success:
200 OK : “Log successfully added”
Error:
- 401 Unauthorized : {“Message”:”Invalid HardwareHash”}
- 401 Unauthorized : {“Message”: “Invalid MisKey”}
- 404 Not Found : {“Message”: “ComputerGUID is not found”}
- 404 Not Found : {“Message”: “DeviceGUID is not found”}
- 404 Not Found : {“Message”: “QueueGUID is not found”}
- 404 Not Found : {“Message”: “JobGUID is not found”}
- 415 Unsupported Media Type : {“Message”:”Expected type: application/json”}
- 401 Unauthorized : {“Message”: “”MisKey” or “HardwareHash”, “SerialNumber” and “ApplicationVersion” header are required”}
- 400 Bad Request : {“Message”:””ComputerGUID”, “Type” and “Description” values are required”}
- 500 Internal Server Error : {“Message”:”Internal Server Error”}