Building Vending Machines
GET /buildings/{building_code}/vendingmachines.{format}
This method returns list of vending machines available in a given building
Name
Value
Name
Value
Request Protocol
GET
Requires API Key
Yes
Method ID
1487
Enabled
Yes
Service Name
buildings
Service ID
257
Information Steward
Food Services
Data Type
Direct DB Connection
Update Frequency
Every request (live)
Cache Time
0 seconds
GET /buildings/{building_code}/vendingmachines.{format}
Parameter
Type
Required
Description
building
input
yes
Building code
key
filter
yes
Your API key
callback
filter
no
JSONP callback format
Output Formats
GET /buildings/{building_code}/vendingmachines.{format}
Field Name
Type
Value Description
building_name
string
Name of the Building
building_acronym
string
Building Acronym
vending_machines
list
Machines list
location
string
Relative machine location inside the bulding
machines
number
Total machines in that given location
products
list
List of products/machine type
Any value can be null
{
"meta" :{
"requests" :796909 ,
"timestamp" :1452283330 ,
"status" :200 ,
"message" :" Request successful" ,
"method_id" :1487 ,
"method" :{
}
},
"data" :{
"building_name" :" Mathematics & Computer Building" ,
"building_acronym" :" MC" ,
"vending_machines" :[
{
"location" :" 2nd floor lounge" ,
"machines" :4 ,
"products" :[
" Coca-Cola Products" ,
" Dasani products" ,
" Snacks"
]
},
{
"location" :" 3rd floor lounge" ,
"machines" :6 ,
"products" :[
" Energy\/ Powerade" ,
" Coca-Cola Products" ,
" Dasani products" ,
" Health and Wellness" ,
" Snacks" ,
" Milk to Go and Snacks"
]
}
]
}
}