GET api/AnnunciatorImages?agency={agency}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
agency

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of AnnunciatorImages
NameDescriptionTypeAdditional information
ID

integer

None.

FileURL

string

None.

StartTime

date

None.

EndTime

date

None.

Agency

Agency

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "FileURL": "sample string 2",
    "StartTime": "2024-07-23T04:05:10.4208954-04:00",
    "EndTime": "2024-07-23T04:05:10.4218951-04:00",
    "Agency": {
      "ID": 1,
      "AgencyName": "sample string 2",
      "AgencyUrl": "sample string 3",
      "AgencyPhone": "sample string 4",
      "CanDisplayOnBus": true,
      "CanDisplayOnWeb": true,
      "CanDisplayOnApp": true,
      "CanPushToUsers": true,
      "CanDisplayOnGTFSRT": true
    }
  },
  {
    "ID": 1,
    "FileURL": "sample string 2",
    "StartTime": "2024-07-23T04:05:10.4208954-04:00",
    "EndTime": "2024-07-23T04:05:10.4218951-04:00",
    "Agency": {
      "ID": 1,
      "AgencyName": "sample string 2",
      "AgencyUrl": "sample string 3",
      "AgencyPhone": "sample string 4",
      "CanDisplayOnBus": true,
      "CanDisplayOnWeb": true,
      "CanDisplayOnApp": true,
      "CanPushToUsers": true,
      "CanDisplayOnGTFSRT": true
    }
  }
]

application/xml, text/xml

Sample:
<ArrayOfAnnunciatorImages xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BATGTFSRTParser.Models">
  <AnnunciatorImages>
    <Agency>
      <AgencyName>sample string 2</AgencyName>
      <AgencyPhone>sample string 4</AgencyPhone>
      <AgencyUrl>sample string 3</AgencyUrl>
      <CanDisplayOnApp>true</CanDisplayOnApp>
      <CanDisplayOnBus>true</CanDisplayOnBus>
      <CanDisplayOnGTFSRT>true</CanDisplayOnGTFSRT>
      <CanDisplayOnWeb>true</CanDisplayOnWeb>
      <CanPushToUsers>true</CanPushToUsers>
      <ID>1</ID>
    </Agency>
    <EndTime>2024-07-23T04:05:10.4218951-04:00</EndTime>
    <FileURL>sample string 2</FileURL>
    <ID>1</ID>
    <StartTime>2024-07-23T04:05:10.4208954-04:00</StartTime>
  </AnnunciatorImages>
  <AnnunciatorImages>
    <Agency>
      <AgencyName>sample string 2</AgencyName>
      <AgencyPhone>sample string 4</AgencyPhone>
      <AgencyUrl>sample string 3</AgencyUrl>
      <CanDisplayOnApp>true</CanDisplayOnApp>
      <CanDisplayOnBus>true</CanDisplayOnBus>
      <CanDisplayOnGTFSRT>true</CanDisplayOnGTFSRT>
      <CanDisplayOnWeb>true</CanDisplayOnWeb>
      <CanPushToUsers>true</CanPushToUsers>
      <ID>1</ID>
    </Agency>
    <EndTime>2024-07-23T04:05:10.4218951-04:00</EndTime>
    <FileURL>sample string 2</FileURL>
    <ID>1</ID>
    <StartTime>2024-07-23T04:05:10.4208954-04:00</StartTime>
  </AnnunciatorImages>
</ArrayOfAnnunciatorImages>