Add/Update Queue

If any queue with QueueGUID is found the queue is updated, otherwise a new queue is added.

URL:

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

Request Headers:

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

Request Body:

JSON object containing:

  • QueueGUID – required – the Queue GUID
  • DeviceGUID – required
  • ProfileName
  • Name
  • MediaType
  • MediaSize
  • MediaSource
  • QueueType
  • DriverSettings

Response:

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

Success:

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

Error:

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