attributeCc and attributeCos

Hello!

this is in 2.24 and 2.26

I’ve been trying to get all active events back for a program from the API and so far I’ve been unable to get any results unless I specify: attributeCc and attributeCos. I looked through developer manuals for 2.24 and 2.27 and noticed there is no reference to the above two variables. Would it be possible to get back all events regardless of attribute option combo if attributeCc and attributeCos are not specified?

https://play.dhis2.org/demo/api/26/events/query.json?orgUnit=DiszpKrYNg8&programStage=aNLq9ZYoy9W&attributeCc=nM3u9s5a52V&attributeCos=RkbOhHwiOgW&dataElement=b6dOUjAarHD,W7aC8jLASW8,fqnXmRYo5Cz,HrJmqlBqTFG&order=lastUpdated:desc&pageSize=50&page=1&totalPages=true

vs

https://play.dhis2.org/demo/api/26/events/query.json?orgUnit=DiszpKrYNg8&programStage=aNLq9ZYoy9W&dataElement=b6dOUjAarHD,W7aC8jLASW8,fqnXmRYo5Cz,HrJmqlBqTFG&order=lastUpdated:desc&pageSize=50&page=1&totalPages=true

···

Timothy Harding
Sr. Systems Analyst, BAO Systems

+1 202-536-1541 | tharding@baosystems.com | http://www.baosystems.com | Skype: hardingt@gmail.com | 2900 K Street, Suite 406, Washington D.C. 20007

Hi Tim & Developers

I would like to see this as well, so I just copied Tim’s question into a JIRA issue: https://jira.dhis2.org/browse/DHIS2-1311

For the documentation bit, I created another JIRA issue: https://jira.dhis2.org/browse/DOCDHIS2-22

Best,

David

···

On Thu, Mar 23, 2017 at 2:55 PM, Timothy Harding tharding@baosystems.com wrote:

Hello!

this is in 2.24 and 2.26

I’ve been trying to get all active events back for a program from the API and so far I’ve been unable to get any results unless I specify: attributeCc and attributeCos. I looked through developer manuals for 2.24 and 2.27 and noticed there is no reference to the above two variables. Would it be possible to get back all events regardless of attribute option combo if attributeCc and attributeCos are not specified?

https://play.dhis2.org/demo/api/26/events/query.json?orgUnit=DiszpKrYNg8&programStage=aNLq9ZYoy9W&attributeCc=nM3u9s5a52V&attributeCos=RkbOhHwiOgW&dataElement=b6dOUjAarHD,W7aC8jLASW8,fqnXmRYo5Cz,HrJmqlBqTFG&order=lastUpdated:desc&pageSize=50&page=1&totalPages=true

vs

https://play.dhis2.org/demo/api/26/events/query.json?orgUnit=DiszpKrYNg8&programStage=aNLq9ZYoy9W&dataElement=b6dOUjAarHD,W7aC8jLASW8,fqnXmRYo5Cz,HrJmqlBqTFG&order=lastUpdated:desc&pageSize=50&page=1&totalPages=true

Timothy Harding
Sr. Systems Analyst, BAO Systems

+1 202-536-1541 | tharding@baosystems.com | http://www.baosystems.com | Skype: hardingt@gmail.com | 2900 K Street, Suite 406, Washington D.C. 20007


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

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

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

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

David Huser
DHIS2 Support Specialist

dhuser@baosystems.com | https://baosystems.com | Skype: dafhus | 2900 K Street, Suite 406, Washington D.C. 20007