Hello,
One of my data tables (lets call it SampleTable) has a one-to-one relationship with a Geo Point. I want to create a new object and establish a relation between it and an existing Geo Point object.
How this can be done?
I know I can create new SampleTable object with a new Geo Point object with this request
curl -H "Host: api.backendless.com" -H "application-id: <app_id>" -H "application-type: REST" -H "secret-key: <secret_key>" -H "Content-Type: application/json" -X POST -d "{\"key\":\"value\", \"coordinates\": {\"___class\":\"GeoPoint\",\"latitude\":12.21,\"longitude\":32.0,\"categories\":[\"category\"]}}" -v https://api.backendless.com/v1/data/SampleTable
But I’m looking for a solution without creating the Geo Point.
Thanks in advance.
Best,
Matt