Fetches all Notes added to a Task.

Parameters

task_id

The ID of the Task.

Example

FM_api('TaskNotes_get', ['task_id' => '1']);

Result

On Success

{['id':'1','note':'This is a note.','last_edited':'2018-10-18 15:19:41','cdate':'2018-10-18 15:19:41','user_id':'82876'],
 ['id':'2','note':'This is another note.','last_edited':'2018-10-18 15:26:45','cdate':'2018-10-18 15:26:45','user_id':'82876']}

On Failure

If the user is not logged in: {'error':'not logged in'}