GET v1/Agency/{AgencyId}/Contact

List Agency Contacts

Request Information

URI Parameters

NameDescriptionTypeAdditional information
AgencyId

integer

Required

Body Parameters

None.

Response Information

Resource Description

List Agency Contacts

Collection of AgencyContactDTO
NameDescriptionTypeAdditional information
ContactType

AgentSystemEntityTypeEnum

Required

FirstName

string

String length: inclusive between 0 and 30

LastName

string

String length: inclusive between 0 and 30

CommercialName

string

String length: inclusive between 0 and 200

PhoneNumber

string

None.

CellPhoneNumber

string

None.

PhoneExtension

string

String length: inclusive between 0 and 4

EmailAddress

string

None.

Id

Primary Id

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ContactType": "Unknown",
    "FirstName": "sample string 1",
    "LastName": "sample string 2",
    "CommercialName": "sample string 3",
    "PhoneNumber": "sample string 4",
    "CellPhoneNumber": "sample string 5",
    "PhoneExtension": "sample string 6",
    "EmailAddress": "sample string 7",
    "Id": 8
  },
  {
    "ContactType": "Unknown",
    "FirstName": "sample string 1",
    "LastName": "sample string 2",
    "CommercialName": "sample string 3",
    "PhoneNumber": "sample string 4",
    "CellPhoneNumber": "sample string 5",
    "PhoneExtension": "sample string 6",
    "EmailAddress": "sample string 7",
    "Id": 8
  }
]

application/xml, text/xml

Sample:
<ArrayOfAgencyContactDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GCApi.Models">
  <AgencyContactDTO>
    <Expand></Expand>
    <Expansions xmlns:d3p1="http://schemas.datacontract.org/2004/07/GCApi.Enums" />
    <Id>8</Id>
    <CellPhoneNumber>sample string 5</CellPhoneNumber>
    <CommercialName>sample string 3</CommercialName>
    <ContactType>Unknown</ContactType>
    <EmailAddress>sample string 7</EmailAddress>
    <FirstName>sample string 1</FirstName>
    <LastName>sample string 2</LastName>
    <PhoneExtension>sample string 6</PhoneExtension>
    <PhoneNumber>sample string 4</PhoneNumber>
  </AgencyContactDTO>
  <AgencyContactDTO>
    <Expand></Expand>
    <Expansions xmlns:d3p1="http://schemas.datacontract.org/2004/07/GCApi.Enums" />
    <Id>8</Id>
    <CellPhoneNumber>sample string 5</CellPhoneNumber>
    <CommercialName>sample string 3</CommercialName>
    <ContactType>Unknown</ContactType>
    <EmailAddress>sample string 7</EmailAddress>
    <FirstName>sample string 1</FirstName>
    <LastName>sample string 2</LastName>
    <PhoneExtension>sample string 6</PhoneExtension>
    <PhoneNumber>sample string 4</PhoneNumber>
  </AgencyContactDTO>
</ArrayOfAgencyContactDTO>