Name of the WebApp

pAPIConnector

 

What does this WebApp do?

in a Traveller Step, it allows you to make a ResfFul API call to another platform and saving the result as a NVR value. While making the call, you can pass NVR values from EZ-MES to the other platform.

Supppose that you want to pass information from a Traveller Step to an ERP system with Restfull API support, you can use this WebApp to make the neccessary calls. Typical information in this case that would be passed from EZ-MES to the ERP system would be: reaching specific production milestones, consumed stock, resources used and planning forecast for shipping finished products.

 

Requirements

  • EZ-MES release 4100 or newer
  • Python 3.62 or newer and CGI on EZ-MES server side

 

Configuration

 The pAPIConnector works as follow:

1 - A Step in a Traveller fires an event when entering this step.

2 - This event runs an Action that makes a POST https call to:

       https://<your-EZ-MES-domain>/WebApps/pAPIConnector/papiconnector.py .

3 - The JSON payload in the html body of this call defines the https address of the outbound RestFul API call, the way NVRs are added to this call and in which NVRs to store the result of the RestFul call.

sgsd