This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

Update IPAM records using Orion SDK - not supported?

Hi,

I'm establishing automation for our infrastructure, where on of the automated actions will be to reserve IP address in IPAM.

i have already managed to get free Ip address by network, but i also need to change the status of the ip record to 1 (reserved)

Update function not supported by SWQL, so being advised by this page https://github.com/solarwinds/OrionSDK/wiki/REST​ i have tried this HTTP request:

POST https://ipam.domain.com:17778/SolarWinds/InformationService/v3/Json/swis://ipam.domain.com/Orion/IPAM.IPNode/IpNodeId=40…

with body:

{"Status":1}

The response i got:

{

  "Message": "Operation not supported on IPAM.IPNode",

  "ErrorCode": 20,

  "UserMessage": "Operation not supported on IPAM.IPNode",

  "ExceptionType": "SolarWinds.Data.AccessDeniedException",

  "FullException": "SolarWinds.Data.AccessDeniedException: Operation not supported on IPAM.IPNode\r\n   at SolarWinds.InformationService.Core.CrudProcessor.CheckAccessControl(AccessControlOperations operations, IEntityType entity, IEnumerable`1 propertyNames, IAccessControlResolver accessControlResolver)\r\n   at SolarWinds.InformationService.Core.CrudProcessor.UpdateInternal(Boolean bulkMode, SwisUriResolver uriResolver, IDictionary`2 propertiesToUpdate, IQueryExecutionContext context)\r\n   at SolarWinds.InformationService.Core.CrudProcessor.Update(SwisUri uri, IDictionary`2 propertiesToUpdate, IQueryExecutionContext context)\r\n   at SolarWinds.InformationService.Core.InformationService.Update(String uri, IDictionary`2 propertiesToUpdate)"

}

Could you please help me to understand what am i doing wrong?

Thanks in advance