updateTask
Updates a task status, a task status note or a task target document. Contacts can only update tasks for projects belonging to their customer. System administrators can update any task.
- authentication either via header or token
- taskID
If no target document is present in the task and a document is sent, the new document is added as a target for the task. If at least one target document is found in the task and an existing document name matches the new document name, the matched target document is replaced. If at least one target document is found in the task but no existing document name matches the new document name, the new document is added to the task as an additional target document.
When both taskID and documentID are provided, if and only if the specified document is found in the task, the specified document is replaced by the new document.
The taskStatus can be notStarted, started, onHold, completed or incomplete.