← Back to team overview

dhis2-users team mailing list archive

Re: API call to list all data elements within a dataset

 

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 <vshioshvili@xxxxxxxxx>
wrote:

> This should get you started:
>
> api/dataElements?filter=dataSets.id:eq:DATASET_UID
>
>
> On Thu, Aug 17, 2017 at 8:26 AM Shurajit Dutta <shurajitdutta@xxxxxxxxx>
> 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 something already
>> that provides more fields that would also be great.
>>
>> Thanks,
>> Nick
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Jason P. Pickering
email: jason.p.pickering@xxxxxxxxx
tel:+46764147049

Follow ups

References