Update a work assignment
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
When true, standard tax credits are applied to this work assignment's Pay Stubs. Only one work assignment per Employee per Business Entity may be primary. If none is explicitly set to primary, the earliest work assignment is treated as primary.
An optional label for this work assignment, used to distinguish between multiple work assignments for the same Employee or Contractor.
255The date the work assignment was archived. Archiving ends the work assignment's participation in future Payrolls. The archive date must not fall before any active Pay Rate's effective period.
255Additive changes to the existing tag assignment, as an alternative to replacing it with tag_assignment. The two keys are mutually exclusive.
tag_assignment_patch.add_tags — Tag IDs to add to every existing allocation. Adding a tag replaces any other tag from the same tag group on that allocation.
tag_assignment_patch.remove_tags — Tag IDs to remove from every existing allocation. An allocation left with no tags is deleted; the distribution strategy decides what happens to its value.
tag_assignment_patch.distribution_strategy (optional) — Governs the value of allocations deleted by remove_tags. Defaults to reallocate when omitted. Accepted values: reallocate (spread the deleted value proportionally across the remaining allocations), unallocated (drop the value; the assignment's allocations will sum to less than before), error (refuse the patch if any allocation would be deleted).

