Retrieve multiple timesheet events from HaloPSA with filtering options.
Parameters:
- Return All: Whether to return all results or limit
- Limit: Maximum number of timesheet events to return (if Return All is false)
- Filters: Filtering options including:
- Agent ID: Filter by the specified agent
- Agents: Filter by multiple agents (comma-separated)
- Start Date: Filter by start date
- End Date: Filter by end date
- UTC Offset: UTC offset for date filtering
Retrieve a specific timesheet event by its ID.
Parameters:
- Timesheet Event ID: The ID of the timesheet event to retrieve
Create a new timesheet event in HaloPSA.
Note: The specific parameters for creating timesheet events depend on the implementation. Common fields typically include agent information, time ranges, and event details.
Update an existing timesheet event.
Parameters:
- Timesheet Event ID: The ID of the timesheet event to update
- Update Fields: Fields to be updated (varies based on implementation)
Delete a timesheet event from HaloPSA.
Parameters:
- Timesheet Event ID: The ID of the timesheet event to delete
Common errors you may encounter:
- 401 Unauthorized: Invalid API credentials
- 403 Forbidden: Insufficient permissions to access timesheet event data
- 400 Bad Request: Invalid parameters or missing required fields
- 404 Not Found: Timesheet event ID does not exist
- 429 Too Many Requests: Rate limit exceeded, retry with exponential backoff
When debugging issues:
- Check that timesheet event IDs exist and are accessible
- Verify agent IDs are valid when creating or filtering timesheet events
- Ensure date formats are ISO 8601 compliant
- Validate time ranges (start_date should be before end_date)
- Check UTC offset values are appropriate for your timezone
Returns a collection of timesheet events with record count and event details including ID, agent information, time ranges, event types, descriptions, and dates.
Returns a single timesheet event object with full details including comprehensive event information, agent relationships, time tracking data, duration calculations, and billing status.