cli:franke:factory_4_0_peschiera:sap-nis-agv-api

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
cli:franke:factory_4_0_peschiera:sap-nis-agv-api [2022/11/07 12:35]
n.bergantino
cli:franke:factory_4_0_peschiera:sap-nis-agv-api [2022/11/14 17:11] (current)
n.bergantino
Line 18: Line 18:
   * BODY as json text:   * BODY as json text:
 <code javascript> <code javascript>
-{"request":"pustock","p1":{"werks":"xxx","entrypos":"XXXXXXX","rueck":"99999999"}}+{"request":"pustock","p1":{"werks":"xxx","entrypos":"XXXXXXX","rueck":"99999999","qty":"100"}}
 </code> </code>
 In the following there is the description of the json fields  In the following there is the description of the json fields 
Line 26: Line 26:
     * rueck: is the related rueck     * rueck: is the related rueck
     * werks: plant code in SAP     * werks: plant code in SAP
 +    * qty: number of items in the pallet (pallet quantity)
 The Rest server will answer through the following json object: The Rest server will answer through the following json object:
     * {"rv":"1"} if the operation is done with success     * {"rv":"1"} if the operation is done with success
Line 31: Line 32:
 In the following there is an example using the **curl** command on the test server: In the following there is an example using the **curl** command on the test server:
 <code bash> <code bash>
-curl --request POST 'http://10.100.145.19:5599/iaf/tell/rueckmng' --header 'Content-Type: application/json' --data-raw '{"request":"pustock","p1":{"entrypos":"XXXXXXX","rueck":"99999999"}}'+curl --request POST 'http://10.100.145.19:5599/iaf/tell/rueckmng' --header 'Content-Type: application/json' --data-raw '{"request":"pustock","p1":{"werks":"xxx","entrypos":"XXXXXXX","rueck":"99999999"}}'
 </code> </code>
  
  
  • cli/franke/factory_4_0_peschiera/sap-nis-agv-api.1667820946.txt.gz
  • Last modified: 2022/11/07 12:35
  • by n.bergantino