Magidoc

updateResourceAssignment
Mutation

Updates an existing resource assignment by ID. Resolve the exact ID with getResourceAssignments first; do not update when no assignment matches. When omitted, allocationType and fixedDisplayType keep the existing assignment's values. To change mode or set hoursPerDay, fixedHours, or allocationValue, send allocationType and fixedDisplayType together as a compatible pair (see createResourceAssignment); allocationValue is only read in percentages mode.

Arguments

#

id

ID !
Non-null

The id of the resource assignment to update

workspaceId

ID !
Non-null

The workspace id

resourceAssignment

Non-null

The resource assignment to update

Response

#

Returns ResourceAssignments .

Example

#