Forum Discussion

dhiraj_gophane's avatar
12 years ago

List of users belongs to same rank

Hi,

I want a Rest API which will give me all the list of users who belong to a particular rank.

The current API doesn't work for me.

Any solution?

  • I believe the /restapi/vc/ranks/id/[id] REST API is for another similarly named feature in the Lithium Application. To get a list of users that belong to a rank I recommend using the search REST API:

     

    /restapi/vc/search/users?ranking=[id]

2 Replies

  • I'm getting such type of response,

    Can anyone help me to resolve it?

     

    response status="error">
    <error code="306">
    <message>
    A required feature is not configured: user-node-rank.
    </message>
    </error>
    </response>

     

  • AdamA's avatar
    AdamA
    Khoros Oracle
    12 years ago

    I believe the /restapi/vc/ranks/id/[id] REST API is for another similarly named feature in the Lithium Application. To get a list of users that belong to a rank I recommend using the search REST API:

     

    /restapi/vc/search/users?ranking=[id]