If any RIP with ComputerGUID is found the RIP is updated, otherwise a new RIP is added.
URL:
POST http://api.aurelon.com/api/v2/configuration/rip
Request Headers:
Content-Type : application/json
HardwareHash : see Authentication
SerialNumber : see Authentication
ApplicationVersion : see Authentication
Request Body:
JSON object containing:
- ComputerGUID– required – the Computer GUID
- ComputerName – name of the computer or DNS name
- OperatingSystem– OS type and version
Response:
Content type application/json containing the result of the operation.
Success:
200 OK : {“Message”: “Computer details successfully saved”}
Error:
- 400 Bad Request : {“Message”:””ComputerGUID” required”}
- 401 Unauthorised : {“Message”:”Invalid HardwareHash”}
- 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”}