nextExpiring

Get the next n expiring trays in the warehouse

URL

POST /stockTake/nextExpiring

Input

{
"n": "Top n trays to fetch",
"contents", "[Optional] Get trays that match these contents"
}

Parameters

ParameterTypeDescription
nintegerNumber of trays to fetch
contentsstring[Optional] String matching the contents of some tray in the warehouse

Output

Array of JSON Tray Objects if successful

FAIL if unsuccessful