Are there any examples showing how to update tables? I'm simply trying to push comments or notes inside the Orion.AlertObjects.AlertNotes field. I see in that table a relationship with (Orion.AlertActive) that has a verb 'AppendNote' I can invoke. If I have the syntax right:
AppendNote ( alertObjectIds(System.Int32[], note(System.String))
I attempt in python:
aliases = swis.invoke('Orion.AlertActive', 'AppendNote ', '6220','TEST') # I just hardcoded alertObjectId that I know exists and string I want to add
print(aliases)
But I get:
Traceback (most recent call last):
File "./check.py", line 67, in <module>
aliases = swis.invoke('Orion.AlertActive', 'AppendNote ', '6220','TEST')
File "C:\Python27\lib\site-packages\orionsdk\swisclient.py", line 29, in invoke
"Invoke/{}/{}".format(entity, verb), args).json()
File "C:\Python27\lib\site-packages\orionsdk\swisclient.py", line 59, in _req
resp.raise_for_status()
File "C:\Python27\lib\site-packages\requests\models.py", line 909, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Verb Orion.AlertActive.AppendNote : Not found for url: solarwinds-orion:17778/.../Info
rmationService/v3/Json/Invoke/Orion.AlertActive/AppendNote%20
What am I missing??