Re: [Dhis2-users] API call to list all data elements within a dataset

2017-08-17 Thread Vladimer Shioshvili
Jason is right, my suggestion does not work in later versions. Akash's gives you what I was trying to get: https://play.dhis2.org/dev/api/dataElements?filter=dataSetElements.dataSet.id:eq:lyLU2wR22tC&fields=id,name,description&paging=false On Thu, Aug 17, 2017 at 8:45 AM Akash Jindal wrote: > H

Re: [Dhis2-users] API call to list all data elements within a dataset

2017-08-17 Thread Akash Jindal
Hi Nick, I used this one to get the same: /api/dataElements.json?filter=dataSetElements.dataSet.id:eq:Xd0ePcEz1nx&fields=description,id,displayName&paging=false

Re: [Dhis2-users] API call to list all data elements within a dataset

2017-08-17 Thread Knut Staring
As JSON: https://play.dhis2.org/dev/api/dataSets/lyLU2wR22tC.json?fields=dataSetElements[dataElement[id,name,description]] On Thu, Aug 17, 2017 at 2:38 PM, Shurajit Dutta wrote: > Great, thanks both. Using Jason's for later versions is working well. > > Nick > > On Thu, Aug 17, 2017 at 2:34 PM,

Re: [Dhis2-users] API call to list all data elements within a dataset

2017-08-17 Thread Shurajit Dutta
Great, thanks both. Using Jason's for later versions is working well. Nick On Thu, Aug 17, 2017 at 2:34 PM, Jason Pickering < jason.p.picker...@gmail.com> wrote: > In later versions of DHIS2, it would be something like this I think > > https://play.dhis2.org/dev/api/dataSets/lyLU2wR22tC? > field

Re: [Dhis2-users] API call to list all data elements within a dataset

2017-08-17 Thread Jason Pickering
In later versions of DHIS2, it would be something like this I think https://play.dhis2.org/dev/api/dataSets/lyLU2wR22tC?fields=dataSetElements[dataElement[id,name,description]] On Thu, Aug 17, 2017 at 2:30 PM, Vladimer Shioshvili wrote: > This should get you started: > > api/dataElements?filter

Re: [Dhis2-users] API call to list all data elements within a dataset

2017-08-17 Thread Vladimer Shioshvili
This should get you started: api/dataElements?filter=dataSets.id:eq:DATASET_UID On Thu, Aug 17, 2017 at 8:26 AM Shurajit Dutta wrote: > Hi everyone, > > Can someone share with me the API call to list all data elements within a > dataset, perhaps the uid and name? Though if someone has somethin

Re: [Dhis2-users] API call to list all data elements within a dataset

2017-08-17 Thread GROUT , Lise
We would be also very happy of being able to do this, adding description field. Lise. From: Dhis2-users [mailto:dhis2-users-bounces+groutl=who@lists.launchpad.net] On Behalf Of Shurajit Dutta Sent: 17 August 2017 14:26 To: dhis1-users Subject: [Dhis2-users] API call to list all data ele