Assign an accountant task
PUT/accountant-tasks/:code/assign
Assign an accountant task to a specific user code. This changes the task status to IN_PROGRESS. Assigning to anybody other than yourself requires the accountant-tasks.assign-to-others permission; claiming a task for yourself does not. Restricted to the legal entities the caller reaches through their organizational units: a task belonging to any other entity, and a task belonging to none, answers 404 exactly like an unknown code. ADMIN is unrestricted.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 429
- 500
Successfully assigned task
Bad request
Unauthorized
Assigning to another user requires the assign-to-others permission
Task not found, or outside the caller's legal-entity scope
Assignee is the requester or buyer of this purchase (four-eyes rule)
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