Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...





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


*Multi-Language Functionality API List (in Casablanca release):

GET  /auxapi/languageSetting/user/{loginId}                    Gets login user language setting in Portal

PUT  /auxapi/languageSetting/user/loginId}                     Updates login user language setting in Portal

POST  /auxapi/language                                                          Adds a language option in Portal

DELETE  /auxapi/language                                                     Deletes a language option in Portal

GET  /auxapi/languages                                                          Gets all language options in Portal