Skip to content

Latest commit

 

History

History
206 lines (175 loc) · 3.58 KB

year_week_notes.md

File metadata and controls

206 lines (175 loc) · 3.58 KB

Food Services Menu Notes

GET /foodservices/notes.{format}

Description

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

Summary

Name Value Name Value
Request Protocol GET Requires API Key Yes
Method ID 1297 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/notes.{format}
Parameter Type Required Description
key filter yes Your API key
callback filter no JSONP callback format

Output Formats

  • json
  • xml

Examples

GET /foodservices/notes.{format}

Response

Field Name Type Value Description
date object Menu date object
outlet_name string Outlet name as per /foodservices/outlets
outlet_id integer Outlet ID as per /foodservices/outlets
note object Note

Any value can be null

Output

JSON

{
  "meta":{
    "requests":138,
    "timestamp":1381961643,
    "status":200,
    "message":"Request successful",
    "method_id":2,
    "version":2.07,
    "method":{
      
    }
  },
  "data":[
    {
      "date":"2013-10-14",
      "outlet_name":"REVelation",
      "outlet_id":7,
      "note":"Closed \"Happy Thanksgiving\""
    },
    {
      "date":"2013-10-15",
      "outlet_name":"Festival Fare",
      "outlet_id":6,
      "note":"Daily Fish"
    },
    {
      "date":"2013-10-16",
      "outlet_name":"Mudie's",
      "outlet_id":5,
      "note":"\"Oktoberfest Dinner\""
    },
    {
      "date":"2013-10-16",
      "outlet_name":"Festival Fare",
      "outlet_id":6,
      "note":"Daily Fish"
    },
    {
      "date":"2013-10-17",
      "outlet_name":"Mudie's",
      "outlet_id":5,
      "note":"\"Don's Do Dinner\""
    },
    {
      "date":"2013-10-17",
      "outlet_name":"REVelation",
      "outlet_id":7,
      "note":"\"Don's Do Dinner\""
    },
    {
      "date":"2013-10-18",
      "outlet_name":"Festival Fare",
      "outlet_id":6,
      "note":"Daily Fish"
    }
  ]
}