Get Device Status

Get all devices from company

URL:

GET http://api.aurelon.com/api/v2/device/{DeviceGUID}/status

Request Headers:

MisKey : see Authentication
HardwareHash : see Authentication
SerialNumber : see Authentication
ApplicationVersion : see Authentication

Response:

Content type application/json containing the status of a device and the currently running job. If no job is running null can be returned as “CurrentJob”

Success:

200 OK : Return device status object

Example:

{
    "DeviceName": "Epson Stylus Pro 4800",
    "DeviceStatus": "Idle",
    "DeviceType": "Printer",
    "MediaSize": "Roll 17 inch ",
    "Location": null,
    "ComputerGUID": "81517066-7a5b-4122-8e04-c5306b17e8c2",
    "Rip": "Rip-35",
    "SerialNumber": 344781,
    "CurrentJob”: {
        "JobGUID": null,
        "Name": null,
        "Copies": null,
        "RemainingPages": null,
        "User": null,
        "Progress": null
    },
    "InProgressJobs": 0
}

Error:

  • 401 Unauthorized : {“Message”: “Invalid HardwareHash”}
  • 401 Unauthorized : {“Message”: “Invalid MisKey”}
  • 404 Not Found : {“Message”: “DeviceGUID is not found”}
  • 401 Unauthorized : {“Message”: “”MisKey” or “HardwareHash”, “SerialNumber” and “ApplicationVersion” headers are required”}
  • 400 Bad Request : {“Message”: “DeviceGUID” value required”}
  • 500 Internal Server Error : {“Message”: “Internal Server Error”}