GET v1/Agency/{AgencyId}/Contact/{ContactId}

Retrieve Agency Contacts

Request Information

URI Parameters

NameDescriptionTypeAdditional information
AgencyId

integer

Required

ContactId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Retrieve Agency Contacts

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
}

application/xml, text/xml

Sample:
<AgencyContactDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GCApi.Models">
  <Expand></Expand>
  <Expansions xmlns:d2p1="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>