Customer support for WHD referred me here: You may contact directly our Dev team through THWACK using the link below:
https://thwack.solarwinds.com/
You will need to access the link, post your query about the scripting issue and they will reply.
-------------------------------------------------------------
We are currently on version 12.8.3
I use a PowerShell script to setup new locations in Web Helpdesk. After the last security update the authentication for making the API call is failing.
URL Is: (actual URL is not posted)
"">whd.somewebsiteurl.com/.../"
The API key was generated under my user settings in Web Helpdesk.
Below is the code for what is being attempted to create:
$NewLocation = @{
"address" = $StreetAddress
"city" = $City
"locationName" = $NewLocationName
"postalCode" = $ZipCode
"state" = $State
"country" = 'USA'
}
$objectcall = "Locations"
$FullURL = $baseurl + $objectcall + '?' + $apikey
Invoke-RestMethod -Method Post -Uri $FullURL -Body ($NewLocation | ConvertTo-Json) -ContentType 'application/json'