get https://api.factorialhr.com/api/2024-10-01/resources/project_management/projects/
What does it do? This reads the data of projects, and retrieves the information based on the permissions:
- If the user has the
team_leader
permission, he will only be able to read the projects that he is the team leader. - If the user has the
reportees
permission, he will only be able to read the projects that he is the team leader or the projects that he is a team member. - If the user has
everyone
permission, he will be able to read all projects. - If the user has the
owned
permission, he will only be able to read the projects that he is the assigned.
Is it related to other entities? A project is always related to a company, so you can use the query params to list only the projects that are related to a specific company. ###### Who can use it? Only companies who have enabled the projects_management
feature and users with the permission of read projects.
projects_management
feature and users with the permission of read projects.