You need to set the program stage 'Capture coordinates'. Also be aware that
you can only set coordinates with the post, they will not update via the
API.
Pierre
[image: image.png]
On Mon, Jun 12, 2017 at 4:40 PM Markus Bekken wrote:
> Dear Harsh,
> can you reproduce in play? Trying to reprodu
Dear Harsh,
can you reproduce in play? Trying to reproduce through the event capture app,
the only difference I see between the two payloads is the number of decimals in
the coordinate captured. The apps uses only 6 decimals:
"coordinate":{"latitude":9.394871,"longitude":-11.487579}
Markus
> 12
Hi
I am making events through API which include coordinates. But when posting
the event everything gets saved except coordinates.
URL : http://localhost:8090/dhis/api/events/
Pay Load :
{
"coordinate": {"latitude": 13.1707428419558, "longitude": 79.6169626173919},
"event": "O02d839dd7c",
"eventD
3 matches
Mail list logo