← Back to team overview

dhis2-devs team mailing list archive

How do I filter for authorities

 

Hello!

I'm attempting to filter for roles with a specific authority and I'm
getting a strange response:


Specifically:

Collection size must be integer `F_PROGRAM_INDICATOR_PUBLIC_ADD`

The URL I'm using is:
https://play.dhis2.org/2.29/api/userRoles?fields=name,id,authorities&filter=authorities:eq:F_PROGRAM_INDICATOR_PUBLIC_ADD

I haven't tried this on 2.28 or 2.27, currently testing out some of the
role changes for 2.29. Does anyone know what might be wrong with my syntax?



*Timothy Harding*
Sr. Systems Analyst, BAO Systems
+1 202-536-1541 | tharding@xxxxxxxxxxxxxx | http://www.baosystems.com | Skype:
hardingt@xxxxxxxxx | 2900 K Street, Suite 507, Washington D.C. 20007

Follow ups