Use UIMAPI to update a custom field for an alarm
search cancel

Use UIMAPI to update a custom field for an alarm

book

Article ID: 244578

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

Looking for a way to update the custom_3 field of an alarm via a curl command (UIMAPI method).

Environment

Release : 20.4

Component : UIM - API

Resolution

Example curl command:

curl -X POST "http://(my_machine).net/uimapi/alarms/<Alarm_ID>/set_custom_property" -H "accept: application/xml" -H "Content-Type: application/json" -d "{ \"properties\": [ { \"key\": \"custom3\", \"value\": \"some_information\" } ]}"