← Back to team overview

dhis2-devs team mailing list archive

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@xxxxxxxxxxxxxx | http://www.baosystems.com | Skype:
hardingt@xxxxxxxxx | 2900 K Street, Suite 406, Washington D.C. 20007

Follow ups