https://prtgserver/api/setlonlat.htm?id=9445&location=TestDevice&username=admin&passhash=123456789&lonlat=-73.998672,40.714728
Returns a "OK" page but it only sets the location name, not the lonlat.
A suggested workaround:
https://prtgserver/api/setobjectproperty.htm?id=9445&name=lonlat&username=admin&passhash=123456789&value=-73.998672,40.714728
Returns a "OK" page but the lonlat isn't changed.
Another suggested workaround:
https://prtgserver/api/editsettings?id=9445&location_=TestDevice&username=admin&passhash=123456789&lonlat_=-73.998672,40.714728
Returns a "Not Found" page and does nothing.
Location inheritance is turned of and I've tried the calls on devices and groups but it makes no difference. Any suggestions would be very appreciated.
Add comment