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

Latest commit

 

History

History
158 lines (127 loc) · 2.71 KB

announcements.md

File metadata and controls

158 lines (127 loc) · 2.71 KB

Food Services Menu Announcements

GET /foodservices/announcements.{format}

Description

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

Summary

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

Notes

  • 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

Sources

Parameters

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

Output Formats

  • json
  • xml

Examples

GET /foodservices/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":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!"
    }
  ]
}