updateTaskNote function
PATCH /api/{api_version}/tasks/{task_code}/notes/{note_id}
Update a note's text; a form, as the create is, by the task's code.
No typed view: no 2xx response was recorded for it. Read response.map.
Implementation
Future<ApiResponse<Object?>> updateTaskNote(
ExsitedClient client,
Object taskCode,
Object noteId,
String note, {
Map<String, Object?>? files,
bool? raiseOnError,
String? responseFormat,
}) {
if (note.isEmpty) {
throw SdkUsageError(
'note is required: the note text is the body of this request');
}
return client.sendPatchRequest(TasksUrls.taskNote,
pathParams: {'task_code': taskCode, 'note_id': noteId},
formData: {'note': note},
files: files,
raiseOnError: raiseOnError,
responseFormat: responseFormat);
}