Skip to content

Time Registrations

Export time registrations (hours logged by field workers) from Ditio. This is the most commonly used Data Extraction endpoint.

GET /v1/time-registrations
  • Test: https://core-api.ditio.dev/reporting/v1/time-registrations
  • Production: https://core-api.ditio.app/reporting/v1/time-registrations
  • Scope: reportingapiv1 — see Authentication

The endpoint uses the shared extraction filter — see Pagination for the full list:

ParameterTypeDescription
FromDateTimedatetimeFull-sync window start, e.g. 2026-01-01
ToDateTimedatetimeFull-sync window end
ModifiedSincedatetimeIncremental sync — records created or modified since this instant
ModifiedBeforedatetimeOptional upper bound; requires ModifiedSince
ProjectIdstringRestrict to one project
CompanyIdstringOnly data registered in this company
ChunkLimitintPage size — default 2500, range 1–10000
ContinuationTokenstringPagination cursor from the previous response
{
"data": [],
"links": { "next": "/v1/time-registrations?...&ContinuationToken=eyJ..." },
"continuationToken": "eyJ..."
}

Records include the worker, project, work order, times/quantities, and approval state. For the exhaustive field list, inspect a response from the test environment against your own data.

Terminal window
export DITIO_REPORTING_BASE="https://core-api.ditio.dev/reporting" # test
curl -H "Authorization: Bearer $TOKEN" \
"$DITIO_REPORTING_BASE/v1/time-registrations?FromDateTime=2026-01-01&ToDateTime=2026-01-31"

Results are paginated using ContinuationToken. See Pagination for the loop and for incremental sync with ModifiedSince.