Back

GET api/V1/ServiceUpdate/ServiceAlert/All

Displays Service alert messages by date.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

The current service alert messages

Response Formats

application/json, text/json

Sample:
{
  "Metadata": {
    "TimeStamp": "sample string 1",
    "ErrorCode": "sample string 2",
    "ErrorMessage": "sample string 3"
  },
  "Messages": {
    "Message": [
      {
        "Code": "sample string 1",
        "ParentCode": "sample string 2",
        "Status": "sample string 3",
        "PostedDateTime": "2020-10-24 07:26:13",
        "SubjectEnglish": "sample string 5",
        "SubjectFrench": "sample string 6",
        "BodyEnglish": "sample string 7",
        "BodyFrench": "sample string 8",
        "Category": "sample string 9",
        "SubCategory": "sample string 10",
        "Lines": [
          {
            "Code": "sample string 1"
          },
          {
            "Code": "sample string 1"
          }
        ],
        "Stops": [
          {
            "Name": "sample string 1",
            "Code": "sample string 2"
          },
          {
            "Name": "sample string 1",
            "Code": "sample string 2"
          }
        ],
        "Trips": [
          {
            "TripNumber": "sample string 1"
          },
          {
            "TripNumber": "sample string 1"
          }
        ]
      },
      {
        "Code": "sample string 1",
        "ParentCode": "sample string 2",
        "Status": "sample string 3",
        "PostedDateTime": "2020-10-24 07:26:13",
        "SubjectEnglish": "sample string 5",
        "SubjectFrench": "sample string 6",
        "BodyEnglish": "sample string 7",
        "BodyFrench": "sample string 8",
        "Category": "sample string 9",
        "SubCategory": "sample string 10",
        "Lines": [
          {
            "Code": "sample string 1"
          },
          {
            "Code": "sample string 1"
          }
        ],
        "Stops": [
          {
            "Name": "sample string 1",
            "Code": "sample string 2"
          },
          {
            "Name": "sample string 1",
            "Code": "sample string 2"
          }
        ],
        "Trips": [
          {
            "TripNumber": "sample string 1"
          },
          {
            "TripNumber": "sample string 1"
          }
        ]
      }
    ]
  }
}

text/xml

Sample:
<Result>
  <Metadata TimeStamp="sample string 1" ErrorCode="sample string 2" ErrorMessage="sample string 3" />
  <Messages>
    <Message Code="sample string 1" ParentCode="sample string 2" Status="sample string 3" PostedDateTime="2020-10-24 07:26:13" SubjectEnglish="sample string 5" SubjectFrench="sample string 6" BodyEnglish="sample string 7" BodyFrench="sample string 8" Category="sample string 9" SubCategory="sample string 10">
      <Lines>
        <Line Code="sample string 1" />
        <Line Code="sample string 1" />
      </Lines>
      <Stops>
        <Stop Name="sample string 1" Code="sample string 2" />
        <Stop Name="sample string 1" Code="sample string 2" />
      </Stops>
      <Trips>
        <Trip TripNumber="sample string 1" />
        <Trip TripNumber="sample string 1" />
      </Trips>
    </Message>
    <Message Code="sample string 1" ParentCode="sample string 2" Status="sample string 3" PostedDateTime="2020-10-24 07:26:13" SubjectEnglish="sample string 5" SubjectFrench="sample string 6" BodyEnglish="sample string 7" BodyFrench="sample string 8" Category="sample string 9" SubCategory="sample string 10">
      <Lines>
        <Line Code="sample string 1" />
        <Line Code="sample string 1" />
      </Lines>
      <Stops>
        <Stop Name="sample string 1" Code="sample string 2" />
        <Stop Name="sample string 1" Code="sample string 2" />
      </Stops>
      <Trips>
        <Trip TripNumber="sample string 1" />
        <Trip TripNumber="sample string 1" />
      </Trips>
    </Message>
  </Messages>
</Result>