Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
cli:franke:factory_4_0_peschiera:sap-nis-agv-api [2022/10/10 15:48] n.bergantino created |
cli:franke:factory_4_0_peschiera:sap-nis-agv-api [2022/11/14 17:11] (current) n.bergantino |
||
|---|---|---|---|
| Line 2: | Line 2: | ||
| 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). \\ \\ | 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). \\ \\ | 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, referred to the stocking of a specific product unit in a specific entry location of a specific machine, it can send to NIS the related rueck. | + | Once SAP receives the message that defines the right completition of the AGV mission |
| + | {{ : | ||
| + | SAP will send to NIS the following information: | ||
| + | - **machine entry position identifier**: | ||
| + | - **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. \\ \\ | ||
| + | {{ : | ||
| + | NIS will provide a REST server API with the following properties: | ||
| + | * IP:PORT => 255.255.255.255: | ||
| + | * Protocol HTTP with method POST | ||
| + | <code javascript> | ||
| + | http:// | ||
| + | (http:// | ||
| + | </ | ||
| + | * BODY as json text: | ||
| + | <code javascript> | ||
| + | {" | ||
| + | </ | ||
| + | In the following there is the description of the json fields | ||
| + | * request: is a static string value containing " | ||
| + | * p1: is the data object, where | ||
| + | * entrypos: is the unique identifier of the machine entry position | ||
| + | * rueck: is the related rueck | ||
| + | * werks: plant code in SAP | ||
| + | * qty: number of items in the pallet (pallet quantity) | ||
| + | The Rest server will answer through the following json object: | ||
| + | * {" | ||
| + | * {" | ||
| + | In the following there is an example using the **curl** command on the test server: | ||
| + | <code bash> | ||
| + | curl --request POST ' | ||
| + | </ | ||