Actions15
- User Actions
- Task Actions
- Project Actions
- Time Tracking Actions
Time Tracking → Get Employee Project Hours
AI-generatedOverview
This node interacts with the Active Collab API to retrieve time tracking data specifically for employee project hours. It allows users to fetch the number of hours an employee has logged on various projects within a specified date range. This is useful for project managers or HR personnel who need to monitor employee work hours on different projects for reporting, billing, or payroll purposes.
Use Case Examples
- A project manager wants to see how many hours a specific employee has worked on different projects between January 1, 2024, and January 31, 2024.
- An HR department needs to generate a report of employee hours by project for a given month to calculate payroll accurately.
Properties
| Name | Meaning |
|---|---|
| User ID | ID of the employee to get hours for, used to specify which employee's project hours to retrieve. |
| Start Date | Start date for the time period in YYYY-MM-DD format, defines the beginning of the date range for which to fetch hours. |
| End Date | End date for the time period in YYYY-MM-DD format, defines the end of the date range for which to fetch hours. |
Output
JSON
json- ``
*user_id- The ID of the employee whose hours are retrieved.
*project_id- The ID of the project for which hours are logged.
*hours- The number of hours the employee has logged on the project within the specified date range.
*date- The date or date range for the logged hours.
- ``
Dependencies
- Active Collab API with credentials including email and password for authentication
Troubleshooting
- Common issues include authentication failures due to incorrect or expired credentials. Ensure the API credentials (email and password) are correct and have the necessary permissions.
- Date format errors can occur if the start or end dates are not provided in the correct YYYY-MM-DD format. Verify the date inputs.
- API request failures might happen if the API endpoint is unreachable or the network connection is unstable. Check network connectivity and API availability.
- If the node returns an error with a message from the API, review the message for specific issues such as invalid user ID or date range and adjust inputs accordingly.
Links
- Active Collab API Documentation - Official documentation for the Active Collab API which this node interacts with.