Hi morten
could you help how to get all dataElements relate Specific datasets and specific organisation unit by using web api?
thank you
channara
Hi morten
could you help how to get all dataElements relate Specific datasets and specific organisation unit by using web api?
thank you
channara
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@gmail.com 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@lists.launchpad.net
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
thank you lars
On Thu, Feb 25, 2016 at 7:18 PM, Lars Helge Øverland lars@dhis2.org wrote:
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@gmail.com 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@lists.launchpad.net
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
–