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

Latest commit

 

History

History
237 lines (206 loc) · 3.94 KB

watcard.md

File metadata and controls

237 lines (206 loc) · 3.94 KB

List of all WatCard locations

GET /foodservices/watcard.{format}

Description

This method returns a list of all WatCard locations according to Food Services

Summary

Name Value Name Value
Request Protocol GET Requires API Key Yes
Method ID 1289 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
  • Any value can be null

Sources

Parameters

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

Output Formats

  • json
  • xml

Examples

GET /foodservices/watcard.{format}

Response

Field Name Type Value Description
vendor_id integer Outlet ID number
vendor_name string Vendor name

Any value can be null

Output

JSON

{
  "meta":{
    "requests":142,
    "timestamp":1381962116,
    "status":200,
    "message":"Request successful",
    "method_id":2,
    "version":2.07,
    "method":{
      
    }
  },
  "data":[
    {
      "vendor_id":20,
      "vendor_name":"Apple II Hairstylists"
    },
    {
      "vendor_id":21,
      "vendor_name":"Bombshelter for meals"
    },
    {
      "vendor_id":13,
      "vendor_name":"Campus Pizza"
    },
    {
      "vendor_id":17,
      "vendor_name":"Curry in a Hurry"
    },
    {
      "vendor_id":29,
      "vendor_name":"Domino's Pizza"
    },
    {
      "vendor_id":12,
      "vendor_name":"East Side Mario's"
    },
    {
      "vendor_id":11,
      "vendor_name":"Farah Foods"
    },
    {
      "vendor_id":32,
      "vendor_name":"Kabob Hut"
    },
    {
      "vendor_id":27,
      "vendor_name":"McGinnis Front Row"
    },
    {
      "vendor_id":23,
      "vendor_name":"Meetpoint Restaurant"
    },
    {
      "vendor_id":33,
      "vendor_name":"Mr. Panino Beijing House"
    },
    {
      "vendor_id":16,
      "vendor_name":"Pita Pit"
    },
    {
      "vendor_id":14,
      "vendor_name":"Pizza Pizza"
    },
    {
      "vendor_id":24,
      "vendor_name":"Sobey's - Columbia Street"
    },
    {
      "vendor_id":19,
      "vendor_name":"Student Health Pharmacy"
    },
    {
      "vendor_id":10,
      "vendor_name":"Swiss Chalet"
    },
    {
      "vendor_id":25,
      "vendor_name":"The Grill"
    },
    {
      "vendor_id":30,
      "vendor_name":"University Club"
    },
    {
      "vendor_id":18,
      "vendor_name":"Waterloo Taxi"
    },
    {
      "vendor_id":15,
      "vendor_name":"William's Coffee"
    },
    {
      "vendor_id":31,
      "vendor_name":"Wings Up Delivery"
    }
  ]
}