API Rest Server SAP -> NIS

The goal of this API is to provide information to NIS (Next IMPROVE System) about the work order related to the product units stocked on each of the entry position of a generic machine (in this case laser and bending machines).
Thanks to the communication between SAP and the AGV system, SAP knows exactly the time and the entry position where each product unit is stocked by the AGV (frequency diagram below).
Once SAP receives the message that defines the right completition of the AGV mission (stocking of a specific product unit in a specific entry location of a specific machine) it can send to NIS the related rueck.
SAP will send to NIS the following information:

machine entry position identifier: this is a shared identifier that is unique inside all the machines entry positions

rueck: is the rueck related to the product unit stocket in the specific machine entry position

After that, NIS will download all the required information using the existing web service protocol. The following use case diagram describes the scenario.