Projects - Add New Project
POST yourdomain.com/api/projects
Header
json
Field | Type | Description |
---|---|---|
Authorization | String |
Basic Access Authentication token. |
Parameter
json
Field | Type | Description |
---|---|---|
name | String |
Mandatory Project Name. |
rel_type | string |
Mandatory Project Related. Allowed values: |
clientid | Number |
Mandatory Related ID. |
billing_type | Number |
Mandatory Billing Type. |
start_date | Date |
Mandatory Project Start Date. |
status | Number |
Mandatory Project Status. |
progress_from_tasks (optional) | String |
Optional on or off progress from tasks. |
project_cost (optional) | String |
Optional Project Cost. |
progress (optional) | String |
Optional project progress. |
project_rate_per_hour (optional) | String |
Optional project rate per hour. |
estimated_hours (optional) | String |
Optional Project estimated hours. |
project_members (optional) | Number[] |
Optional Project members. |
deadline (optional) | Date |
Optional Project deadline. |
tags (optional) | String |
Optional Project tags. |
description (optional) | String |
Optional Project description. |
Success 200
json
Field | Type | Description |
---|---|---|
status | Boolean |
Request status. |
message | String |
Project add successful. |
Error 4xx
json
Name | Type | Description |
---|---|---|
status | Boolean |
Request status. |
message | String |
Project add fail. |
HTTP/1.1 200 OK
{
"status": true,
"message": "Project add successful."
}
HTTP/1.1 404 Not Found
{
"status": false,
"message": "Project add fail."
}