GET api/PropertyPin?agentId={agentId}&buyerId={buyerId}&page={page}&pageSize={pageSize}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
agentId

integer

Required

buyerId

integer

Required

page

integer

Default value is 1

pageSize

integer

Default value is 10

Body Parameters

None.

Response Information

Resource Description

Collection of PropertyPinModel
NameDescriptionTypeAdditional information
AdId

integer

None.

AgentId

integer

Required

Range: inclusive between 1 and 2147483647

BuyerId

integer

Required

Range: inclusive between 1 and 2147483647

Id

string

None.

LeadActivityType

LeadActivityType

None.

ListingId

integer

None.

PinType

PinType

Required

TimeStamp

date

None.

Visits

Collection of date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "AdId": 1,
    "AgentId": 1,
    "BuyerId": 2,
    "Id": "sample string 3",
    "LeadActivityType": 2,
    "ListingId": 4,
    "PinType": 1,
    "TimeStamp": "2024-03-29T07:49:05.6709945+00:00",
    "Visits": [
      "2024-03-29T07:49:05.6709945+00:00",
      "2024-03-29T07:49:05.6709945+00:00"
    ]
  },
  {
    "AdId": 1,
    "AgentId": 1,
    "BuyerId": 2,
    "Id": "sample string 3",
    "LeadActivityType": 2,
    "ListingId": 4,
    "PinType": 1,
    "TimeStamp": "2024-03-29T07:49:05.6709945+00:00",
    "Visits": [
      "2024-03-29T07:49:05.6709945+00:00",
      "2024-03-29T07:49:05.6709945+00:00"
    ]
  }
]

text/html

Sample:
[{"AdId":1,"AgentId":1,"BuyerId":2,"Id":"sample string 3","LeadActivityType":2,"ListingId":4,"PinType":1,"TimeStamp":"2024-03-29T07:49:05.6709945+00:00","Visits":["2024-03-29T07:49:05.6709945+00:00","2024-03-29T07:49:05.6709945+00:00"]},{"AdId":1,"AgentId":1,"BuyerId":2,"Id":"sample string 3","LeadActivityType":2,"ListingId":4,"PinType":1,"TimeStamp":"2024-03-29T07:49:05.6709945+00:00","Visits":["2024-03-29T07:49:05.6709945+00:00","2024-03-29T07:49:05.6709945+00:00"]}]

application/xml, text/xml

Sample:
<ArrayOfPropertyPinModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models.Services.Leads">
  <PropertyPinModel>
    <AdId>1</AdId>
    <AgentId>1</AgentId>
    <BuyerId>2</BuyerId>
    <Id>sample string 3</Id>
    <ListingId>4</ListingId>
    <PinType>Automatic</PinType>
    <TimeStamp>2024-03-29T07:49:05.6709945+00:00</TimeStamp>
    <Visits xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:dateTime>2024-03-29T07:49:05.6709945+00:00</d3p1:dateTime>
      <d3p1:dateTime>2024-03-29T07:49:05.6709945+00:00</d3p1:dateTime>
    </Visits>
  </PropertyPinModel>
  <PropertyPinModel>
    <AdId>1</AdId>
    <AgentId>1</AgentId>
    <BuyerId>2</BuyerId>
    <Id>sample string 3</Id>
    <ListingId>4</ListingId>
    <PinType>Automatic</PinType>
    <TimeStamp>2024-03-29T07:49:05.6709945+00:00</TimeStamp>
    <Visits xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:dateTime>2024-03-29T07:49:05.6709945+00:00</d3p1:dateTime>
      <d3p1:dateTime>2024-03-29T07:49:05.6709945+00:00</d3p1:dateTime>
    </Visits>
  </PropertyPinModel>
</ArrayOfPropertyPinModel>