Add/Update Job

Adds a job or updates a job as specified by JobGUID in the body. The information regarding the job will be extracted from the Job.xml.

URL:

POST: http://api.aurelon.com/api/v2/job

Request Headers:

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

Request Body:

Job XML (see Job XML specification):

Response:

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

Success:

200 OK : “Job successfully saved”

Error:

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

Updated on May 19, 2022

Was this article helpful?