Skip to content

Latest commit

 

History

History
152 lines (90 loc) · 2.88 KB

timestamp.md

File metadata and controls

152 lines (90 loc) · 2.88 KB

Timestamp Operations

Get Timestamps

Retrieve a list of timestamps within a given time period.

Parameters:

  • From (Timestamp)
  • Till (Timestamp)

Get Timestamp Info

Retrieve timestamp information for a given time period.

Parameters:

  • From (Timestamp)
  • Till (Timestamp)

Get Timestamp Statistics

Retrieve timestamp information with statistical values.

Parameters:

  • From (Timestamp)
  • Till (Timestamp)
  • Employee IDs (Comma Separated)

Create Timestamp

Create a new timestamp entry.

Parameters:

  • Auto Pause
  • Employee ID
  • Date (Timestamp)
  • State
  • Type

Update Timestamp

Update an existing timestamp.

Parameters:

  • Timestamp ID (required)
  • Employee ID
  • Date (Timestamp)
  • State
  • Type

Save Day Timestamps

Write all timestamps for a full day at once.

Parameters:

  • Employee ID (Day) (required)
  • Day (required)
  • Timestamps JSON

Create Day Closings

Create one or more day closing entries.

Parameters:

  • Day Closings JSON

Delete Day Closings

Delete (undo) one or more day closing entries.

Parameters:

  • Day Closings JSON

Get Day Closing Till Date

Retrieve information about the latest day closings for employees.

Parameters:

Create Day Closings Till Date

Create missing day closings for specific employees until a given date.

Parameters:

  • Till Date
  • Employee IDs JSON

Set Initial Balance

Set the initial time balance for an employee.

Parameters:

  • Employee ID (Initial) (required)
  • Initial Balance (Minutes)

Get Pause Configs

Retrieve all pause configuration rules.

Parameters:

Create Pause Config

Create a new pause configuration.

Parameters:

  • From Minutes
  • Minimum Pause (Minutes)

Update Pause Config

Update an existing pause configuration.

Parameters:

  • Pause Config ID (required)
  • From Minutes
  • Minimum Pause (Minutes)

Delete Pause Config

Delete a pause configuration.

Parameters:

  • Pause Config ID (required)

Not Implemented

The following API endpoints exist but are not implemented in this node:

  • Create timestamp (user context) (POST /api/timestamps/v1) — uses TimestampToken auth, records a punch for the calling employee
  • List open change requests (GET /api/v1/timestamps/changeRequests)
  • Delete change requests (DELETE /api/v1/timestamps/changeRequests/{employeeId}/{dayTimestamp})
  • List employees visible for timestamp statistics (GET /api/v1/timestamps/employees)
  • List initial balances of all employees (GET /api/v1/timestamps/initialBalances)
  • Create manual booking (POST /api/v1/timestamps/manualBooking)
  • List manual bookings (PUT /api/v1/timestamps/manualBooking)
  • Delete manual booking (DELETE /api/v1/timestamps/manualBooking/{id})
  • Export timestamp statistics as CSV (GET /api/v1/timestamps/statistics/export)