editTray

Edits the contents of a tray. The only required fields are the zone, bay and tray name; as well as any fields that are being edited.

URL

POST /stockTake/editTray

Input

{
"zone": "Zone specified",
"bay": "Bay specified",
"tray": "Tray specified",
"contents": "[Optional] What is in the tray",
"weight": "[Optional] How much does it weigh",
"expiry": "[Optional] When does it expire"
}

Parameters

ParameterTypeDescription
zonestringThe zone in which the tray is
baystringThe bay in which the tray is
traystringThe tray to edit
contentsstring[Optional] What is in the tray
weightinteger[Optional] The weight of the contents (give as a number in Kilos)
expirystring[Optional] The expiry date of the food

Output

OK if successful

FAIL if unsuccessful