Milestones - Add New Milestone
POST yourdomain.com/api/milestones
Header
json
| Field | Type | Description |
|---|---|---|
| Authorization | String |
Basic Access Authentication token. |
Parameter
json
| Field | Type | Description |
|---|---|---|
| project_id | String |
Mandatory project id. |
| name | String |
Mandatory Milestone Name. |
| due_date | Date |
Mandatory Milestone Due date. |
| description (optional) | String |
Optional Milestone Description. |
| description_visible_to_customer (optional) | String |
Show description to customer. |
| milestone_order (optional) | String |
Optional Milestone Order. |
Success 200
json
| Field | Type | Description |
|---|---|---|
| status | String |
Request status. |
| message | String |
Milestone add successful. |
Error 4xx
json
| Name | Type | Description |
|---|---|---|
| status | String |
Request status. |
| message | String |
Milestone add fail. |
HTTP/1.1 200 OK
{
"status": true,
"message": "Milestone add successful."
}
HTTP/1.1 404 Not Found
{
"status": false,
"message": "Milestone add fail."
}