← Back to team overview

dhis2-devs team mailing list archive

[Bug 1607740] [NEW] userRoles[id] never returns value in the User API calls

 

Public bug reported:

The user role parameter does not return a value when making API calls
i.e .../api/24/users.json?fields=userRoles[id]

Returns:
{"pager":{"page":1,"pageCount":1,"total":23,"pageSize":50},"users":[{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{}]}

** Affects: dhis2
     Importance: Undecided
         Status: New


** Tags: userrole

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1607740

Title:
  userRoles[id] never returns value in the User API calls

Status in DHIS:
  New

Bug description:
  The user role parameter does not return a value when making API calls
  i.e .../api/24/users.json?fields=userRoles[id]

  Returns:
  {"pager":{"page":1,"pageCount":1,"total":23,"pageSize":50},"users":[{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{}]}

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1607740/+subscriptions


Follow ups