← Back to team overview

dhis2-devs team mailing list archive

API - event coordinates not getting saved

 

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",
"eventDate": "2017-04-05T16:20:00.360+05:30",
"orgUnit": "ZFMOv30Ab8b",
"program": "Ml0ZNj9APN0",
"programStage": "iWcQ5lxmsy4",
"status": "COMPLETED"
}

Import summary is all OK and rest of the data is saved.

Version:2.25Build revision:f20cd15Build date:2017-06-12 17:23
Same happens in 26 and 27 also.

Regards
harsh

Follow ups