Is it possible via the API to add a new IPHost object to the HostList of an existing IPHostGroup without overwriting the existing contents of the group?
I am creating an IPHost object via API but also want to then place it in into an existing IPHostGroup with a number of existing items. I haven't been able to figure out the syntax (keep getting status code 529). Once I have the syntax sorted I need to confirm the action, as I assume "add" will fail as the IPHostGroup already exists, and I suspect the "update" action will replace the contents as it does for other objects.
Not sure if it helps, this is the request I came up with for adding the IPHost, just need to then get it into an existing group:
<Request><Login><Username>xxxxxxxx</Username><Password passwordform="encrypt">yyyyyyyyyyyyyyyyyyyy</Password></Login><Set operation="add"><IPHost><Name>ip_zzzz</Name><IPFamily>IPv4</IPFamily><HostType>IP</HostType><IPAddress>1.2.3.4</IPAddress></IPHost></Set></Request>
Thanks.
This thread was automatically locked due to age.