Using DHIS2 API

Hello dhis2 API users,

I have some troubles to have dataValues, dataElements(Name and Id) and dataElementGroups(Name and Id) in the same query instead of doing two different queries.

Is it possible? if yes thank you for any information.

Thank you in advance

···

**DIALLO Mamadou Diao Conseiller IT, Specialiste de DHIS 2 **( District Health Information Software )

Projet de Renforcement du Système d’Information Sanitaire en Guinée

Phone : 623909413 | 662256106

Skype : diawwdiallo

www.jsi.com

Hi Diallo,

from the developer’s guide it doesn’t look like dataelement group is a supported query parameter for dataValues end point. See link below

https://docs.dhis2.org/2.23/en/developer/html/ch01s15.html

You should however have more success with the analytics end point see link below

https://docs.dhis2.org/2.23/en/developer/html/ch01s32.html

Michael

···

On 21 September 2017 at 06:37, Mamadou Diao Diallo diao_diallo@gn.jsi.com wrote:

Hello dhis2 API users,

I have some troubles to have dataValues, dataElements(Name and Id) and dataElementGroups(Name and Id) in the same query instead of doing two different queries.

Is it possible? if yes thank you for any information.

Thank you in advance

**DIALLO Mamadou Diao Conseiller IT, Specialiste de DHIS 2 **( District Health Information Software )

Projet de Renforcement du Système d’Information Sanitaire en Guinée

Phone : 623909413 | 662256106

Skype : diawwdiallo

www.jsi.com


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Thank you Michael,
It will be probably useful.

Best

Diao

···

On Thu, Sep 21, 2017 at 1:28 PM, Michael Mwebaze michael.mwebaze@gmail.com wrote:

Hi Diallo,

from the developer’s guide it doesn’t look like dataelement group is a supported query parameter for dataValues end point. See link below

https://docs.dhis2.org/2.23/en/developer/html/ch01s15.html

You should however have more success with the analytics end point see link below

https://docs.dhis2.org/2.23/en/developer/html/ch01s32.html

Michael

On 21 September 2017 at 06:37, Mamadou Diao Diallo diao_diallo@gn.jsi.com wrote:

Hello dhis2 API users,

I have some troubles to have dataValues, dataElements(Name and Id) and dataElementGroups(Name and Id) in the same query instead of doing two different queries.

Is it possible? if yes thank you for any information.

Thank you in advance

**DIALLO Mamadou Diao Conseiller IT, Specialiste de DHIS 2 **( District Health Information Software )

Projet de Renforcement du Système d’Information Sanitaire en Guinée

Phone : 623909413 | 662256106

Skype : diawwdiallo

www.jsi.com


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

**DIALLO Mamadou Diao Conseiller IT, Specialiste de DHIS 2 **( District Health Information Software )

Projet de Renforcement du Système d’Information Sanitaire en Guinée

Phone : 623909413 | 662256106

Skype : diawwdiallo

www.jsi.com