Back

GET api/V1/ServiceUpdate/Exceptions/Train

Returns the schedule exceptions - cancelled trips/stops etc.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Response Formats

application/json, text/json

Sample:
{
  "Metadata": {
    "TimeStamp": "sample string 1",
    "ErrorCode": "sample string 2",
    "ErrorMessage": "sample string 3"
  },
  "Trip": [
    {
      "TripNumber": "sample string 1",
      "TripName": "sample string 2",
      "IsCancelled": "sample string 3",
      "IsOverride": "sample string 4",
      "Stop": [
        {
          "Order": 1,
          "ID": "sample string 2",
          "SchArrival": "sample string 3",
          "SchDeparture": "sample string 4",
          "Name": "sample string 5",
          "IsStopping": "sample string 6",
          "IsCancelled": "sample string 7",
          "IsOverride": "sample string 8",
          "Code": "sample string 9",
          "ActualTime": "sample string 10",
          "ServiceType": "sample string 11"
        },
        {
          "Order": 1,
          "ID": "sample string 2",
          "SchArrival": "sample string 3",
          "SchDeparture": "sample string 4",
          "Name": "sample string 5",
          "IsStopping": "sample string 6",
          "IsCancelled": "sample string 7",
          "IsOverride": "sample string 8",
          "Code": "sample string 9",
          "ActualTime": "sample string 10",
          "ServiceType": "sample string 11"
        }
      ]
    },
    {
      "TripNumber": "sample string 1",
      "TripName": "sample string 2",
      "IsCancelled": "sample string 3",
      "IsOverride": "sample string 4",
      "Stop": [
        {
          "Order": 1,
          "ID": "sample string 2",
          "SchArrival": "sample string 3",
          "SchDeparture": "sample string 4",
          "Name": "sample string 5",
          "IsStopping": "sample string 6",
          "IsCancelled": "sample string 7",
          "IsOverride": "sample string 8",
          "Code": "sample string 9",
          "ActualTime": "sample string 10",
          "ServiceType": "sample string 11"
        },
        {
          "Order": 1,
          "ID": "sample string 2",
          "SchArrival": "sample string 3",
          "SchDeparture": "sample string 4",
          "Name": "sample string 5",
          "IsStopping": "sample string 6",
          "IsCancelled": "sample string 7",
          "IsOverride": "sample string 8",
          "Code": "sample string 9",
          "ActualTime": "sample string 10",
          "ServiceType": "sample string 11"
        }
      ]
    }
  ]
}

text/xml

Sample:
<Result>
  <Metadata TimeStamp="sample string 1" ErrorCode="sample string 2" ErrorMessage="sample string 3" />
  <Trip TripNumber="sample string 1" TripName="sample string 2" IsCancelled="sample string 3" IsOverride="sample string 4">
    <Stop Order="1" ID="sample string 2" SchArrival="sample string 3" SchDeparture="sample string 4" Name="sample string 5" IsStopping="sample string 6" IsCancelled="sample string 7" IsOverride="sample string 8" Code="sample string 9" ActualTime="sample string 10" ServiceType="sample string 11" />
    <Stop Order="1" ID="sample string 2" SchArrival="sample string 3" SchDeparture="sample string 4" Name="sample string 5" IsStopping="sample string 6" IsCancelled="sample string 7" IsOverride="sample string 8" Code="sample string 9" ActualTime="sample string 10" ServiceType="sample string 11" />
  </Trip>
  <Trip TripNumber="sample string 1" TripName="sample string 2" IsCancelled="sample string 3" IsOverride="sample string 4">
    <Stop Order="1" ID="sample string 2" SchArrival="sample string 3" SchDeparture="sample string 4" Name="sample string 5" IsStopping="sample string 6" IsCancelled="sample string 7" IsOverride="sample string 8" Code="sample string 9" ActualTime="sample string 10" ServiceType="sample string 11" />
    <Stop Order="1" ID="sample string 2" SchArrival="sample string 3" SchDeparture="sample string 4" Name="sample string 5" IsStopping="sample string 6" IsCancelled="sample string 7" IsOverride="sample string 8" Code="sample string 9" ActualTime="sample string 10" ServiceType="sample string 11" />
  </Trip>
</Result>