Re: [Dhis2-devs] API to get dataset section order

2015-03-22 Thread Morten Olav Hansen
Please try again with rev 18655. -- Morten On Sun, Mar 22, 2015 at 1:36 PM, Mahendra Kariya < mahendra.kar...@thoughtworks.com> wrote: > Hi Morten, > > Did you get time to take a look at this? > > On Thu, Mar 19, 2015 at 1:28 PM, Mahendra Kariya < > mahendra.kar...@thoughtworks.com> wrote: > >>

Re: [Dhis2-devs] API to get dataset section order

2015-03-19 Thread Lars Helge Ă˜verland
Hi, should it be this instead? { "sections": [ { "id": "qk2ZHknNYEu", "name": "Diseases", "sortOrder": 5, On Thu, Mar 19, 2015 at 8:00 AM, Mahendra Kariya < mahendra.kar...@thoughtworks.com> wrote: > Thanks Morten! > > When we GET /api/sections, we are able to get the so

Re: [Dhis2-devs] API to get dataset section order

2015-03-18 Thread Morten Olav Hansen
This have now been added to trunk -- Morten On Wed, Mar 18, 2015 at 6:18 PM, Mahendra Kariya < mahendra.kar...@thoughtworks.com> wrote: > Hi Lars, > > Thanks for the info. We noticed that the dataset.sections array is ordered > as per sections sort order. What we are looking for is a separate fi

Re: [Dhis2-devs] API to get dataset section order

2015-03-18 Thread Lars Helge Ă˜verland
Hi Mahendra, you should be able to get this by navigating the API to the data set, then further to its sections. E.g. this could work, sections are listed in the json array in correct order: https://apps.dhis2.org/demo/api/dataSets/QX4ZTUbOt3a.json?fields=id,name,sections regards, Lars On We