POST api/lead/idxpin

Request Information

URI Parameters

None.

Body Parameters

IDXPin
NameDescriptionTypeAdditional information
listingId

string

None.

homeAsapId

string

None.

mlsId

string

None.

counter

integer

None.

leadActivityType

LeadActivityType

None.

productType

ProductType

None.

adId

integer

None.

pinType

PinType

None.

visits

Collection of date

None.

buyerId

integer

None.

active

boolean

None.

agentId

integer

None.

cookieId

globally unique identifier

None.

email

string

None.

Email_Sort

string

None.

phone

string

None.

id

string

None.

leadActivityTypeDescription

string

None.

LeadActivityTypeDescription_Sort

string

None.

name

string

None.

Name_Sort

string

None.

productTypeDescription

string

None.

ProductTypeDescription_Sort

string

None.

timestamp

date

None.

platform

string

None.

partner

string

None.

Request Formats

application/json, text/json

Sample:
{
  "listingId": "sample string 1",
  "homeAsapId": "sample string 2",
  "mlsId": "sample string 3",
  "counter": 4,
  "leadActivityType": 3,
  "productType": 2,
  "adId": 5,
  "pinType": 1,
  "visits": [
    "2024-12-21T15:46:33.6148454+00:00",
    "2024-12-21T15:46:33.6148454+00:00"
  ],
  "buyerId": 1,
  "active": true,
  "agentId": 7,
  "cookieId": "87052413-cac7-4014-a812-56582dd355ed",
  "email": "sample string 8",
  "Email_Sort": "sample string 8",
  "phone": "sample string 9",
  "id": "sample string 10",
  "leadActivityTypeDescription": "IDX Pin",
  "LeadActivityTypeDescription_Sort": "idx pin",
  "name": "sample string 11",
  "Name_Sort": "sample string 11",
  "productTypeDescription": "Advantage",
  "ProductTypeDescription_Sort": "advantage",
  "timestamp": "2024-12-21T15:46:33.6148454+00:00",
  "platform": "sample string 13",
  "partner": "sample string 14"
}

text/html

Sample:
{"listingId":"sample string 1","homeAsapId":"sample string 2","mlsId":"sample string 3","counter":4,"leadActivityType":3,"productType":2,"adId":5,"pinType":1,"visits":["2024-12-21T15:46:33.6148454+00:00","2024-12-21T15:46:33.6148454+00:00"],"buyerId":1,"active":true,"agentId":7,"cookieId":"87052413-cac7-4014-a812-56582dd355ed","email":"sample string 8","Email_Sort":"sample string 8","phone":"sample string 9","id":"sample string 10","leadActivityTypeDescription":"IDX Pin","LeadActivityTypeDescription_Sort":"idx pin","name":"sample string 11","Name_Sort":"sample string 11","productTypeDescription":"Advantage","ProductTypeDescription_Sort":"advantage","timestamp":"2024-12-21T15:46:33.6148454+00:00","platform":"sample string 13","partner":"sample string 14"}

application/xml, text/xml

Sample:
<IDXPin xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models">
  <Active>true</Active>
  <AgentId>7</AgentId>
  <BuyerId>1</BuyerId>
  <CookieId>87052413-cac7-4014-a812-56582dd355ed</CookieId>
  <Email>sample string 8</Email>
  <Id>sample string 10</Id>
  <LeadActivityType>IDXPin</LeadActivityType>
  <Name>sample string 11</Name>
  <Partner>sample string 14</Partner>
  <Phone>sample string 9</Phone>
  <Platform>sample string 13</Platform>
  <TimeStamp>2024-12-21T15:46:33.6148454+00:00</TimeStamp>
  <AdId>5</AdId>
  <PinType>Automatic</PinType>
  <Visits xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:dateTime>2024-12-21T15:46:33.6148454+00:00</d2p1:dateTime>
    <d2p1:dateTime>2024-12-21T15:46:33.6148454+00:00</d2p1:dateTime>
  </Visits>
  <Counter>4</Counter>
  <HomeAsapId>sample string 2</HomeAsapId>
  <ListingId>sample string 1</ListingId>
  <MlsId>sample string 3</MlsId>
</IDXPin>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'IDXPin'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.