GET Service/Alert?ZipCode={ZipCode}
Retrieve alerts that may impact service in the specified zip code, such as weather
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
ZipCode |
Zip code |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
AlertName | Description | Type | Additional information |
---|---|---|---|
Date |
Date of the service alert |
date |
None. |
Terminal |
Terminal servicing the specified zip code |
string |
None. |
Route |
Route for which the service alert affects |
string |
None. |
Status |
Status of pickups and deliveries on this route |
string |
None. |
Delay |
Approximate delay time |
string |
None. |
Reason |
Reason for the delay |
string |
None. |
Comment |
Dispatcher comment |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Date": "2024-10-13T06:03:03.0599766-05:00", "Terminal": "sample string 2", "Route": "sample string 3", "Status": "sample string 4", "Delay": "sample string 5", "Reason": "sample string 6", "Comment": "sample string 7" }
application/xml, text/xml
Sample:
<Alert xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <Date>2024-10-13T06:03:03.0599766-05:00</Date> <Terminal>sample string 2</Terminal> <Route>sample string 3</Route> <Status>sample string 4</Status> <Delay>sample string 5</Delay> <Comment>sample string 7</Comment> <Reason>sample string 6</Reason> </Alert>