Quantcast
Channel: THWACK: All Content - Orion SDK
Viewing all articles
Browse latest Browse all 2677

Update IPAM records using Orion SDK - not supported?

$
0
0

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


Viewing all articles
Browse latest Browse all 2677

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>