_edit
Parameters
name
id
Example
FM_api('TaskType_edit', ['id' => '0', 'name' => 'test task type success']);Results
On Success
{"ok":1,"id":0,"task_id":30004}On Failure
Last updated
Modify the name of a Task Type.
The name given to the chosen task.
The id of the chosen task.
FM_api('TaskType_edit', ['id' => '0', 'name' => 'test task type success']);Upon renaming a Task Type from "test task type" to "test task type success"
{"ok":1,"id":0,"task_id":30004}If you were to press "Edit Type" but leave the dialog box blank
Last updated
{"error":"invalid or missing parameter: name"}