When I use the Orion API:
/SolarWinds/InformationService/v3/Json/Invoke/Orion.AlertActive/Acknowledge
{
"alertObjectIds" = "1234",
notes = "this has been acknowledged"
}
the note is always null on the Orion.AlertActive:
{
"AlertActiveID": 1234,
"AcknowledgedBy": "theuser",
"AcknowledgedDateTime": "2025-01-30T13:13:15.527Z",
"AcknowledgedNote": null,
"NumberOfNotes": null,
}
instead, it's stored in the linked Orion.AlertActive.AlertObjects.AlertNote:
{
"AlertActiveID": 0001,
"AcknowledgedBy": "theuser",
"AcknowledgedDateTime": "2025-01-30T13:13:15.527Z",
"AcknowledgedNote": null,
"NumberOfNotes": null,
"AlertObjectID": 1234,
"AlertNote": "this has been acknowledged"
}
Is this how it works? Why is the acknowledgement null in Orion.AlertActive?
Also, is there a way to overwrite the note? It just accumulates lines every time it's acknowledged with a note:
this has been acknowledged\r\n
this has been acknowledged\r\n
this has been acknowledged\r\n
this has been acknowledged\r\n