Adding a computer system to an existing maintenance schedule, via API method, with a HTTP 404 error "Requested Resource not found".
Release : 20.3.x/20.4.x
Component : uimapi, maintenance_mode
1) The values entered for the domain, hub, and robot parameters corresponded to the robot to be added to the maintenance schedule, but it should be the robot where the maintenance_mode probe is deployed.
2)The parameter values are case sensitive.
3)Ensure the machine in maintenance mode , is not in a different hub.
Please note that these are the values you need to set in UIMAPI:
{domain}
{hub}
{robot}
Correspond to the robot where the maintenance probe is installed (e.g. the primary)
{schedule_id} the id of the scheduler
{csList} ID of the device(s) to be added .
In the screenshot you provided you are not correctly selecting the robot with the maintenance_mode probe, and that is the reason for the error:
requested resource not found: /Domain_XXX/uimHub/Robot/maintenance_mode
The domain, hub, and robot parameters for all maintenance calls are those for wasp running on the UIM server