3 Replies Latest reply on Jan 17, 2017 10:59 AM by tdanner

    Update IPAM records using Orion SDK - not supported?



      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:



      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