← Back to team overview

dhis2-users team mailing list archive

Re: Hi morten

 

Hi Channara,

have a look at the object filter API:

http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s08.html

To get all data elements for certain data sets you can do like this:

https://play.dhis2.org/demo/api/dataElements?filter=dataSets.id:in:[BfMAe6Itzgt,VTdjfLXXmoi]

Notice that you use "dataSets.id" and the "in" clause to match an array of
data set UIDs.

regards,

Lars




On Wed, Feb 24, 2016 at 10:43 PM, channara rin <rin.channara@xxxxxxxxx>
wrote:

> Hi morten
> could you help how to get all dataElements relate Specific datasets and
> specific organisation unit by using web api?
>
> thank you
> channara
>
> _______________________________________________
> 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
>
>


-- 
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland
http://www.dhis2.org <https://www.dhis2.org/>

Follow ups

References