addBay

Adds a new bay to the warehouse

URL

POST /stockTake/addBay

Input

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

Parameters

ParameterTypeDescription
baystringBay identifier string
zonestringZone identifier of zone the bay is in
xValintegerx Position of the bay within the given zone
yValintegery Position of the bay within the given zone
xSizeintegerx size of the bay (number of columns for trays)
ySizeintegery size of the bay (number of rows for trays)

Output

OK if successful

FAIL if unsuccessful