Eyelit offers integration with third-party applications through the use of a Public API. A series of endpoints are exposed and can be called by an external system (normally a middleware provider) to make changes directly within a given instance of the Eyelit software. The calls to these endpoints are performed through the use of pre-formatted JSON packets and are authorised through OAuth 2.0. For detail on the authorisation process, see Authentication.
This documentation provides technical information on the endpoints available to call through the Eyelit MES-M Public API relating specifically to the ‘Time and Attendance’ functionality. The endpoints covered are listed in Table 1.
Table 1 - Summary of Attendance-Related Public API Endpoints
API Endpoint | High Level Description |
/api/Attendance/ClockIn | Clocks a user into MESTEC as available for work |
/api/Attendance/ClockOut | Clocks a user out of MESTEC |
/api/Attendance/GetShift | Returns the shift information for a user for a given timeframe |