Get all project assignments
get
/connectedWorker/clientapi/v2/projects/{projectId}/employees
This operation retrieves all employee-project assignments within the given project.
Request
Path Parameters
-
projectId: integer(int64)
Project identifier
Response
Supported Media Types
- application/json
200 Response
Project assignments were successfully retrieved
Root Schema : ProjectAssignments
Type:
Show Source
object-
items:
array items
-
links(optional):
array links
Read Only:
true
Nested Schema : items
Type:
Show Source
array-
Array of:
object ProjectAssignment
Discriminator:
role
Nested Schema : ProjectAssignment
Type:
objectDiscriminator:
Show Source
role-
employeeId:
string
Identifier of the employee within the project assignmentExample:
johnSmith -
links(optional):
array links
-
role:
string
Allowed Values:
[ "PROJECT_MANAGER", "SUPERVISOR", "WORKER" ]Role associated with the employee for the given projectExample:WORKER
Nested Schema : Link
Type:
Show Source
object-
href:
string
The target resource's URI
-
rel:
string
Relation type