View all Resource Role Assignments by Primary Flag
get
/api/restapi/resourceRoleAssignment/primaryFlag/{primaryFlag}
This endpoint returns reosurce role assignments that meet the following requirements:
- The object is associated with a flag with an ID value that matches the value of the {primaryFlag} path parameter.
Request
Path Parameters
-
primaryFlag(required): string
Indicates whether this is resource's primary role or not.
Allowed Values: [ "TEMPLATE", "PROJECT", "GENERIC_PORTFOLIO", "IDEA", "PROGRAM", "STRATEGY" ]
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Successful operation
Root Schema : List<ApiEntityResourceRoleAssignment>
Type:
array
Title:
Show Source
List<ApiEntityResourceRoleAssignment>
-
Array of:
object ApiEntityResourceRoleAssignment
Title:
ApiEntityResourceRoleAssignment
Nested 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.
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.