Versions Compared

Key

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

...

Parameter
Details
nameRole Name, Cannot be changes once role has been created
privilegeNamesPrivileges

Privilege names that comes under the role, permissible values are

{ User Provisioning, Storage Administration, Protocol Administration, Specimen Processing, Registration, Distribution, Read Denied }


API Example :

URLhttp://<host>:<port>/catissuecore/rest/ng/roles
MethodPUT
Requestapplication/json
json{
    "name":"Scientiest",
    "privilegeNames" : ["Protocol Administration", "Registration"]
}

Response

{

    "id" : "1",

    "name":"Scientiest",

    "privilegeNames" : ["Protocol Administration", "Registration"] 
}

 

...