...
For more information, see the Portal API specification.
REST APIs Exposed for Admin User Management
Service APIs
Method | Path | Server side method description |
---|---|---|
GET | /roles | getAvailableRoles() RESTful service method to fetch available roles |
GET | /user/{loginId}/roles | getUserRoles(java.lang.String loginId) RESTful service method to fetch individual user's roles using user's loginId |
POST | /user | pushUser(java.lang.String userJson) RESTful service method to save new user - expects user details in json string |
POST | /user/{loginId} | editUser(java.lang.String loginId, java.lang.String userJson) RESTful service method to edit existing user - expects user details in json string |
POST | /user/{loginId}/roles | pushUserRole(java.lang.String loginId, java.lang.String rolesJson) RESTful service method to save user roles using user's login Id and details in roles Json string |
GET | /user/{loginId} | getUser(String loginId) RESTful service method to fetch one user |
GET | /users | getUsers() RESTful service method to fetch all users |