Menu
FoodbankDocs
AdminGitHub
Foodbank
  • Docs
  • Admin
  • GitHub
  • Introduction
    • Introduction
  • Installation
    • Authentication
    • Back end
    • Database
    • Front end
  • User Interface Walkaround
    • Getting started
    • Reports
    • Stock Taking
    • Warehouse Manager
  • System Overview
    • Getting started
    • Backend Overview
    • Frontend Overview
  • Developer
    • Tray Functions
      • addTray
      • removeTray
      • switchTray
      • editTray
      • moveTray
      • nextExpiring
      • getAllCategory
      • addTrayMany
      • editTrayMany
      • removeTrayMany
    • Bay Functions
      • addBay
      • removeBay
      • editBay
      • getTraysInBay
    • Zone Functions
      • addZone
      • editZone
      • getBaysInZone
      • getZones
      • removeZone
  • Expansion
    • API Expansion
    • Authentication Expansion
    • Backing Up Your Data
    • Database Expansion

getBaysInZone

Gets an array of all the bays in a specified zone

#URL

POST /stockTake/getZone

#Input

{
"zone": "Target zone identifer",
}

#Parameters

ParameterTypeDescription
zonestringThe name of the zone containing the bays we wish to retrieve

#Output

An array of trays is returned if successful

FAIL if unsuccessful

Edit this page
Previous

« editZone

Next

getZones »

  • URL
  • Input
    • Parameters
  • Output
Copyright © 2021 SE Group 12. Built with Docusaurus.