GET /foodservices/announcements.{format}
This method returns additional announcements regarding food served in the current week
| Name | Value | Name | Value |
| Request Protocol | GET | Requires API Key | Yes |
| Method ID | 1319 | Enabled | Yes |
| Service Name | foodservices | Service ID | 269 |
| Information Steward | Food Services | Data Type | Direct DB Connection |
| Update Frequency | Every request (live) | Cache Time | 0 seconds |
- Usage won't increase if there is not data returned
- We cannot modify the data from this method
- The results are only for this current week (where the week starts on Monday)
- Any value can be
null
GET /foodservices/announcements.{format}
| Parameter | Type | Required | Description |
| key | filter | yes | Your API key |
| callback | filter | no | JSONP callback format |
Output Formats
- json
- xml
GET /foodservices/announcements.{format}
- http://api.uwaterloo.ca/v2/foodservices/announcements.json
- http://api.uwaterloo.ca/v2/foodservices/announcements.xml
- http://api.uwaterloo.ca/v2/foodservices/announcements.json?callback=myResponse
| Field Name | Type | Value Description |
| date | object | Advertisement date object |
| ad_text | string | Advertisement text |
Any value can be null
{
"meta":{
"requests":3854,
"timestamp":1381960043,
"status":200,
"message":"Request successful",
"method_id":1301,
"version":2.07,
"method":{
}
},
"data":[
{
"date":"2012-06-25",
"ad_text":"Join us for Movie Month Madness main feature \"Dinner\" Wednesday, June 27 from 4:30pm to 8pm!"
}
]
}