POST api/Lead/PostRequestDemoLead
Posts the request demo lead.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
model | The RequestDemoLeadModel 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", "ClinicPractitionersNo": 8, "BillInsurance": true, "ReceiveEmail": true, "LeadOccupationId": 11, "LeadOccupationOther": "sample string 12" } }
application/xml, text/xml
Sample:
<InputOfRequestDemoLeadModelxuv6Fhnt 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:BillInsurance>true</d2p1:BillInsurance> <d2p1:ClinicPractitionersNo>8</d2p1:ClinicPractitionersNo> <d2p1:EmailAddress>sample string 5</d2p1:EmailAddress> <d2p1:FirstName>sample string 2</d2p1:FirstName> <d2p1:LastName>sample string 3</d2p1:LastName> <d2p1:LeadContactAdvertisement>sample string 7</d2p1:LeadContactAdvertisement> <d2p1:LeadId>1</d2p1:LeadId> <d2p1:LeadOccupationId>11</d2p1:LeadOccupationId> <d2p1:LeadOccupationOther>sample string 12</d2p1:LeadOccupationOther> <d2p1:PhoneNumber>sample string 4</d2p1:PhoneNumber> <d2p1:ReceiveEmail>true</d2p1:ReceiveEmail> <d2p1:StateProvinceId>6</d2p1:StateProvinceId> </Parameter> </InputOfRequestDemoLeadModelxuv6Fhnt>
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.