_new
Creating a new Task Type.
Parameters
name
The name given to the new Task Type.
Example
FM_api('TaskType_new', [
'name' => 'new task type'
]);
Results
On Success
{"ok":1,"id":30036}
On Failure
If "Create Type" is pressed while the dialogue box is left blank.
{"error":"invalid or missing parameter: name"}
Last updated