roleAssignments
Módulo People · 5 operaciones
List role assignment rows
GET/role-assignments
A canon workforce role staffed on a project, with its staffing ratio basis. Returns a cursor page of role assignment rows the caller may see. The default order is `created_at` ascending. Supports sparse fieldsets and the filter grammar.
Create a role assignment
POST/role-assignments
A canon workforce role staffed on a project, with its staffing ratio basis. Creates a role assignment. Requires `Idempotency-Key`; a replay returns the original response. The organization is derived from the credential or the parent row, never from the body.
Get a role assignment
GET/role-assignments/{id}
A canon workforce role staffed on a project, with its staffing ratio basis. Returns one role assignment with its `ETag`. A role assignment the caller may not see returns 404.
Update a role assignment
PATCH/role-assignments/{id}
A canon workforce role staffed on a project, with its staffing ratio basis. Updates the fields sent; omitted fields are unchanged. Requires `If-Match` with the current `ETag`: a stale tag returns 412 and a missing tag returns 428.
Delete a role assignment
DELETE/role-assignments/{id}
A canon workforce role staffed on a project, with its staffing ratio basis. Soft-deletes the role assignment: it moves to Trash and can be restored for its table's retention period.