Sari la conținut

Pontaj

Intrările de pontaj.

Modul: Pontaj (timesheets).

  • GET /api/v1/time_entries - Listare cu filtre, sortare și paginare (scope timesheets:read)
  • GET /api/v1/time_entries/{id} - O înregistrare după id (scope timesheets:read)
  • POST /api/v1/time_entries - Creează o înregistrare (scope timesheets:write)
  • PATCH /api/v1/time_entries/{id} - Modifică câmpurile trimise (scope timesheets:write)
  • DELETE /api/v1/time_entries/{id} - Șterge sau dezactivează (scope timesheets:write)
  • id (string, uuid; citire): Identificator unic (UUID).
  • payload_user_id (string; citire)
  • work_date (string, date; citire)
  • kind (string; scriere, obligatoriu)
  • started_at (string, date-time; citire)
  • ended_at (string, date-time; citire)
  • minutes (number; scriere)
  • project_id (string; scriere)
  • note (string; scriere)
  • source (string; citire)
  • created_at (string, date-time; citire): Data creării (ISO 8601).
  • updated_at (string, date-time; citire): Data ultimei modificări (ISO 8601).
  • employee_id (string, uuid; scriere, obligatoriu)
  • task_id (string, uuid; citire)
  • billing_run_id (string, uuid; citire)
  • date (string, date; scriere, obligatoriu)
  • from (string; scriere)
  • to (string; scriere)
  • time_entries.created
  • time_entries.updated
  • time_entries.deleted