Quantcast
Channel: THWACK: Popular Discussions - Orion SDK
Viewing all articles
Browse latest Browse all 3719

403 with rest api call

$
0
0

I;ve seen a few other people with this issue, and some where resolved, but nowhere is a solution to be found.

 

The code:

 

$VLANNAAM = "Somevlan"

$cred = get-credential

$invoked = Invoke-RestMethod -Uri ("https://"+$Hostname+":17778/SolarWinds/InformationService/v3/Json/Query?query=SELECT GroupId,VLAN_Naam FROM IPAM.GroupNodeAttr WHERE (VLAN_Naam='$VLANNAAM')") -method Get -credential $cred

 

For the credentials I've used a windows account, local account, database user.

Nothing works, Always the 403 error.

 

2015-08-27 07_33_58-Pool 06 - ICT Services Windows 8 Werkplek.png


Viewing all articles
Browse latest Browse all 3719

Trending Articles