When creating alarms via webservices_rest the alarms are assigned to the device specified in the alarm details as expected, however if the device is in maintenance mode the alarm will not be suppressed.
Environment
UIM 8.51 webservices_rest 8.51
Cause
When an alarm is submitted via webservices_rest it will have the dev_id of the server where webservices_rest is running, instead of the dev_id of the actual alarmed device.
Because the maintenance is correlated by dev_id the alarms will not be suppressed.
Resolution
This is currently a limitation of webservices_rest in UIM 8.51.