Add task to list.
You don't have to send the id of task. It will be generated automatically by server, same as createTime and complete.
PARAMS
Name | Type | Description |
---|---|---|
title | string | Task title |
detail | string | Task detail |
RETURN
Name | Type | Description |
---|---|---|
id | number | Id of the new task |