End Task
POST/api/tasks/endtask
Tier: Public — stable, supported for third-party integration.
Manually completes a task regardless of its actions' states, stamping end time and completing user. Calling this on an already-Completed task is an idempotent no-op that returns the current detail.
Request
Responses
- 200
- 400
- 401
- 403
The updated (or already-complete) task. See Tasks.TaskDetailDto.
NotFound — unknown task id; or InvalidOperation if the task is Cancelled (cannot complete).
Caller is not authenticated.
Caller does not have Update permission on the Task module.