POST api/Lead

Request Information

URI Parameters

None.

Body Parameters

LeadInfo
NameDescriptionTypeAdditional information
ID

integer

None.

SourceID

integer

None.

PropertyID

integer

None.

Firstname

string

None.

LastName

string

None.

SenderID

string

None.

ProspectFirstname

string

None.

ProspectLastname

string

None.

HomePhone

string

None.

CellPhone

string

None.

Email

string

None.

Notes

string

None.

TourDate

date

None.

Duplicate

boolean

None.

DateCreated

date

None.

UserID

string

None.

StatusName

string

None.

TypeOfService

string

None.

Payor

string

None.

HowLearn

string

None.

ReferralName

string

None.

CurrentLocation

string

None.

TypeOfContact

string

None.

DateFTP

date

None.

MessageState

integer

None.

ParentIDOfCommunities

integer

None.

CampaignID

string

None.

ReferralSource

string

None.

InqAdd1

string

None.

InqAdd2

string

None.

InqCity

string

None.

InqState

string

None.

InqZip

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "SourceID": 2,
  "PropertyID": 3,
  "Firstname": "sample string 4",
  "LastName": "sample string 5",
  "SenderID": "sample string 6",
  "ProspectFirstname": "sample string 7",
  "ProspectLastname": "sample string 8",
  "HomePhone": "sample string 9",
  "CellPhone": "sample string 10",
  "Email": "sample string 11",
  "Notes": "sample string 12",
  "TourDate": "2021-06-15T03:50:13.3294682-05:00",
  "Duplicate": true,
  "DateCreated": "2021-06-15T03:50:13.3294682-05:00",
  "UserID": "sample string 14",
  "StatusName": "sample string 15",
  "TypeOfService": "sample string 16",
  "Payor": "sample string 17",
  "HowLearn": "sample string 18",
  "ReferralName": "sample string 19",
  "CurrentLocation": "sample string 20",
  "TypeOfContact": "sample string 21",
  "DateFTP": "2021-06-15T03:50:13.3294682-05:00",
  "MessageState": 1,
  "ParentIDOfCommunities": 1,
  "CampaignID": "sample string 22",
  "ReferralSource": "sample string 23",
  "InqAdd1": "sample string 24",
  "InqAdd2": "sample string 25",
  "InqCity": "sample string 26",
  "InqState": "sample string 27",
  "InqZip": "sample string 28"
}

application/xml, text/xml

Sample:
<LeadInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Centerpointe.Modules.Models.Corporate">
  <CampaignID>sample string 22</CampaignID>
  <CellPhone>sample string 10</CellPhone>
  <CurrentLocation>sample string 20</CurrentLocation>
  <DateCreated>2021-06-15T03:50:13.3294682-05:00</DateCreated>
  <DateFTP>2021-06-15T03:50:13.3294682-05:00</DateFTP>
  <Duplicate>true</Duplicate>
  <Email>sample string 11</Email>
  <Firstname>sample string 4</Firstname>
  <HomePhone>sample string 9</HomePhone>
  <HowLearn>sample string 18</HowLearn>
  <ID>1</ID>
  <InqAdd1>sample string 24</InqAdd1>
  <InqAdd2>sample string 25</InqAdd2>
  <InqCity>sample string 26</InqCity>
  <InqState>sample string 27</InqState>
  <InqZip>sample string 28</InqZip>
  <LastName>sample string 5</LastName>
  <MessageState>1</MessageState>
  <Notes>sample string 12</Notes>
  <ParentIDOfCommunities>1</ParentIDOfCommunities>
  <Payor>sample string 17</Payor>
  <PropertyID>3</PropertyID>
  <ProspectFirstname>sample string 7</ProspectFirstname>
  <ProspectLastname>sample string 8</ProspectLastname>
  <ReferralName>sample string 19</ReferralName>
  <ReferralSource>sample string 23</ReferralSource>
  <SenderID>sample string 6</SenderID>
  <SourceID>2</SourceID>
  <StatusName>sample string 15</StatusName>
  <TourDate>2021-06-15T03:50:13.3294682-05:00</TourDate>
  <TypeOfContact>sample string 21</TypeOfContact>
  <TypeOfService>sample string 16</TypeOfService>
  <UserID>sample string 14</UserID>
</LeadInfo>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.