View a Resource Role Assignment by Resource
get
/primeapi/restapi/resourceRoleAssignment/resource/{id}
This endpoint returns resource role assignments that meet the following requirements:
- The object has a resource with an ID value that matches the value of the {resourceId} path parameter.
Request
Path Parameters
-
id: integer(int64)
The system-generated identifier of a resource.
Response
Supported Media Types
- application/json
200 Response
successful operation
Nested Schema : ApiEntityResourceRoleAssignment
Type:
Show Source
object
-
link(optional):
string(url)
Read Only:
true
-
primaryFlag(optional):
boolean
Determines whether this is the resource's main role. A role that does not have this option selected indicates that this is a secondary role for the resource. You can only assign one primary role per resource. A resource is not required to have a primary role.
-
proficiency(optional):
string
Allowed Values:
[ "ONE", "TWO", "THREE", "FOUR", "FIVE" ]
The skill level of the resource.
Skill levels are Master, Expert, Skilled, Proficient, and Inexperienced. -
resourceId(optional):
integer(int64)
The unique identifier for the resource or role.
-
resourceRoleAssignmentId(optional):
integer(int64)
The identifier for the resource.
-
roleCode(optional):
string
The unique identifier for the resource or role.
-
roleId(optional):
integer(int64)
The unique identifier for the resource or role.
-
updateDate(optional):
string(date-time)
Read Only:
true
Date when the record was last updated. Used for viewing and filtering records, obtained ONLY from GET calls, modified on and after a particular date. Not a part of POST response.
204 Response
Successful operation with no content.
404 Response
The Resource Role Assignment services enables you to create, view, update, and delete assignments between resources and roles. A resource role assignment indicates whether or not a resource is fulfilling a particular role.