Back to index

UpdateLocation_v1

This method allows you to update a locations information in the database

Parameters:

[in] usn The user-name that you need to use to authenticate on this interface.
[in] pwd The password that you need to use to authenticate on this interface.
[in] options String parameter. This is currently unused and reserved for future versions of the API. Pass in an empty string.
[in] locationID The locationID value of the location you want to update.
[in] locationName String parameter. The updated name assigned to this location
[in] userData String parameter. The updated associated user data for this location. Alternatively an empty string can be passed in here.
[in] categoryName String parameter. The updated name of the category that this location belongs to.
[in] polygon String parameter. The updated Well Known Text representation of this polygon. e.g. "POLYGON ((30 10, 40.112 40.335, 20 40, 10.111112 20.111112, 30 10))"
return value If an error happens this string contains the error message, otherwise it will return an empty string

Remarks

Minimum R-COM Database version

0.1435

Error messages

Please see this page.