Set the Task Type.

Parameters

id

The ID of the Task.

type

Type you wish to assign to the task. Phone call - 1, Email - 1, Case - 2.

Example

FM_api('Task_setType', ['id' => '123', 'type' => '1']);

Result

On Success

{'ok':1}