Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Latest commit

 

History

History
169 lines (138 loc) · 2.99 KB

year_week_announcements.md

File metadata and controls

169 lines (138 loc) · 2.99 KB

Food Services Menu Announcements Filtered by Week

GET /foodservices/{year}/{week}/announcements.{format}

Description

This method returns additional announcements regarding food served in the week specified

Summary

Name Value Name Value
Request Protocol GET Requires API Key Yes
Method ID 1301 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

Notes

  • Usage won't increase if there is no data returned
  • We cannot modify the data from this method
  • The results are only for the week specified (where the week starts on Monday)
  • Any value can be null

Sources

Parameters

GET /foodservices/{year}/{week}/announcements.{format}
Parameter Type Required Description
key filter yes Your API key
year input yes Number representing year
week input yes Number representing week
callback filter no JSONP callback format

Output Formats

  • json
  • xml

Examples

GET /foodservices/{year}/{week}/announcements.{format}

Response

Field Name Type Value Description
date object Advertisement date object
ad_text string Advertisement text

Any value can be null

Output

JSON

{
  "meta":{
    "requests":7149,
    "timestamp":1401973581,
    "status":200,
    "message":"Request successful",
    "method_id":1301,
    "method":{
      
    }
  },
  "data":[
    {
      "date":"2013-01-07",
      "ad_text":"Try our newest dining concept on campus...The Chili Pepper - Tex Mex Cuisine."
    }
  ]
}