POST api/buildeskapi/ChannelPartner/CreateLead
Request Information
URI Parameters
None.
Body Parameters
CreateCPLeadVm| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | integer |
None. |
|
| ApiKey | string |
None. |
|
| CPNumber | integer |
None. |
|
| LeadName | string |
None. |
|
| LeadPhoneNumber | string |
None. |
|
| LeadEmail | string |
None. |
|
| LeadProjectName | string |
None. |
|
| Remark | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserId": 1,
"ApiKey": "sample string 1",
"CPNumber": 2,
"LeadName": "sample string 3",
"LeadPhoneNumber": "sample string 4",
"LeadEmail": "sample string 5",
"LeadProjectName": "sample string 6",
"Remark": "sample string 7"
}
application/xml, text/xml
Sample:
<CreateCPLeadVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BrokerServer.Models.WebhookModels"> <ApiKey>sample string 1</ApiKey> <CPNumber>2</CPNumber> <LeadEmail>sample string 5</LeadEmail> <LeadName>sample string 3</LeadName> <LeadPhoneNumber>sample string 4</LeadPhoneNumber> <LeadProjectName>sample string 6</LeadProjectName> <Remark>sample string 7</Remark> <UserId>1</UserId> </CreateCPLeadVm>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.