v1
latestOpenAPI 3.1.02026-07-26549156879.0 KBReads all Project workers
What does it do?
This endpoint reads and retrieves a list of project workers. You can utilize URL parameters to filter the results.
Is it related to other entities?
A project_worker is always related to a project and a employee. Only a project worker is able to add time to a project using the time_record entity.
Who can use it?
Only companies who have enabled the projects_management feature and users with the permission to read project workers.
Query parameters
Retrieve only the project workers that matches the ids provided in the request.
Retrieve only the project workers that matches the ids provided in the request.
[ "92732", "2" ]
Retrieve only the project workers that matches the project_ids provided in the request.
Retrieve only the project workers that matches the project_ids provided in the request.
[ "314159", "33" ]
Retrieve only the project workers that matches the subproject_ids provided in the request.
Retrieve only the project workers that matches the subproject_ids provided in the request.
[ "5", "6" ]
Retrieve the project workers that are not assigned to any subproject (can be combined with subproject_ids).
Retrieve the project workers that are not assigned to any subproject (can be combined with subproject_ids).
Retrieve only the project workers that are related to the employee_ids provided in the request.
Retrieve only the project workers that are related to the employee_ids provided in the request.
[ "21", "22" ]
Retrieve project workers that are assigned if true or in not-assigned status if false.
Retrieve project workers that are assigned if true or in not-assigned status if false.
Retrieve the project workers that are assigned to active projects if turew or closed projects if false.
Retrieve the project workers that are assigned to active projects if turew or closed projects if false.
Retrieve only the project workers that matches the given employee's name provided in the request.
Retrieve only the project workers that matches the given employee's name provided in the request.
If true we will perform the minutes calculations and will be return the total inputed_minutes. If false, 0 will be returned and no minutes calculations will be performed.
If true we will perform the minutes calculations and will be return the total inputed_minutes. If false, 0 will be returned and no minutes calculations will be performed.
If true, costs of the project worker will be included to the response.
If true, costs of the project worker will be included to the response.
Retrieve only the project workers that were created or updated after the date provided in the request.
Retrieve only the project workers that were created or updated after the date provided in the request.
Response
OK
Example response
{
"data": [
{
"id": "92732",
"project_id": "314159",
"employee_id": "21",
"assigned": true,
"inputed_minutes": 100,
"labor_cost_cents": 100,
"company_labor_cost_cents": 100,
"spending_cost_cents": 100
}
]
}