9.3 Get Device status
GET https://{{domain}}/api/v2/device/{{DeviceGUID}}/status
Get device status
Request
Query string parameters:
- DeviceGUID (guid, required)
Response
JSON object containing:
- DeviceName (string) : Name of the device
- DeviceStatus (string) : One of the following statuses:
- Ready :
- DeviceType (string) : Printer, Cutter or Printer/Cutter.
- MediaSize (object) : Currently loaded media size:
- Name (string) : Name of the media size
- Width (real, optional) : Width of the loaded media
- Height (real, optional) : Height or length of the loaded media
- Roll (boolean, optional) : Indicates if the media is a roll or a sheet. Default true.
- MediaSource (object) : Currently selected tray containing:
- Name (string) : Name of the tray
- Width (real, optional) : Width of the tray
- Height (real, optional) : Height or length of the tray
- Roll (boolean, optional) : Indicates if the tray contains a roll or a sheet. Default true.
- Location (string) : Location of the device
- ComputerGUID (guid) : Id of the computer hosting the RIP that drives this device.
- Rip (string) : Name of the computer hosting the RIP that drives this device.
- SerialNumber (integer) : Production site number where this device is installed.
- CurrentJob (object) :
RESPONSES
status: OK
[{"DeviceName":"Durst Rhotex 322","DeviceStatus":"Idle","DeviceType":"Printer","MediaSize":{"Height":141732.28125,"Name":"320 roll","Roll":true,"Width":2267.716552734375},"MediaSource":{"Height":141732.28125,"Name":"Roll","Roll":true,"Width":2267.716552734375},"Location":null,"ComputerGUID":"ca9bc93d-e2f3-4dc3-905b-a0fc86201256","Rip":"strik","SerialNumber":29490,"CurrentJob":{"JobGUID":null,"Name":null,"Copies":null,"RemainingPages":null,"User":null,"Progress":null},"InProgressJobs":0}]