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

addZone

Adds a new zone to the warehouse.

#URL

POST /stockTake/addZone

#Input

{
"zone": "Name of the zone to be added",
"height": "Height of the zone",
"width": "Width of the zone"
}

#Parameters

ParameterTypeDescription
zonestringThe zone you want to add
heightintegerThe height you want the zone to be
widthintegerThe width you want the zone to be

#Output

OK if successful

FAIL if unsuccessful

Edit this page
Previous

« getTraysInBay

Next

editZone »

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