GET api/residents/{residentId}/representatives

Get representatives

Request Information

URI Parameters

NameDescriptionTypeAdditional information
residentId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of ResidentRepresentativeViewModel
NameDescriptionTypeAdditional information
Id

integer

None.

FirstName

string

None.

LastName

string

None.

CellPhone

string

None.

HomePhone

string

None.

WorkPhone

string

None.

OtherPhone

string

None.

Email

string

None.

Type

string

None.

Address

AddressBaseViewModel

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "firstName": "sample string 2",
    "lastName": "sample string 3",
    "cellPhone": "sample string 4",
    "homePhone": "sample string 5",
    "workPhone": "sample string 6",
    "otherPhone": "sample string 7",
    "email": "sample string 8",
    "type": "sample string 9",
    "address": {
      "address1": "sample string 1",
      "address2": "sample string 2",
      "city": "sample string 3",
      "state": "sample string 4",
      "zipCode": "sample string 5",
      "country": "sample string 6"
    }
  },
  {
    "id": 1,
    "firstName": "sample string 2",
    "lastName": "sample string 3",
    "cellPhone": "sample string 4",
    "homePhone": "sample string 5",
    "workPhone": "sample string 6",
    "otherPhone": "sample string 7",
    "email": "sample string 8",
    "type": "sample string 9",
    "address": {
      "address1": "sample string 1",
      "address2": "sample string 2",
      "city": "sample string 3",
      "state": "sample string 4",
      "zipCode": "sample string 5",
      "country": "sample string 6"
    }
  }
]

application/xml, text/xml

Sample:
<ArrayOfResidentRepresentativeViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels">
  <ResidentRepresentativeViewModel>
    <Address xmlns:d3p1="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.Address">
      <d3p1:Address1>sample string 1</d3p1:Address1>
      <d3p1:Address2>sample string 2</d3p1:Address2>
      <d3p1:City>sample string 3</d3p1:City>
      <d3p1:Country>sample string 6</d3p1:Country>
      <d3p1:State>sample string 4</d3p1:State>
      <d3p1:ZipCode>sample string 5</d3p1:ZipCode>
    </Address>
    <CellPhone>sample string 4</CellPhone>
    <Email>sample string 8</Email>
    <FirstName>sample string 2</FirstName>
    <HomePhone>sample string 5</HomePhone>
    <Id>1</Id>
    <LastName>sample string 3</LastName>
    <OtherPhone>sample string 7</OtherPhone>
    <Type>sample string 9</Type>
    <WorkPhone>sample string 6</WorkPhone>
  </ResidentRepresentativeViewModel>
  <ResidentRepresentativeViewModel>
    <Address xmlns:d3p1="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.Address">
      <d3p1:Address1>sample string 1</d3p1:Address1>
      <d3p1:Address2>sample string 2</d3p1:Address2>
      <d3p1:City>sample string 3</d3p1:City>
      <d3p1:Country>sample string 6</d3p1:Country>
      <d3p1:State>sample string 4</d3p1:State>
      <d3p1:ZipCode>sample string 5</d3p1:ZipCode>
    </Address>
    <CellPhone>sample string 4</CellPhone>
    <Email>sample string 8</Email>
    <FirstName>sample string 2</FirstName>
    <HomePhone>sample string 5</HomePhone>
    <Id>1</Id>
    <LastName>sample string 3</LastName>
    <OtherPhone>sample string 7</OtherPhone>
    <Type>sample string 9</Type>
    <WorkPhone>sample string 6</WorkPhone>
  </ResidentRepresentativeViewModel>
</ArrayOfResidentRepresentativeViewModel>