Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
cli:franke:factory_4_0_peschiera:sap-nis-agv-api [2022/10/10 16:29] n.bergantino |
cli:franke:factory_4_0_peschiera:sap-nis-agv-api [2022/11/14 17:11] (current) n.bergantino |
||
|---|---|---|---|
| Line 11: | Line 11: | ||
| NIS will provide a REST server API with the following properties: | NIS will provide a REST server API with the following properties: | ||
| * IP:PORT => 255.255.255.255: | * IP:PORT => 255.255.255.255: | ||
| - | * Protocol HTTP | + | * Protocol HTTP with method POST |
| - | * Method POST: http:// | + | <code javascript> |
| - | * BODY as json text:// {" | + | http:// |
| - | * request: is a static string value containing " | + | (http:// |
| - | * p1: is the data object, where | + | </ |
| - | * entrypos: is the unique identifier of the machine entry position | + | * BODY as json text: |
| - | * rueck: is the related rueck | + | <code javascript> |
| - | * The answer | + | {" |
| + | </code> | ||
| + | In the following there is the description of the json fields | ||
| + | | ||
| + | * 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 | ||
| * {" | * {" | ||
| * {" | * {" | ||
| - | In the following an example using the **curl** command: | + | In the following |
| <code bash> | <code bash> | ||
| - | curl --request POST ' | + | curl --request POST ' |
| </ | </ | ||