Tasks - Add New Task
POST yourdomain.com/api/tasks
Header
json
Field | Type | Description |
---|---|---|
Authorization | String |
Basic Access Authentication token. |
Parameter
json
Field | Type | Description |
---|---|---|
name | String |
Mandatory Task Name. |
startdate | Date |
Mandatory Task Start Date. |
is_public (optional) | String |
Optional Task public. |
billable (optional) | String |
Optional Task billable. |
hourly_rate (optional) | String |
Optional Task hourly rate. |
milestone (optional) | String |
Optional Task milestone. |
duedate (optional) | Date |
Optional Task deadline. |
priority (optional) | String |
Optional Task priority. |
repeat_every (optional) | String |
Optional Task repeat every. |
repeat_every_custom (optional) | Number |
Optional Task repeat every custom. |
repeat_type_custom (optional) | String |
Optional Task repeat type custom. |
cycles (optional) | Number |
Optional cycles. |
rel_type | string |
Mandatory Task Related. Allowed values: |
rel_id | Number |
Optional Related ID. |
tags (optional) | String |
Optional Task tags. |
description (optional) | String |
Optional Task description. |
Success 200
json
Field | Type | Description |
---|---|---|
status | String |
Request status. |
message | String |
Task add successful. |
Error 4xx
json
Name | Type | Description |
---|---|---|
status | String |
Request status. |
message | String |
Task add fail. |
HTTP/1.1 200 OK
{
"status": true,
"message": "Task add successful."
}
HTTP/1.1 404 Not Found
{
"status": false,
"message": "Task add fail."
}