edwaittimes/location
Returns information regarding a location or locations. Can be specified by location or display all locations.
API Version:
1.0
URL:
http://api.midhosp.org/edwaittimes/v1-0/location.format
Format(s):
XML, JSON
HTTP Method(s):
GET
Authentication:
None
Parameters:
None
Example Call:
http://api.midhosp.org/edwaittimes/v1-0/all.xml
Valid uses:
all.xml all.json
middlesex.xml middlesex.json
marlborough.xml marlborough.json
shoreline.xml shoreline.json
Example Response (middlesex.xml):
<?xml version="1.0" encoding="UTF-8"?>
<result>
<status>200</status>
<statusMessage>OK</statusMessage>
<errorResponse></errorResponse>
<dateTimeLastUpdated format="ISO 8601">2009-09-03T14:27:54-05:00</dateTimeLastUpdated>
<response>
<location id="A129AA52-AC4E-37A0-4DF2EDADBF7E6E31">
<title>Middlesex ED</title>
<waitTime format="hh:mm">01:37</waitTime>
</location>
</response>
</result>
Error Codes:
Error Code
|
Issue
|
Possible Cause
|
|
999 |
No Records
Returned |
No
records were returned from the database |