Sync work start times from MySQL

Recipe ToolsDatabaseMarketing

What it does

When a call arrives for the Get fe_lib_work_starttime endpoint, this automation queries MySQL for work start time records and returns them. The response includes all matching rows from the fe_lib_work_starttime table.

Who it's for

Engineering teams who need to retrieve work start time data from MySQL through an API endpoint.

How teams use this

Retrieve work schedules for scheduling

Query work start times from MySQL to populate scheduling systems or dashboards. The API returns current records without manual database access.

Integrate start times into payroll

Call this endpoint from a payroll system to fetch work start times for accurate time tracking. The automation handles the MySQL query and response formatting.

Filter results by employee or date

Add query parameters to the endpoint so callers can filter work start times by employee ID or date range. The MySQL query would include a where clause to narrow results.

How it works

  1. Receive the API call. A real-time call arrives for the Get fe_lib_work_starttime endpoint, initiating this automation.
  2. Query work start times. Select all rows from the fe_lib_work_starttime table in MySQL to retrieve the requested work start time records.
  3. Return the results. Send the matching rows back to the caller as the API response, completing the request.