View a Resource Role Assignment
get
/api/restapi/resourceRoleAssignment/{resourceRoleAssignmentId}
This endpoint returns resource role assignments that meet the following requirements:
- The object has an ID that matches the value of the {resourceRoleAssignmentId} path parameter.
Request
Path Parameters
-
resourceRoleAssignmentId(required): integer(int64)
The system-generated identifier of a resource role assignment.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Successful operation
Root Schema : ApiEntityResourceRoleAssignment
Type:
object
Title:
Show Source
ApiEntityResourceRoleAssignment
-
link: string
(url)
The self-link to the object. This field is populated only in the responses generated by the batch create APIs.
-
primaryFlag: 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: string
Allowed Values:
[ "ONE", "TWO", "THREE", "FOUR", "FIVE" ]
The skill level of the resource.
Skill levels are Master, Expert, Skilled, Proficient, and Inexperienced. -
projectCode: string
Maximum Length:
60
The unique identifier for a project set by the user who created the project. -
projectId: integer
(int64)
The unique identifier for the project.
-
resourceCode: string
Minimum Length:
1
Maximum Length:60
The unique identifier for the resource or role. -
resourceId: integer
(int64)
The unique identifier for the resource.The resource object can also be identified by its unique criteria.
-
resourceRoleAssignmentId: integer
(int64)
The system-generated identifier of the resource role assignment.
-
roleCode: string
Minimum Length:
1
Maximum Length:60
The user-specified identifier of the role. -
roleId: integer
(int64)
The unique identifier for the role.The role object can also be identified by its unique criteria.
-
updateDate: string
(date-time)
Date when the record was last updated.
-
workspaceCode: string
Minimum Length:
0
Maximum Length:60
The user-specified identifier of a workspace.
404 Response
The requested resource role assignment does not exist, or you do not have access to it.