Function asana::apis::tasks_api::update_task[][src]

pub async fn update_task(
    configuration: &Configuration,
    task_gid: &str,
    inline_object36: InlineObject36,
    opt_pretty: Option<bool>,
    opt_fields: Option<Vec<String>>
) -> Result<InlineResponse2016, Error<UpdateTaskError>>

A specific, existing task can be updated by making a PUT request on the URL for that task. Only the fields provided in the data block will be updated; any unspecified fields will remain unchanged. When using this method, it is best to specify only those fields you wish to change, or else you may overwrite changes made by another user since you last retrieved the task. Returns the complete updated task record.