Back
GET api/V1/ServiceUpdate/ServiceGuarantee/{TripNumber}/{OperationalDay}
Displays The trip number for the day given.
Request Information
URI Parameters
| Name | Description | Type | Additional Information |
|---|---|---|---|
| TripNumber |
Trip number for the trip of interest |
string |
Default value is |
| OperationalDay |
Date of interest (yyyymmdd) |
string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
Stops indicating where the service guarantee applied for that day and trip number.
Response Formats
application/json, text/json
Sample:
{
"Metadata": {
"TimeStamp": "sample string 1",
"ErrorCode": "sample string 2",
"ErrorMessage": "sample string 3"
},
"Stops": {
"Stop": [
{
"Code": "sample string 1",
"Scope": "sample string 2",
"ReasonEn": "sample string 3",
"ReasonFr": "sample string 4"
},
{
"Code": "sample string 1",
"Scope": "sample string 2",
"ReasonEn": "sample string 3",
"ReasonFr": "sample string 4"
}
]
}
}
text/xml
Sample:
<Result>
<Metadata TimeStamp="sample string 1" ErrorCode="sample string 2" ErrorMessage="sample string 3" />
<Stops>
<Stop Code="sample string 1" Scope="sample string 2" ReasonEn="sample string 3" ReasonFr="sample string 4" />
<Stop Code="sample string 1" Scope="sample string 2" ReasonEn="sample string 3" ReasonFr="sample string 4" />
</Stops>
</Result>