POST api/Lead/PostContactLead
Posts the contact lead.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| model | The ContactLeadModel model. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"Parameter": {
"LeadId": 1,
"FirstName": "sample string 2",
"LastName": "sample string 3",
"PhoneNumber": "sample string 4",
"EmailAddress": "sample string 5",
"StateProvinceId": 6,
"LeadContactAdvertisement": "sample string 7",
"LeadAreaOfInterestId": 8,
"MessageText": "sample string 9"
}
}
application/xml, text/xml
Sample:
<InputOfContactLeadModelxuv6Fhnt xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMT.UP">
<Parameter xmlns:d2p1="http://schemas.datacontract.org/2004/07/CMT.UP.Web.Models">
<d2p1:EmailAddress>sample string 5</d2p1:EmailAddress>
<d2p1:FirstName>sample string 2</d2p1:FirstName>
<d2p1:LastName>sample string 3</d2p1:LastName>
<d2p1:LeadAreaOfInterestId>8</d2p1:LeadAreaOfInterestId>
<d2p1:LeadContactAdvertisement>sample string 7</d2p1:LeadContactAdvertisement>
<d2p1:LeadId>1</d2p1:LeadId>
<d2p1:MessageText>sample string 9</d2p1:MessageText>
<d2p1:PhoneNumber>sample string 4</d2p1:PhoneNumber>
<d2p1:StateProvinceId>6</d2p1:StateProvinceId>
</Parameter>
</InputOfContactLeadModelxuv6Fhnt>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Response body formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.