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.

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": [
    "2021-08-03T12:00:43.9557913+00:00",
    "2021-08-03T12:00:43.9557913+00:00"
  ],
  "buyerId": 1,
  "active": true,
  "agentId": 7,
  "cookieId": "d4559a47-bfaf-4cae-a4dd-85619d4e558c",
  "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": "2021-08-03T12:00:43.9557913+00:00"
}

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":["2021-08-03T12:00:43.9557913+00:00","2021-08-03T12:00:43.9557913+00:00"],"buyerId":1,"active":true,"agentId":7,"cookieId":"d4559a47-bfaf-4cae-a4dd-85619d4e558c","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":"2021-08-03T12:00:43.9557913+00:00"}

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>d4559a47-bfaf-4cae-a4dd-85619d4e558c</CookieId>
  <Email>sample string 8</Email>
  <Id>sample string 10</Id>
  <LeadActivityType>IDXPin</LeadActivityType>
  <Name>sample string 11</Name>
  <Phone>sample string 9</Phone>
  <TimeStamp>2021-08-03T12:00:43.9557913+00:00</TimeStamp>
  <AdId>5</AdId>
  <PinType>Automatic</PinType>
  <Visits xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:dateTime>2021-08-03T12:00:43.9557913+00:00</d2p1:dateTime>
    <d2p1:dateTime>2021-08-03T12:00:43.9557913+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.