Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

The following API calls are available for the Portal subsystem:

  • GET Available Applications List
  • ADD/Modify/Remove User to/from the Application Administrator Role
  • Add/Modify/Remove USER to/from the Application USER Roles
  • GET Application List where user currently have Administrator Roles
  • GET Application User Roles List

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

  • No labels