How to represent a Location point entry in XML when submitting data using the REST API

I am trying to create a script for submitting data using the REST API. In the documentation here, submission of data through REST API needs to be done using XML format. My form collects a Location Point and stores it in Data Name 'location'. How do you represent the location data in xml?

I tried

<location>POINT(121.0 14.0 5.09)</location>

however it did not record the coordinate to the location data.

geopoint: Space-separated list of valid latitude (decimal degrees), longitude (decimal degrees), altitude (decimal meters) and accuracy (decimal meters)


1 Like

Thank you very much for this! :slightly_smiling_face:

1 Like