4 Replies Latest reply on Sep 14, 2016 6:35 AM by gopi.gorantala

    sort the OSAPI result list using custom profile fields

    gopi.gorantala

      Hi Ryan Rutan, Scott A Johnson

       

      I am trying to sort an OSAPI result based on User level in an organisation which are stored as integer values. For example, we have a custom profile field with user-level and I'm trying to sort users list based on the custom profile field. Is there a way to achieve this ?

       

      By the way, I tried the Jive documentation approach and it didn't work for me-  https://xxxxxxxxxxxx.xxx/api/core/v3/people?filter=department(xxxxxx)&sort=dateJoinedAsc (This works, but when i sort using the custom profile field, its not working).

       

      Ref: - https://developers.jivesoftware.com/api/v3/cloud/rest/PersonService.html - GET /people

       

      -Gopi.