Projects

Get Projects

GET /project
Parameter Default Description
from 0

From which offset you want to retrive leads.

to 1000

Upto how many leads do you want to load

search empty

Search a term in the leads.

sort date

Sort by: name, date or update.

order d

Order by: d for descending, a for ascending

id empty

An id, will find your lead in the query no matter if it is inside the filter or not.

Return:
Returns project list with details such as projectid, name, last update, open tasks and their fields.

Get User Tasks

GET /project/task
Parameter Default Description
No parameters
Return:
Returns list of users projects, taskgroups inside projects and tasks inside taskgroups.

Get Project Details

GET /project/:projectid
Parameter Default Description
projectid mandatory

The project id you want details.

Return:
Returns full details of the project.

Update Project Details

PUT /project/details/:projectid
Parameter Default Description
fields mandatory

Project values in an key value pair and in JSON format.
Eg. {“Name”:”Blank Project”,”Description”:”This is just a blank project.”}

Note: This should include not only changed fields but also all the unchanged fields too.

Return:
Doesn't return anything.

Create Project

POST /project
Parameter Default Description
fields mandatory

Project values in an key value pair and in JSON format.
Eg. {“Name”:”Blank Project”,”Description”:”This is just a blank project.”}

Note: This should include not only changed fields but also all the unchanged fields too.

Return:
Return projectid of the newly created project.

Delete Project

DELETE /project/:projectid
Parameter Default Description
projectid mandatory

The project id you want to delete.

Return:
1 if successfull, 0 if failed.

Get Project Users

GET /project/user/:projectid
Parameter Default Description
projectid mandatory

The project id you want the users list from.

Return:
Get user details of users who have access to the project.

Get Project Tasks

GET /project/task/:projectid
Parameter Default Description
projectid mandatory

The project id you want the tasks from.

Return:
Returns list of tasks with their details.

Mark Task Complete

PUT /project/task/complete/:taskid
Parameter Default Description
projectid mandatory

The task id you want to mark complete.

Return:
Doesn't return anything.

Mark Task Incomplete

PUT /project/task/incomplete/:taskid
Parameter Default Description
projectid mandatory

The task id you want to mark incomplete.

Return:
Doesn't return anything.

Update Task

PUT /project/task/details/:taskid
Parameter Default Description
taskid mandatory

The task id you want to update.

text empty

The task text

duedate none

The due date

assignedto none

The assigned to user id

Return:
1 if successfull, 0 if failed.

Create Task

POST /project/task/:taskgroupid
Parameter Default Description
taskgroupid mandatory

The taskgroup id to which you want to add task

text empty

The task text

duedate none

The due date

assignedto none

The assigned to user id

Return:
A json array of taskid and activityboardid of the new task.

Delete Task

DELETE /project/task/:taskid
Parameter Default Description
taskid mandatory

The task id you want to delete.

Return:
1 if successfull, 0 if failed.