Hi, For example, the following returns id and name for program stage, program stage sections, program stage section data elements.
api/programStages/XXXXX.json?fields=id,name,programStageSections[id,name,programStageDataElements[dataElement[id,name]]] Play around with the *fields *parameter to match the properties you want the server to return. --- Thank you, Abyot. On Fri, Dec 5, 2014 at 6:02 PM, Blai Samitier <[email protected]> wrote: > Hello, > > I am using the web API to get information from events, and I want to > classify the data elements with the program stage sections I defined in the > program stage. > > My problem is that I can't find the resource that gives me the program > Stage Section with their data elements. I can only find the name of the > sections in /api/programStages/xxxx/programStageSections, but not the data > elements they contain. > > Thanks! > _______________________________________________ > Mailing list: https://launchpad.net/~dhis2-users > Post to : [email protected] > Unsubscribe : https://launchpad.net/~dhis2-users > More help : https://help.launchpad.net/ListHelp >
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-users Post to : [email protected] Unsubscribe : https://launchpad.net/~dhis2-users More help : https://help.launchpad.net/ListHelp

