API Guide Items- Projects - Update a project

Projects - Update a project

PUT yourdomain.com/api/projects/:id

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: "lead", "customer", "internal"

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 Update Successful.

Error 4xx

json
Name Type Description
status Boolean

Request status.

message String

Project Update Fail.

HTTP/1.1 200 OK
{
  "status": true,
  "message": "Project Update Successful."
}
HTTP/1.1 404 Not Found
{
  "status": false,
  "message": "Project Update Fail."
}

Did you find this article useful?