Hi Only JSON is supported right now, we hope to have other renderers available in DHIS 2.17. When you add .xml, the include/exclude functionality is bypassed.
-- Morten On Tue, May 20, 2014 at 1:03 PM, Edwin Mulwa <[email protected]> wrote: > 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 <[email protected]>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 <[email protected]> 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 : [email protected] >>> Unsubscribe : https://launchpad.net/~dhis2-devs >>> More help : https://help.launchpad.net/ListHelp >>> >>> >> >
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : [email protected] Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp

