Set the Time spent on a Task.

Parameters

id

The ID of the Task.

time_spent

Amount of time spent on the task in minutes.

Example

FM_api('Task_setTimeSpent', ['id' => '123', 'time_spent' => '10']);

Result

On Success

{'ok':1}