POST api/Partner/InsertMyLead
No documentation available.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| _reqCreateLead | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"PartnerId": 1,
"SecretKey": "sample string 2",
"FirstName": "sample string 3",
"LastName": "sample string 4",
"Mobile": "sample string 5",
"Email": "sample string 6",
"MinBudget": 7.0,
"MaxBudget": 8.0,
"BuyOrRent": 9,
"PropertTypeId": 10,
"UnitTypeId": 11,
"Project": [
{
"ProjectId": 1,
"ProjectName": "sample string 2"
},
{
"ProjectId": 1,
"ProjectName": "sample string 2"
},
{
"ProjectId": 1,
"ProjectName": "sample string 2"
}
],
"BHK": "sample string 12",
"Possession": 13,
"Location": [
{
"Location": "sample string 1",
"City": "sample string 2",
"State": "sample string 3",
"Country": "sample string 4",
"Latitude": "sample string 5",
"Longitude": "sample string 6"
},
{
"Location": "sample string 1",
"City": "sample string 2",
"State": "sample string 3",
"Country": "sample string 4",
"Latitude": "sample string 5",
"Longitude": "sample string 6"
},
{
"Location": "sample string 1",
"City": "sample string 2",
"State": "sample string 3",
"Country": "sample string 4",
"Latitude": "sample string 5",
"Longitude": "sample string 6"
}
]
}
text/html
Sample:
{"PartnerId":1,"SecretKey":"sample string 2","FirstName":"sample string 3","LastName":"sample string 4","Mobile":"sample string 5","Email":"sample string 6","MinBudget":7.0,"MaxBudget":8.0,"BuyOrRent":9,"PropertTypeId":10,"UnitTypeId":11,"Project":[{"ProjectId":1,"ProjectName":"sample string 2"},{"ProjectId":1,"ProjectName":"sample string 2"},{"ProjectId":1,"ProjectName":"sample string 2"}],"BHK":"sample string 12","Possession":13,"Location":[{"Location":"sample string 1","City":"sample string 2","State":"sample string 3","Country":"sample string 4","Latitude":"sample string 5","Longitude":"sample string 6"},{"Location":"sample string 1","City":"sample string 2","State":"sample string 3","Country":"sample string 4","Latitude":"sample string 5","Longitude":"sample string 6"},{"Location":"sample string 1","City":"sample string 2","State":"sample string 3","Country":"sample string 4","Latitude":"sample string 5","Longitude":"sample string 6"}]}
application/xml, text/xml
Sample:
<ReqCreateLead xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BeyondCodes.BO.Partner">
<BHK>sample string 12</BHK>
<BuyOrRent>9</BuyOrRent>
<Email>sample string 6</Email>
<FirstName>sample string 3</FirstName>
<LastName>sample string 4</LastName>
<Location>
<LeadLocation>
<City>sample string 2</City>
<Country>sample string 4</Country>
<Latitude>sample string 5</Latitude>
<Location>sample string 1</Location>
<Longitude>sample string 6</Longitude>
<State>sample string 3</State>
</LeadLocation>
<LeadLocation>
<City>sample string 2</City>
<Country>sample string 4</Country>
<Latitude>sample string 5</Latitude>
<Location>sample string 1</Location>
<Longitude>sample string 6</Longitude>
<State>sample string 3</State>
</LeadLocation>
<LeadLocation>
<City>sample string 2</City>
<Country>sample string 4</Country>
<Latitude>sample string 5</Latitude>
<Location>sample string 1</Location>
<Longitude>sample string 6</Longitude>
<State>sample string 3</State>
</LeadLocation>
</Location>
<MaxBudget>8</MaxBudget>
<MinBudget>7</MinBudget>
<Mobile>sample string 5</Mobile>
<PartnerId>1</PartnerId>
<Possession>13</Possession>
<Project>
<LeadProject>
<ProjectId>1</ProjectId>
<ProjectName>sample string 2</ProjectName>
</LeadProject>
<LeadProject>
<ProjectId>1</ProjectId>
<ProjectName>sample string 2</ProjectName>
</LeadProject>
<LeadProject>
<ProjectId>1</ProjectId>
<ProjectName>sample string 2</ProjectName>
</LeadProject>
</Project>
<PropertTypeId>10</PropertTypeId>
<SecretKey>sample string 2</SecretKey>
<UnitTypeId>11</UnitTypeId>
</ReqCreateLead>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
No documentation available.
Response body formats
application/json, text/json
Sample:
{
"ResponseCode": 1,
"ResponseMessage": "sample string 2",
"ResponseValue": {}
}
text/html
Sample:
{"ResponseCode":1,"ResponseMessage":"sample string 2","ResponseValue":{}}
application/xml, text/xml
Sample:
<DataSubmit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BeyondCodes.BO"> <ResponseCode>1</ResponseCode> <ResponseMessage>sample string 2</ResponseMessage> <ResponseValue /> </DataSubmit>