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 ‘Eyelit v8.0.0 Public API Technical Documentation – Authentication’.
This documentation provides technical information on the endpoints available to call through the Eyelit Public API relating specifically to the ‘Work Centre’ and ‘Work Centre Group’ functionality. The endpoints covered are listed in Table 1.
Table 1 - Summary of Work Centre-Related Public API Endpoints
API Endpoint | High Level Description |
/api/WorkCentreGroup/List | Reads existing Work Centre Groups within Eyelit MES-M and returns a payload |
/api/WorkCentreGroup/Upsert | Creates a Work Centre Group or updates a Work Centre Group that already exists within Eyelit MES-M |
/api/WorkCentreGroup/Delete | Deletes an existing Work Centre Group if it has not been used |
/api/WorkCentre/List | Reads existing Work Centres within Eyelit MES-M and returns a payload |
/api/WorkCentre/Upsert | Creates a Work Centre or updates a Work Centre that already exists within Eyelit MES-M |
/api/WorkCentre/Delete | Deletes an existing Work Centre if it is not currently in use |
/api/WorkCentreGroup/AssignWorkCentres | Assigns a Work Centre to a Work Centre Group |
/api/WorkCentreGroup/UnassignWorkCentres | Unassigns a Work Centre from a Work Centre Group |