Skip to content

Timesheet cards

Employee cards: the code read by the reader starts or stops the timesheet.

Module: Timesheets (timesheets).

  • GET /api/v1/time_cards - List with filters, sorting and pagination (scope timesheets:read)
  • GET /api/v1/time_cards/{id} - A record by id (scope timesheets:read)
  • POST /api/v1/time_cards - Create a record (scope timesheets:write)
  • PATCH /api/v1/time_cards/{id} - Modify the submitted fields (scope timesheets:write)
  • DELETE /api/v1/time_cards/{id} - Delete or deactivate (scope timesheets:write)
  • id (string, uuid; read): Unique identifier (UUID).
  • employee_id (string, uuid; write, required): Employee
  • code (string; write, required): Time card code
  • is_active (boolean; write): Whether the record is active.
  • note (string; write): Note
  • last_scan_at (string, date-time; read)
  • custom_fields (object; read): Custom fields (key-value object). Definitions are created in the ERP; see the guide on docs.rivil.app.
  • created_at (string, date-time; read): Creation date (ISO 8601).
  • updated_at (string, date-time; read): Last modification date (ISO 8601).
  • time_cards.created
  • time_cards.updated
  • time_cards.deleted

Accepts custom fields in custom_fields. docs.rivil.app documents the capability; the list for your company is in the ERP, under Settings, API.