Re: [Dhis2-devs] [Dhis2-users] Training register design question

2017-09-20 Thread Dipali Sahu
We generally have 2 Event forms for Training. One for capturing Trainee's detail and for Training session's detail. We haven't done tracker for Training because we never had to track or record how many times or what training some person has undergone. Trainee form has detail like, name, address,

Re: [Dhis2-devs] [Dhis2-users] Training register design question

2017-09-20 Thread Prosper BT
Hi Timothy, Nice suggestion and was recently thinking about the same functional and trying to write it up in jira. For entry of tracker events data in tabular format with same event data like list of trainees on the same day:- - Allow flexibility of moving the events add button to within the

Re: [Dhis2-devs] [Dhis2-users] Training register design question

2017-09-20 Thread Prosper BT
Dear George, Thanks for sharing the use case. Basically the design will depend on the final output/analysis required out of this tracking. So the two approaches you shared are all possible and feasible but first deep dive into the analysis. 1. If they interested in how many trainings an

[Dhis2-devs] cannot update event date through the API on DHIS2 v2.24

2017-09-20 Thread Stéphane Delbeke
Hi, We are trying to update events through the api on a dhis2 v2.24 using something like: curl -X POST -d @play24.json "https://play.dhis2.org/release2/api/events; -H "Content-Type:application/json" -u admin:district -v with play24.json :

Re: [Dhis2-devs] DHIS2- API

2017-09-20 Thread Lars Helge Øverland
Hi Omer, have a look at the docs: https://docs.dhis2.org/master/en/developer/html/webapi_data_values.html#webapi_sending_data_values You can use the "completeDate" property to indicate the date the data set was completed: { "dataSet": "pBOMPrpg1QX", "completeDate": "2014-02-03",

Re: [Dhis2-devs] DHIS-2 API

2017-09-20 Thread Jan Henrik Øverland
Hi Omer, Like Harsh says, just replace the level param with a filter. In your case it will be: *api/organisationUnits/cdp3S26sBwA.json?**fields* *=children[id,name,level]=true=children.level:eq:6* On 20 September 2017 at 08:36, Harsh Atal wrote: > Hi Omer > > May be this

Re: [Dhis2-devs] DHIS-2 API

2017-09-20 Thread Harsh Atal
Hi Omer May be this works for you : *https://play.dhis2.org/demo/api/organisationUnits/ImspTQPwCqd?fields=children[id,level]=true=children.level:eq:3 * Regards harsh On 20

[Dhis2-devs] DHIS2- API

2017-09-20 Thread Omer Butt
Hi , I used that api for sending data values from api to dhis2 DB. (data values of data sets) URL: curl -d @datavalueset.json "https://play.dhis2.org/demo/api/26/dataValueSets; -H "Content-Type:application/json" -u admin:district -v Values Are send successfully to DHIS2 DB .But how to tell

Re: [Dhis2-devs] DHIS-2 API

2017-09-20 Thread Lars Helge Øverland
Hi Omer, it seems you are right. Please report it as a bug in Jira. We will have a look at it. regards, Lars On Wed, Sep 20, 2017 at 6:52 AM, Omer Butt wrote: > Hi, > can you please how to get a level 6 orgunit only by using DHIS-2 API; > > I used this api but It