Get groups of permissions for a study role for a study ID
get
/ec-auth-svc/rest/v1.0/studyroles/{StudyRoleID}/study/{StudyID}/rightsgroups
Fetch all rights groups associated with a specific role for a given study. Returns all permissions and properties assigned to the study role.
Request
Path Parameters
-
StudyID(required): string(uuid)
UUID of the study to query. Example: "9340F1E228C34D28A16B173472BF437E"Example:
9340F1E228C34D28A16B173472BF437E -
StudyRoleID(required): string(uuid)
UUID of the study role. Example: "3D2ACEF7D4DC4A719B5F8C8649C5F96F"Example:
3D2ACEF7D4DC4A719B5F8C8649C5F96F
Query Parameters
-
studyRoleType(required): string
Study role type string identifier. Example: "SITE_SPECIFIC"Example:
SITE_SPECIFIC
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
List of rights groups for the given study role and study.
Root Schema : schema
Type:
Show Source
array-
Array of:
object DisplayRoleWithRightsDto
Represents a role with associated rights and additional attributes.
Nested Schema : DisplayRoleWithRightsDto
Type:
objectRepresents a role with associated rights and additional attributes.
Show Source
-
id(required): string
(uuid)
The unique identifier for the role.
-
objectVersionNumber: number
Object version number.Example:
3 -
rights: object
rights
A right associated with a role. Contains the unique identifier and name of the right.
-
roleCategory(required): string
Category to which the role belongs.Example:
STUDY_SPECIFIC -
roleName(required): string
Name of the role.Example:
Rule Designer -
roleSubCategory: string
Sub-category for this role.Example:
LEAD -
selected: boolean
Indicates if this role is selected.Example:
true -
unblinded: string
Whether the role is unblinded ('YES' or 'NO').Example:
YES
Example:
{
"id":"D2FEB81D0E364B22B2EE172CD220A1D1",
"roleName":"Rule Designer",
"roleCategory":"STUDY_SPECIFIC",
"roleSubCategory":"LEAD",
"unblinded":"YES",
"objectVersionNumber":3,
"selected":true,
"rights":[
{
"id":"A8C7B83378261E99F4A6823F43A6063B",
"rightName":"ACCESS_SUBJECT_DATA"
}
]
}Nested Schema : rights
Type:
objectA right associated with a role. Contains the unique identifier and name of the right.
Show Source
-
id(required): string
(uuid)
The unique identifier for the right.
-
rightName(required): string
The name of the right.Example:
ACCESS_SUBJECT_DATA
Example:
{
"id":"A8C7B83378261E99F4A6823F43A6063B",
"rightName":"ACCESS_SUBJECT_DATA"
}Examples
400 Response
Invalid role ID, study ID, or study role type.
Root Schema : AuthResponse
Type:
objectGeneric API response wrapper containing result, error data, response version and status.
Show Source
-
errorData: object
ErrorResponseData
Structure representing an error response from the reporting service. Contains an error code, human-readable message, and details.
-
result: object
result
Result data of the API response; actual type depends on the API
-
status: string
(none)
Indicates request success ("success") or failure ("failure").Example:
success -
version: integer
(int32)
Version of the response schema.Example:
1
Nested Schema : ErrorResponseData
Type:
objectStructure representing an error response from the reporting service. Contains an error code, human-readable message, and details.
Show Source
-
details: string
Detailed error context or debugging information such as validation error, stack trace, or field/parameter cause.Example:
User role is missing required permission REPORTING_VIEW. Field: userId -
errorCode: string
Application or business-specific error code representing the error type.Example:
REPT_401 -
errorMessage: string
Human-readable error message describing the failure or issue.Example:
Unauthorized: User does not have access to the requested resource
Nested Schema : result
Type:
objectResult data of the API response; actual type depends on the API
Example:
oracle.doceng.json.BetterJsonNull@3565a0f5