Re: [Dhis2-users] API: dataSets.dataElements

2016-11-04 Thread Uwe Wahser
Hi Bob, overriding categoryCombos sounds interesting - I will look at that later. Not sure what that means in terms of transparency of the data later on, though ... As an implementor/3rd party developer I'd expect of course that even if the api has changed in the current version, that it will wor

Re: [Dhis2-users] API: dataSets.dataElements

2016-11-03 Thread Bob Jolliffe
The reason why there isn't a backward compatible api is because the underlying model has changed to support overriding the categorycombo per dataset. So a dataset no longer has dataElements, but dataSetElements. The dataSetElement is a compound object consisting of both a dataelement reference and

Re: [Dhis2-users] API: dataSets.dataElements

2016-11-03 Thread Michael Mwebaze
Thanks Uwe, I have been trying to figure this out as well. On 3 November 2016 at 04:04, Uwe Wahser wrote: > just found the answer myself: it has to be > https://play.dhis2.org/demo/api/dataSets/N4fIX1HL3TQ.json? > paging=false&fields=dataSetElements[dataElement[id,code,name]] > > the other qu

Re: [Dhis2-users] API: dataSets.dataElements

2016-11-03 Thread Uwe Wahser
just found the answer myself: it has to be https://play.dhis2.org/demo/api/dataSets/N4fIX1HL3TQ.json?paging=false&fields=dataSetElements[dataElement[id,code,name]] the other question remains: why cant I use the old syntax by adding 24 or 23 to the url? Regards, Uwe --- > Uwe Wahser hat am 3.

[Dhis2-users] API: dataSets.dataElements

2016-11-02 Thread Uwe Wahser
Dear all, I am a bit confused about the api in 2.25. Before, I was able to list dataElements of a given dataSet via https://play.dhis2.org/demo/api/dataSets/N4fIX1HL3TQ.json?paging=false&fields=dataElements[id,code,name] As I understand from the manual, this has changed to https://play.dhis2.org