switchTray
Switches the location of two trays.
URL
POST /stockTake/switchTray
Input
{"first": {"zone": "Zone ID","bay": "Bay ID","tray": "Tray ID"},"second": {"zone": "Zone ID","bay": "Bay ID","tray": "Tray ID"}}
Parameters
Parameter | Type | Description |
---|---|---|
first | JSON Object | The position of the first tray to swap |
second | JSON Object | The position of the second tray to swap |
Output
OK
if successful
FAIL
if unsuccessful