GET api/Agencies

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Agency
NameDescriptionTypeAdditional information
AgencyID

integer

None.

AgencyName

string

None.

ContactName

string

None.

Address

string

None.

City

string

None.

State

string

None.

ZipCode

string

None.

Phone

string

None.

Email

string

None.

Website

string

None.

Comment

string

None.

Active

boolean

None.

Selected

boolean

None.

CreatedDate

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "AgencyID": 1,
    "AgencyName": "sample string 2",
    "ContactName": "sample string 3",
    "Address": "sample string 4",
    "City": "sample string 5",
    "State": "sample string 6",
    "ZipCode": "sample string 7",
    "Phone": "sample string 8",
    "Email": "sample string 9",
    "Website": "sample string 10",
    "Comment": "sample string 11",
    "Active": true,
    "Selected": true,
    "CreatedDate": "2019-06-19T13:49:16.451874-07:00"
  },
  {
    "AgencyID": 1,
    "AgencyName": "sample string 2",
    "ContactName": "sample string 3",
    "Address": "sample string 4",
    "City": "sample string 5",
    "State": "sample string 6",
    "ZipCode": "sample string 7",
    "Phone": "sample string 8",
    "Email": "sample string 9",
    "Website": "sample string 10",
    "Comment": "sample string 11",
    "Active": true,
    "Selected": true,
    "CreatedDate": "2019-06-19T13:49:16.451874-07:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfAgency xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Web_API.Entities">
  <Agency>
    <Active>true</Active>
    <Address>sample string 4</Address>
    <AgencyID>1</AgencyID>
    <AgencyName>sample string 2</AgencyName>
    <City>sample string 5</City>
    <Comment>sample string 11</Comment>
    <ContactName>sample string 3</ContactName>
    <CreatedDate>2019-06-19T13:49:16.451874-07:00</CreatedDate>
    <Email>sample string 9</Email>
    <Phone>sample string 8</Phone>
    <Selected>true</Selected>
    <State>sample string 6</State>
    <Website>sample string 10</Website>
    <ZipCode>sample string 7</ZipCode>
  </Agency>
  <Agency>
    <Active>true</Active>
    <Address>sample string 4</Address>
    <AgencyID>1</AgencyID>
    <AgencyName>sample string 2</AgencyName>
    <City>sample string 5</City>
    <Comment>sample string 11</Comment>
    <ContactName>sample string 3</ContactName>
    <CreatedDate>2019-06-19T13:49:16.451874-07:00</CreatedDate>
    <Email>sample string 9</Email>
    <Phone>sample string 8</Phone>
    <Selected>true</Selected>
    <State>sample string 6</State>
    <Website>sample string 10</Website>
    <ZipCode>sample string 7</ZipCode>
  </Agency>
</ArrayOfAgency>