Leadtime icon

Leadtime

Interact with Leadtime ERP API

Actions180

Insight → Staff Chart

AI-generated

Summary

Fetches a Leadtime staff chart for selected employees over a date range, with results grouped by period and broken down by a chosen dimension or returned as totals.

Inputs

  • Start Date — Start date in YYYY-MM-DD format; leave empty for automatic calculation.
  • End Date — End date in YYYY-MM-DD format; leave empty for automatic calculation.
  • Staff IDs (required) — Comma-separated employee UUIDs to include.
  • Model (required) — Choose Comparison for a time-series comparison or Total for aggregated totals. Defaults to Comparison.
  • Period (required) — Group the chart by months or weeks. Defaults to Months.
  • Breakdown (required) — Choose how employee time is divided: by project, task type, chargeable time, or value groups. Defaults to By Project.

Output shape

A staff chart response from the Leadtime API.

The provided source pack omits function bodies, so it does not establish the exact response fields or whether the returned data is reshaped.

Links

Discussion