The information regarding the job will be extracted from the Job.xml.
URL:
POST: http://api.aurelon.com/api/v2/job/status
Request Headers:
Content-Type : application/json
MisKey : see Authentication
HardwareHash : see Authentication
SerialNumber : see Authentication
ApplicationVersion : see Authentication
Request Body:
JSON object containing:
- JobGUID – required – the Job GUID
- StatusSpooler – one of “Waiting”, “Hold”, “Warning”, “Spooling”, “Processing”, “Canceling”, “Ready”, “Deleting”, “NotSupported”
- Progress – integer number from 0 to 100 indicating the printing progress percentage.
- ProgressLabel – string with additional progress information
Example:{"JobGUID":"00092EA6-fb01-11e5-9b85-793ef2c92c66", "StatusSpooler":"Processing","Progress":30}
Response:
Content type application/json containing the result of the operation.
Success:
200 OK : :”Job successfully saved”
Error:
- 400 Bad Request : {“Message”:””JobGUID” value required”}
- 401 Unauthorised : {“Message”:”Invalid HardwareHash”}
- 401 Unauthorized : {“Message”:”Invalid MisKey”}
- 401 Unauthorized : {“Message”:””MisKey” or “HardwareHash”, “SerialNumber” and “ApplicationVersion” header are required”}
- 404 Not Found : {“Message”:”JobGUID is not found”}
- 415 Unsupported Media Type : {“Message”:”Expected type: application/json”}
- 500 Internal Server Error : {“Message”:”Internal Server Error”}