Unable to delete existing Geo Point's MetaData via REST API

I’m trying to delete the metaData for an existing Geo Point. The URL i’ve setup is:

http://api.backendless.com/v1/geo/points/E57DF92F-ABC5-55C5-FFD9-DC23EDB85200?metadata={}

I’m using the PATCH Http method. The response is 200 but the metaData isn’t removed.

Looks like empty JSON object is not handled properly. Could you put some other dummy key:value in the metadata?

Another alternative might be deleting the geo point and then creating a new one without metadata.

Also, what good is it to have a geo point without metadata? (I am not critiquing the approach, just wondering what the use case is).

Regards,
Mark

I definitely could fill the metadata with a known dummy value indicating it is an invalid value. Also, deleting the geo point and creating a new one is a solution but is more expensive in processing and time to process. I fully agree that a geo point without metadata is a rare case usage.

It may be used to archive geo points but the metadata is no longer valid or necessary.

Also, without creating a data object relationship, is there a method of knowing when the geo point was create / updated?

Thanks,
Roy

For archival purposes, you could update the category of the geo points, that way they will be nicely grouped together.

To know when a data point is updated or created, you could add a custom business logic event handler for the corresponding API calls. Backendless would invoke that code any time it receives an API request to create/update a geo point.

Regards,
Mark