Service Name           Zones List
Service Method        GET
Service URL              /inventories/zones?location=001

Query Parameters
location = <location code> (Required)

Request Header Fields
Content-Type = application/json
Authorization = <token>

Response Data (JSON)
{
"total_entities": <total records>,
"zones": [

{
"id": <zone id>,
"name": "<zone name>"

},
...

]
}

 

Example
GET: http://app.senitron.net/api/v1/inventories/zones?location=001
{
"total_entities": 5,
"zones": [

{
"id": 3,
"name": "Annex Back Stock"

},
{

"id": 1,
"name": "Inside 1st Floor"

},
{

"id": 2,
"name": "Inside 2nd Floor"

},
{

"id": 4,
"name": "Inside Front Doors"

},
{

"id": 5,
"name": "Temp April Booth"

}
]
}