Add/Update Device

If any device with DeviceGUID is found, then that device gets updated or added (as long as it’s included with the license). If the DeviceGUID isn’t part of your license, then you’ll get an error returned.

URL:

POST http://api.aurelon.com/api/v2/configuration/device

Request Headers:

Content-Type : application/json
MisKey : see Authentication
HardwareHash : see Authentication
SerialNumber : see Authentication
ApplicationVersion : see Authentication

Request Body:

JSON object containing:

  • DeviceGUID – required – the Device GUID
  • ComputerGUID – required – the RIP on which this device is installed
  • Name
  • Type
  • MediaType
  • MediaSize
  • MediaSource
  • Manufacturer
  • Model
  • DriverID – unique driver ID from the HUB database
  • ConnectionURI

Response:

Content type application/json containing the result of the operation.

Success:

200 OK : {“Message”: “Device successfully saved”}

Error:

  • 400 Bad Request : {“Message”:””DeviceGUID” required”}
  • 400 Bad Request : {“Message”:””ComputerGUID” required”}
  • 401 Unauthorised : {“Message”:”Invalid HardwareHash”}
  • 401 Unauthorised : {“Message”:”Invalid MisKey”}
  • 401 Unauthorised : {“Message”: “”MisKey” or “HardwareHash”, “SerialNumber” and “ApplicationVersion” header are required”}
  • 415 Unsupported Media Type : {“Message”:”Expected type: application/json”}
  • 500 Internal Server Error : {“Message”:”Internal Server Error”}