editBay

Edit the attributes of a bay.

URL

POST /stockTake/editBay

Input

{
"bay": "Bay Name",
"zone": "Zone Name",
"xVal": "[Optional] New x Position of bay in zone",
"yVal": "[Optional] New y Position of bay in zone",
"xSize": "[Optional] New x Size of the bay",
"ySize": "[Optional] New y Size of the bay"
}

Parameters

ParameterTypeDescription
baystringName of the bay being amended
zonestringZone identifier of zone the bay is in
xValinteger[Optional] x Position of the bay within the given zone
yValinteger[Optional] y Position of the bay within the given zone
xSizeinteger[Optional] x size of the bay (number of columns for trays)
ySizeinteger[Optional] y size of the bay (number of rows for trays)

Output

OK if successful

FAIL if unsuccessful