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 ‘Material Item' functionality. The endpoint covered are listed in Table 1.
Table 1 - Summary of Material Item-Related Public API Endpoints
API Endpoint | High Level Description |
/api/MaterialItem/GetByFilter | Reads existing Material Items within MESTEC and returns a payload |
/api/MaterialItem/Update/{id} | update existing material item within MESTEC |
/api/MaterialItem/Get/{id} | Reads existing Material Items by id within MESTEC and returns a payload |
/api/MaterialItem/Receive | Receive a new material item into the stock |
/api/MaterialItem/ItemAdjust | Adjust the quantity of an existing material item |
