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

removeBay

Removes a bay (and all trays within) from the warehouse.

#URL

POST /stockTake/removeBay

#Input

{
"zone": "Zone that the bay is in",
"bay": "The bay to remove"
}

#Parameters

ParameterTypeDescription
zonestringZone identifier of the zone the bay is in
baystringBay identifier of the bay to remove

#Output

OK if successful

FAIL if unsuccessful

Edit this page
Previous

« addBay

Next

editBay »

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