POST api/LeadDetails

Request Information

URI Parameters

None.

Body Parameters

LeadDetails
NameDescriptionTypeAdditional information
AB_CUSTID

integer

Required

AB_PWORD

string

Required

FIRSTSURNAME

string

None.

FIRSTTITLE

string

None.

SECONDSURNAME

string

None.

SECONDTITLE

string

None.

HOUSENO

string

None.

HOUSENAME

string

None.

STREET

string

None.

AREA

string

None.

TOWN

string

None.

COUNTY

string

None.

PCODE

string

None.

HOMETEL

string

None.

WORKTEL

string

None.

LEADDATEDATE

date

None.

LEADDATE

string

None.

LEADSOURCE

string

None.

SALESAREA

string

None.

SALESPERSON

string

None.

PRODINTEREST1

string

None.

PRODINTEREST2

string

None.

PRODTYPE

string

None.

MOBTEL

string

None.

FAX

string

None.

FIRSTINITIAL

string

None.

SECONDINITIAL

string

None.

OFFICEREF

string

None.

COMPANYNAME

string

None.

CONTACTNAME

string

None.

BUSADDRESSBOOL

boolean

None.

BUSADDRESS

string

None.

TAKENBY

string

None.

QUOTETYPE

string

None.

EMAIL

string

None.

NOTES

string

None.

URLRedirect

string

None.

TEST

integer

None.

GDPROPTINDATEDATE

date

None.

GDPROPTINDATE

string

None.

GDPROPTINMETHOD

string

None.

GDPROPTINDOC

string

None.

GDPROPTINPHONEBOOL

boolean

None.

GDPROPTINLETTERBOOL

boolean

None.

GDPROPTINEMAILBOOL

boolean

None.

GDPROPTINSMSBOOL

boolean

None.

GDPROPTINPHONE

string

None.

GDPROPTINLETTER

string

None.

GDPROPTINEMAIL

string

None.

GDPROPTINSMS

string

None.

SUBSOURCE

string

None.

SUBSUBSOURCE

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AB_CUSTID": 1,
  "AB_PWORD": "sample string 2",
  "FIRSTSURNAME": "sample string 3",
  "FIRSTTITLE": "sample string 4",
  "SECONDSURNAME": "sample string 5",
  "SECONDTITLE": "sample string 6",
  "HOUSENO": "sample string 7",
  "HOUSENAME": "sample string 8",
  "STREET": "sample string 9",
  "AREA": "sample string 10",
  "TOWN": "sample string 11",
  "COUNTY": "sample string 12",
  "PCODE": "sample string 13",
  "HOMETEL": "sample string 14",
  "WORKTEL": "sample string 15",
  "LEADDATEDATE": "2020-07-16T04:27:53.7019704+01:00",
  "LEADDATE": "sample string 16",
  "LEADSOURCE": "sample string 17",
  "SALESAREA": "sample string 18",
  "SALESPERSON": "sample string 19",
  "PRODINTEREST1": "sample string 20",
  "PRODINTEREST2": "sample string 21",
  "PRODTYPE": "sample string 22",
  "MOBTEL": "sample string 23",
  "FAX": "sample string 24",
  "FIRSTINITIAL": "sample string 25",
  "SECONDINITIAL": "sample string 26",
  "OFFICEREF": "sample string 27",
  "COMPANYNAME": "sample string 28",
  "CONTACTNAME": "sample string 29",
  "BUSADDRESSBOOL": true,
  "BUSADDRESS": "sample string 31",
  "TAKENBY": "sample string 32",
  "QUOTETYPE": "sample string 33",
  "EMAIL": "sample string 34",
  "NOTES": "sample string 35",
  "URLRedirect": "sample string 36",
  "TEST": 1,
  "GDPROPTINDATEDATE": "2020-07-16T04:27:53.7019704+01:00",
  "GDPROPTINDATE": "sample string 37",
  "GDPROPTINMETHOD": "sample string 38",
  "GDPROPTINDOC": "sample string 39",
  "GDPROPTINPHONEBOOL": true,
  "GDPROPTINLETTERBOOL": true,
  "GDPROPTINEMAILBOOL": true,
  "GDPROPTINSMSBOOL": true,
  "GDPROPTINPHONE": "sample string 44",
  "GDPROPTINLETTER": "sample string 45",
  "GDPROPTINEMAIL": "sample string 46",
  "GDPROPTINSMS": "sample string 47",
  "SUBSOURCE": "sample string 48",
  "SUBSUBSOURCE": "sample string 49"
}

application/xml, text/xml

Sample:
<LeadDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebLeadsAPI.Controllers">
  <AB_CUSTID>1</AB_CUSTID>
  <AB_PWORD>sample string 2</AB_PWORD>
  <AREA>sample string 10</AREA>
  <BUSADDRESS>sample string 31</BUSADDRESS>
  <BUSADDRESSBOOL>true</BUSADDRESSBOOL>
  <COMPANYNAME>sample string 28</COMPANYNAME>
  <CONTACTNAME>sample string 29</CONTACTNAME>
  <COUNTY>sample string 12</COUNTY>
  <EMAIL>sample string 34</EMAIL>
  <FAX>sample string 24</FAX>
  <FIRSTINITIAL>sample string 25</FIRSTINITIAL>
  <FIRSTSURNAME>sample string 3</FIRSTSURNAME>
  <FIRSTTITLE>sample string 4</FIRSTTITLE>
  <GDPROPTINDATE>sample string 37</GDPROPTINDATE>
  <GDPROPTINDATEDATE>2020-07-16T04:27:53.7019704+01:00</GDPROPTINDATEDATE>
  <GDPROPTINDOC>sample string 39</GDPROPTINDOC>
  <GDPROPTINEMAIL>sample string 46</GDPROPTINEMAIL>
  <GDPROPTINEMAILBOOL>true</GDPROPTINEMAILBOOL>
  <GDPROPTINLETTER>sample string 45</GDPROPTINLETTER>
  <GDPROPTINLETTERBOOL>true</GDPROPTINLETTERBOOL>
  <GDPROPTINMETHOD>sample string 38</GDPROPTINMETHOD>
  <GDPROPTINPHONE>sample string 44</GDPROPTINPHONE>
  <GDPROPTINPHONEBOOL>true</GDPROPTINPHONEBOOL>
  <GDPROPTINSMS>sample string 47</GDPROPTINSMS>
  <GDPROPTINSMSBOOL>true</GDPROPTINSMSBOOL>
  <HOMETEL>sample string 14</HOMETEL>
  <HOUSENAME>sample string 8</HOUSENAME>
  <HOUSENO>sample string 7</HOUSENO>
  <LEADDATE>sample string 16</LEADDATE>
  <LEADDATEDATE>2020-07-16T04:27:53.7019704+01:00</LEADDATEDATE>
  <LEADSOURCE>sample string 17</LEADSOURCE>
  <MOBTEL>sample string 23</MOBTEL>
  <NOTES>sample string 35</NOTES>
  <OFFICEREF>sample string 27</OFFICEREF>
  <PCODE>sample string 13</PCODE>
  <PRODINTEREST1>sample string 20</PRODINTEREST1>
  <PRODINTEREST2>sample string 21</PRODINTEREST2>
  <PRODTYPE>sample string 22</PRODTYPE>
  <QUOTETYPE>sample string 33</QUOTETYPE>
  <SALESAREA>sample string 18</SALESAREA>
  <SALESPERSON>sample string 19</SALESPERSON>
  <SECONDINITIAL>sample string 26</SECONDINITIAL>
  <SECONDSURNAME>sample string 5</SECONDSURNAME>
  <SECONDTITLE>sample string 6</SECONDTITLE>
  <STREET>sample string 9</STREET>
  <SUBSOURCE>sample string 48</SUBSOURCE>
  <SUBSUBSOURCE>sample string 49</SUBSUBSOURCE>
  <TAKENBY>sample string 32</TAKENBY>
  <TEST>1</TEST>
  <TOWN>sample string 11</TOWN>
  <URLRedirect>sample string 36</URLRedirect>
  <WORKTEL>sample string 15</WORKTEL>
</LeadDetails>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.