Failed to put device in maintenance mode through rest web api

Document ID : KB000010528
Last Modified Date : 14/02/2018
Show Technical Document Details

The user was trying to put devices in maintenance using UIM webservices and getting below error.

Not Found

The requested resource was not found. 

http://<UMP Server>/maintenance_mode/<Domain>/<HubName>/<robotname>/add_schedule



Some details pertaining to Restful web-services:

User trying to test specifically below calls:



UIM 8.5Nimsoft RESTful web services interface: version: 8.4.0, build_number: 132347

You will have install rest client add-on for firefox or chrome and run the calls from there 





http://<UMP Server>:<port>/rest/maintenance_mode/<domain>/<hub>/<robot>/add_schedule 

robot name is where the maintenance_mode probe is installed

-> Create a Schedule

-> Inputs for Maintenance Schedule Calls 

Refer attached document for more maintenance_webservice_example.docx details

Additional Information:

Note:The minimum required inputs to add a schedule for maintenance mode are the schedule start date/time and end date/time or duration.

File Attachments: