https://Test.com’'/service/api/me?fields=:all,attributeValues[:all,attribute[id,name,displayName,value]],organisationUnits[id,displayName,level,comment,attributeValues[:all,attribute[id,name,displayName]]],userGroups[id],userCredentials[:all,!user,userRoles[id,name],userRoles[id,name]
By using above API we are not getting the Attribute name and display name for the Organisationunit.
Thanks & Regards,
Ravikumar
Gassim
(AL-Gassim Sharaf Addin)
2
Hi
I’m not able to reproduce this… please see the request below:
https://play.im.dhis2.org/stable-2-40-7/api/me?fields=organisationUnits[id,displayName,level,attributeValues[:all]] It looks like it’s returning the desired fields here…