uimapi call to update custom fields does not do anything
search cancel

uimapi call to update custom fields does not do anything

book

Article ID: 374012

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

Executing a uimapi call with the following properties does not update the alarm, nor does it error:

/uimapi/alarms/{alarmid}/set_custom_property

{
  "properties": [
    {
      "key": "custom_4",
      "value": "my update"
    }
  ]
}

Environment

Version: 20.4, 23.4
Component: uimapi

Resolution

Issue the command without the underscore in the field name:

{
  "properties": [
    {
      "key": "custom4",
      "value": "my update"
    }
  ]
}