About the ERP Import Service
The ERP Import service is a RESTful microservice that exposes an API consisting of the following methods: POST and GET.
- When the ERP Scheduler service sends a request for a new or
in-process record, the ERP Import service performs one of
the following steps:
- For a new record, it retrieves the corresponding
file from the integration database using the POST
method to communicate with the other Plant
Applications microservices. This method is
asynchronous; as a result, the HTTP response codes
and response messages are stored in a table for
subsequent retrieval. Note: If the record is available in an XML or B2MML format, the ERP Import service sends the data to the ERP Transformation service, where it is converted to a JSON format.
- For an in-process record, it retrieves the ID of the record from the integration database using the GET method.
- For a new record, it retrieves the corresponding
file from the integration database using the POST
method to communicate with the other Plant
Applications microservices. This method is
asynchronous; as a result, the HTTP response codes
and response messages are stored in a table for
subsequent retrieval.
- The ERP Import service updates the status of the import. The ERP Scheduler service then updates the ERP Integration database with this information.