Hi,

Try this

api/programs.json?fields=id,name,attributeValues[value,attribute[id,name]]&filter=attributeValues.value:eq:true

---
Thank you,
Abyot.

On Thu, Feb 11, 2016 at 12:24 PM, Marc Garnica <marcgarnic...@gmail.com>
wrote:

> Dear All,
>
>
>
> I’ve created an attribute in Data Administration part and I’ve associated
> it to one program (with values Yes/no). Now I’m wondering If it should be
> possible to create an URL which give me all the programs having this
> Atribute as ‘Yes’.
>
> Like
>
> .../api/programs.json?filter=programAttribute:eq:Yes
>
> Thank you very much for your attention
>
>
>
> Regards,
>
> Marc Garnica
>
>
>
> _______________________________________________
> 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
>
>
_______________________________________________
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

Reply via email to