Bulk-assign accountant tasks
PUT/accountant-tasks/assign
Assign many accountant tasks to a single user in one request. Assigning to anybody other than yourself requires the accountant-tasks.assign-to-others permission, checked once for the whole request, so a caller without it is refused outright rather than per task. If the named assignee is on vacation the whole batch is redirected to their active stand-in, resolved once for the request; redirected and effective_assignee_code report who the tasks actually landed on. Each task is then assigned independently: tasks blocked by the four-eyes rule (the effective assignee is the requester or buyer of the purchase) or otherwise un-assignable are skipped and reported per task, so a single bad task never aborts the batch. A code outside the caller's legal-entity scope is skipped the same way an unknown code is. Returns the per-task outcome.
Request
Responses
- 200
- 400
- 401
- 403
- 429
- 500
Per-task assignment results and the effective assignee
Bad request
Unauthorized
Assigning to another user requires the assign-to-others permission
Too many requests - rate limited by the API firewall; wait out the Retry-After delay before retrying
Response Headers
Delay in seconds a client must wait before retrying the request
Internal server error