POST api/Lead/{dt}/{userid}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
dt | string |
None. |
|
userid | string |
None. |
Body Parameters
LeadName | Description | Type | Additional information |
---|---|---|---|
leadid | string |
None. |
|
fullname | string |
None. |
|
lastname | string |
None. |
|
mobilephone | string |
None. |
|
emailaddress1 | string |
None. |
|
emailaddress2 | string |
None. |
|
accountid | string |
None. |
|
pathid | string |
None. |
|
industryid | string |
None. |
|
new_chk_emailaddress1 | boolean |
None. |
|
new_chk_emailaddress2 | boolean |
None. |
|
department | string |
None. |
|
new_txt_team | string |
None. |
|
telephone1 | string |
None. |
|
jobtitle | string |
None. |
|
new_chk_a_etc | boolean |
None. |
|
new_chk_a_executive | boolean |
None. |
|
new_chk_a_hw | boolean |
None. |
|
new_chk_a_management | boolean |
None. |
|
new_chk_a_marketing | boolean |
None. |
|
new_chk_a_plan | boolean |
None. |
|
new_chk_a_production | boolean |
None. |
|
new_chk_a_purchase | boolean |
None. |
|
new_chk_a_sales | boolean |
None. |
|
new_chk_a_sw | boolean |
None. |
|
companycode | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "leadid": "sample string 1", "fullname": "sample string 2", "lastname": "sample string 3", "mobilephone": "sample string 4", "emailaddress1": "sample string 5", "emailaddress2": "sample string 6", "accountid": "sample string 7", "pathid": "sample string 8", "industryid": "sample string 9", "new_chk_emailaddress1": true, "new_chk_emailaddress2": true, "department": "sample string 12", "new_txt_team": "sample string 13", "telephone1": "sample string 14", "jobtitle": "sample string 15", "new_chk_a_etc": true, "new_chk_a_executive": true, "new_chk_a_hw": true, "new_chk_a_management": true, "new_chk_a_marketing": true, "new_chk_a_plan": true, "new_chk_a_production": true, "new_chk_a_purchase": true, "new_chk_a_sales": true, "new_chk_a_sw": true, "companycode": "sample string 26" }
application/xml, text/xml
Sample:
<Lead xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MDSAPI.Controllers"> <accountid>sample string 7</accountid> <companycode>sample string 26</companycode> <department>sample string 12</department> <emailaddress1>sample string 5</emailaddress1> <emailaddress2>sample string 6</emailaddress2> <fullname>sample string 2</fullname> <industryid>sample string 9</industryid> <jobtitle>sample string 15</jobtitle> <lastname>sample string 3</lastname> <leadid>sample string 1</leadid> <mobilephone>sample string 4</mobilephone> <new_chk_a_etc>true</new_chk_a_etc> <new_chk_a_executive>true</new_chk_a_executive> <new_chk_a_hw>true</new_chk_a_hw> <new_chk_a_management>true</new_chk_a_management> <new_chk_a_marketing>true</new_chk_a_marketing> <new_chk_a_plan>true</new_chk_a_plan> <new_chk_a_production>true</new_chk_a_production> <new_chk_a_purchase>true</new_chk_a_purchase> <new_chk_a_sales>true</new_chk_a_sales> <new_chk_a_sw>true</new_chk_a_sw> <new_chk_emailaddress1>true</new_chk_emailaddress1> <new_chk_emailaddress2>true</new_chk_emailaddress2> <new_txt_team>sample string 13</new_txt_team> <pathid>sample string 8</pathid> <telephone1>sample string 14</telephone1> </Lead>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultsName | Description | Type | Additional information |
---|---|---|---|
errFlag | boolean |
None. |
|
errMsg | string |
None. |
|
errCode | string |
None. |
|
resultMsg | string |
None. |
|
contactid | string |
None. |
|
contactname | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "errFlag": true, "errMsg": "sample string 2", "errCode": "sample string 3", "resultMsg": "sample string 4", "contactid": "sample string 5", "contactname": "sample string 6" }
application/xml, text/xml
Sample:
<Results xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MDSAPI.Models"> <contactid>sample string 5</contactid> <contactname>sample string 6</contactname> <errCode>sample string 3</errCode> <errFlag>true</errFlag> <errMsg>sample string 2</errMsg> <resultMsg>sample string 4</resultMsg> </Results>