Greetings,
I’ve been trying to use the REST api or the .NET Api to add a geopoint into backendless, but I’m still unlucky.
I just tried using the .NET API with the following code:
Backendless.URL = "http://api.backendless.com";
Backendless.InitApp(BackendApplicationId, _wpsecretkey, BackendVersion);
var _latitude = Double.Parse(latitude);
var _longitude = Double.Parse(longitude);
var _cats = new List<string>() { "taxistas", "geoservice_sample" };
var _catsOnline = Backendless.Geo.GetCategories();
var _metadata = new Dictionary<string, string>();
_metadata.Add("taxistaId","2");
Backendless.Geo.AddPoint(_latitude, _longitude, _cats, _metadata);
Line 8 correctly returns the categories.
and I don’t get any errors on line 12.
However, the point is not added in the backend.
The fact that I’m getting the categories means it’s correctly configured no?
Any help would be greatly appreciated.
Geo