Commands

Get Command

Get the command from the message queue
URL:
GET http://api.aurelon.com/api/v2/commands/<CommandGUID>
 
Request Headers:
HardwareHash : see Authentication
SerialNumber : see Authentication
ApplicationVersion : see Authentication
 
Response:
Content type application/json containing the command details.
 
Success:

  • 200 OK : Command details in JSON format

 
Error:

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

Delete Command

Delete command from the message queue
 
URL:
DELETE http://api.aurelon.com/api/v2/commands/<CommandGUID>
 
Request Headers:
HardwareHash : see Authentication
SerialNumber : see Authentication
ApplicationVersion : see Authentication
 
Response:
Content type application/json containing the result.
 
Success:

  • 200 OK : “Command successfully deleted”

 
Error:

  • 401 Unauthorized : {“Message”:”Invalid HardwareHash”}
  • 404 Not Found : {“Message”:”CommandGUID is not found”}
  • 401 Unauthorized : {“Message”: “”HardwareHash”, “SerialNumber” and “ApplicationVersion” header are required”}
  • 400 Bad Request : {“Message”:””CommandGUID” value required”}
  • 500 Internal Server Error : {“Message”:”Internal Server Error”}
Updated on March 12, 2019

Was this article helpful?