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

ParameterTypeDescription
firstJSON ObjectThe position of the first tray to swap
secondJSON ObjectThe position of the second tray to swap

Output

OK if successful

FAIL if unsuccessful