This documentation provides technical information on the endpoints available to call through the Eyelit MES-M Public API relating specifically to the ‘Product’ functionality. The endpoints covered are listed in Table 1.
Table 1: Summary of Product-Related Public API Endpoints
API Endpoint | High Level Description |
/api/ProductType/List | Reads existing Product Types within Eyelit MES-M and returns a payload |
/api/ProductType/Upsert | Creates a Product Type or updates a Product Type that already exists within Eyelit MES-M |
/api/ProductType/Delete | Deletes an existing Product Type if it has not been used |
/api/ProductGroup/List | Reads existing Product Groups within Eyelit MES-M and returns a payload |
/api/ProductGroup/Upsert | Creates a Product Group or updates a Product Group that already exists within Eyelit MES-M |
/api/ProductGroup/Delete | Deletes an existing Product Group if it is not currently in use |
/api/Product/List | Reads existing Products within Eyelit MES-M and returns a payload |
/api/Product/Upsert | Creates a Product or updates a Product that already exists within Eyelit MES-M |
/api/Product/Delete | Deletes an existing Product if it has not been used |
/api/Product_ProductGroup/Assign | Assigns a Product to a Product Group |
/api/Product_ProductGroup/Unassign | Unassigns a Product from a Product Group |
The documentation also covers a sample use case for a product interface and presents a sample flow diagram representing business logic.