Projects
Get all projects
GET v3/projectswill return all the projects.
[
{
"id":23423233,
"title":"PH Marketing",
"description":"Project description goes here",
"archived":false,
"status":12345678,
"color":"#41236D",
"start_date":"2016-12-10",
"end_date":"2016-12-15",
"template":false,
"sample_project":false,
"favourite":false,
"favourite_sort":null,
"category":{
"id":65707070
},
"creator":{
"id":11765082
},
"assigned":[
12009183,
11679192
],
"manager":{
"id":11679192
},
"created_at":"2016-06-24T12:18:26+00:00",
"modified_at":"2016-06-24T12:18:26+00:00"
},
{
"id":23423234,
"title":"Rockwall Phase II",
"description":"Develop and execute the 2016 plan",
"archived":false,
"color":"#41236D",
"start_date":"2016-12-10",
"end_date":"2016-12-15",
"template":false,
"sample_project":false,
"favourite":false,
"favourite_sort":null,
"category":{
"id":65707070
},
"creator":{
"id":12009183
},
"assigned":[
12009183,
11679192
],
"manager":{
"id":11679192
},
"created_at":"2016-06-24T12:18:26+00:00",
"modified_at":"2016-06-24T12:18:26+00:00"
}
]
Get project
GET v3/projects/23423233will return project specified.
{
"id":23423233,
"title":"PH Marketing",
"description":"Project description goes here",
"archived":false,
"status":12345678,
"color":"#41236D",
"start_date":"2016-12-10",
"end_date":"2016-12-15",
"template":false,
"sample_project":false,
"favourite":false,
"favourite_sort":null,
"category":{
"id":65707070
},
"creator":{
"id":12009183
},
"assigned":[
12009183,
11679192
],
"manager":{
"id":11679192
},
"created_at":"2016-06-24T12:18:26+00:00",
"modified_at":"2016-06-24T12:18:26+00:00"
}
Create project
POST v3/projectswill create a new project to the account.
{
"title":"To the moon",
"description":"DBX's campaign",
"category":651073331,
"start_date":"2016-12-10",
"status":12345678,
"end_date":"2016-12-15",
"assigned": [
12009183,
11679192
],
"manager": 11679192
}
You can get the category from the categories API.
201 Created will be returned along with the JSON of the project (Get project) if the record is added. You have reached the project limit will be returned if the account has reached the project limit. 403 Forbidden will be returned in case of invalid access.
Update project
PUT v3/projects/23423233will update the project from the parameters passed.
{
"title":"To the moon 2014",
"description":"DBX's campaign",
"archived":false,
"status":12345678,
"category":651073331,
"start_date":"2016-12-10",
"end_date":"2016-12-15",
"assigned": [
12009183,
11679192
],
"manager": 11679192
}
200 OK will be returned along with the JSON of the project (Get project) if the record is updated. 403 Forbidden will be returned in case of invalid access.
Delete project
DELETE v3/projects/23423233will delete the project.
204 No Content will be returned if the record is deleted. 403 Forbidden will be returned in case of invalid access.
Get project status
GET v3/projectstatus/12345678will return project status details.
{
"id":12345678,
"title":"Active",
"is_default":true,
"created_at":"2016-06-24T12:18:26+00:00",
"updated_at":"2016-06-24T12:18:26+00:00"
}
Create project status
POST v3/projectstatuswill create a new project status.
{
"title":"Status name",
}
201 Created will be returned along with the JSON of the project status (Get project status) if the record is added. 403 Forbidden will be returned in case of invalid access.
Update project status
PUT v3/projectstatus/12345678will update the project status from the parameters passed.
{
"title":"status updated name",
}
200 OK will be returned along with the JSON of the project status (Get project status) if the record is updated. 403 Forbidden will be returned in case of invalid access.
Delete project status
DELETE v3/projectstatus/12345678will delete the project status.
204 No Content will be returned if the record is deleted. 403 Forbidden will be returned in case of invalid access.
Last updated today
Built with Documentation.AI