Hi Morten, here is the URL:
curl -H "Accept: application/xml" -u admin:district " http://apps.dhis2.org/demo/api/dataSets.xml?viewClass=detailed&exclude=dataEntryForm&links=false&paging=false " I want ALL the dataSets and its associated dataElements but I don't want the <dataEntryForm> child node included (or any other child nodes for that matter). Edwin On Tue, May 20, 2014 at 1:28 PM, Morten Olav Hansen <morte...@gmail.com>wrote: > Can you give me the URL you are trying? also, it will only work with a > list of dataSets, not at the /api/dataSets/ID endpoint > > -- > Morten > > > On Tue, May 20, 2014 at 12:14 PM, Edwin Mulwa <eddi...@gmail.com> wrote: > >> Hi, >> >> I am extracting a list of dataSets from DHIS using the Web API and I >> would like to exclude the <dataEntryForm> node. >> >> I have tried using the "exclude" command as explained here: >> >> http://www.dhis2.org/doc/snapshot/en/user/html/ch28s07.html >> >> but this is not working. >> >> Any pointers on how to make this happen is welcome. >> >> Thanks! >> >> Edwin >> >> >> _______________________________________________ >> Mailing list: https://launchpad.net/~dhis2-devs >> Post to : dhis2-devs@lists.launchpad.net >> Unsubscribe : https://launchpad.net/~dhis2-devs >> More help : https://help.launchpad.net/ListHelp >> >> >
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp