Eyelit MES 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 done through the use of pre-formatted JSON packets and are authorised through OAuth 2.0.
This document provides technical information on the authorisation method used for calls to the Eyelit MES Public API endpoints.
The Eyelit MES-M Public API requires authentication to be accessed. Note the following:
- The method used by Eyelit MES is OAuth 2.0 – Password and Username.
- A call to [environment].mestec.net/Token is needed to create the authentication token. This token has a lifespan of 12 hours.
- The username and password required are that of an Eyelit user account within the target environment.
- This user account must be appropriately licensed and have the correct roles to carry out any transactions attempted by the endpoints.
- Management of this user account is the customer's responsibility.