Skip to content

TimeEntry: add POST /v1/timeentry/bulk for import parity #379

Description

@CryptoJones

Summary

Bulk create exists for 13 soft-deletable entities; TimeEntry has no POST /v1/timeentry/bulk. Importers and batch clients lack parity with Customer, Worker, Job, etc.

Proposed fix

Add bulk endpoint via _bulk-helpers.js factory (direct teCompId scoping) with same 500-entry cap, zod validation, transactional all-or-nothing semantics, and idempotency support.

Acceptance criteria

  • POST /v1/timeentry/bulk implemented
  • OpenAPI updated
  • API + integration tests
  • Postman collection regen documented

Source

Code review backlog (2026-06-23)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions