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

api / web request question

$
0
0

Another user posted in the api forum for how to get the next avaiblable ip, that you can set the record by using the follownig code:

 

$postParams = @{"entity"="IPAM.IPNode";"verb"="UpdateManyStatus";"ObjectId"="1097 ";"ipstatus"="1 ";"ids"="2 "}

 

Invoke-WebRequest -Uri https://localhost/Orion/IPAM/ExtCmdProvider.ashx -Method POST -WebSession $session -Body $postParams -OutFile output.html

 

My question is, where do "objectid,"ipstatus",and"ids" come from? I can't find those elements anywhere in any documentation of the api or any place. I want to also fill in the hostname but I can't find out what the object would be to go along with ipstatus and ids.

 

Does anyone know where these came from or what the "hostname" field would be called to be updated?


Viewing all articles
Browse latest Browse all 2677

Trending Articles



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