POST api/SaveLead
Request Information
URI Parameters
None.
Body Parameters
SaveLeadVm| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| LeadCategoryId | integer |
None. |
|
| SourceId | integer |
None. |
|
| SubSourceId | integer |
None. |
|
| Type | string |
None. |
|
| LeadTypeId | integer |
None. |
|
| UnitTypeId | integer |
None. |
|
| AlternateNumbers | string |
None. |
|
| ClientName | string |
None. |
|
| ClientContactCC | string |
None. |
|
| ClientContact | string |
None. |
|
| SecondaryNumberCC | string |
None. |
|
| SecondaryNumber | string |
None. |
|
| ClientEmail | string |
None. |
|
| BrokerName | string |
None. |
|
| BrokerInvolved | boolean |
None. |
|
| BrokerContact | string |
None. |
|
| PropertyTypeId | integer |
None. |
|
| RequirementId | integer |
None. |
|
| CarpetArea | decimal number |
None. |
|
| Budget | decimal number |
None. |
|
| BudgetRangeId | integer |
None. |
|
| CompanyStageReasonId | integer |
None. |
|
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| Remark | string |
None. |
|
| Date | string |
None. |
|
| LeadDate | date |
None. |
|
| CompanyContactTypeId | integer |
None. |
|
| Problem | string |
None. |
|
| IsPropertyShown | boolean |
None. |
|
| IsPropertyShortlisted | boolean |
None. |
|
| IsInvestor | boolean |
None. |
|
| IsForRent | boolean |
None. |
|
| IsForSale | boolean |
None. |
|
| DateAvailable | string |
None. |
|
| IsFurnished | boolean |
None. |
|
| Deposit | decimal number |
None. |
|
| IsLumsum | boolean |
None. |
|
| SaleAmount | decimal number |
None. |
|
| Area | decimal number |
None. |
|
| IsLoan | boolean |
None. |
|
| LoanBank | string |
None. |
|
| LoanAmount | decimal number |
None. |
|
| LoanInterest | decimal number |
None. |
|
| LoanPeriod | decimal number |
None. |
|
| Terms | string |
None. |
|
| UserId | integer |
None. |
|
| SourcingManagerId | integer |
None. |
|
| UserIds | Collection of integer |
None. |
|
| Projects | Collection of integer |
None. |
|
| ProjectId | integer |
None. |
|
| UnitId | integer |
None. |
|
| AllowedForId | integer |
None. |
|
| StateId | integer |
None. |
|
| LocationId | integer |
None. |
|
| LeadStageId | integer |
None. |
|
| BudgetMin | decimal number |
None. |
|
| BudgetMax | decimal number |
None. |
|
| AreaMin | decimal number |
None. |
|
| AreaMax | decimal number |
None. |
|
| Furnish | string |
None. |
|
| Address | string |
None. |
|
| Lat | decimal number |
None. |
|
| Lng | decimal number |
None. |
|
| InventoryLocationId | integer |
None. |
|
| Country | string |
None. |
|
| State | string |
None. |
|
| District | string |
None. |
|
| Location | string |
None. |
|
| SubLocation | string |
None. |
|
| InventoryLocationArea | string |
None. |
|
| Pincode | string |
None. |
|
| UnitTypes | Collection of GetAllMasterVm |
None. |
|
| LeadPropertySubTypes | Collection of KeyValuePairVm |
None. |
|
| EmploymentType | string |
None. |
|
| Income | decimal number |
None. |
|
| Designation | string |
None. |
|
| CompanyName | string |
None. |
|
| CompanyPropertyTypeId | integer |
None. |
|
| AreaMetricId | integer |
None. |
|
| LeadAddress | string |
None. |
|
| LeadCity | string |
None. |
|
| LeadState | string |
None. |
|
| LeadCountry | string |
None. |
|
| LeadZipcode | string |
None. |
|
| ChannelPartnerId | integer |
None. |
|
| LeadSubTypeId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"LeadCategoryId": 2,
"SourceId": 1,
"SubSourceId": 1,
"Type": "sample string 3",
"LeadTypeId": 4,
"UnitTypeId": 5,
"AlternateNumbers": "sample string 6",
"ClientName": "sample string 7",
"ClientContactCC": "sample string 8",
"ClientContact": "sample string 9",
"SecondaryNumberCC": "sample string 10",
"SecondaryNumber": "sample string 11",
"ClientEmail": "sample string 12",
"BrokerName": "sample string 13",
"BrokerInvolved": true,
"BrokerContact": "sample string 15",
"PropertyTypeId": 16,
"RequirementId": 17,
"CarpetArea": 18.1,
"Budget": 19.1,
"BudgetRangeId": 20,
"CompanyStageReasonId": 1,
"FirstName": "sample string 21",
"LastName": "sample string 22",
"Remark": "sample string 23",
"Date": "sample string 24",
"LeadDate": "2025-12-07T14:35:53.9608682Z",
"CompanyContactTypeId": 26,
"Problem": "sample string 27",
"IsPropertyShown": true,
"IsPropertyShortlisted": true,
"IsInvestor": true,
"IsForRent": true,
"IsForSale": true,
"DateAvailable": "sample string 33",
"IsFurnished": true,
"Deposit": 35.1,
"IsLumsum": true,
"SaleAmount": 37.1,
"Area": 38.1,
"IsLoan": true,
"LoanBank": "sample string 40",
"LoanAmount": 41.1,
"LoanInterest": 42.1,
"LoanPeriod": 43.1,
"Terms": "sample string 44",
"UserId": 1,
"SourcingManagerId": 1,
"UserIds": [
1,
2
],
"Projects": [
1,
2
],
"ProjectId": 1,
"UnitId": 1,
"AllowedForId": 1,
"StateId": 1,
"LocationId": 1,
"LeadStageId": 45,
"BudgetMin": 46.1,
"BudgetMax": 47.1,
"AreaMin": 48.1,
"AreaMax": 49.1,
"Furnish": "sample string 50",
"Address": "sample string 51",
"Lat": 52.1,
"Lng": 53.1,
"InventoryLocationId": 1,
"Country": "sample string 54",
"State": "sample string 55",
"District": "sample string 56",
"Location": "sample string 57",
"SubLocation": "sample string 58",
"InventoryLocationArea": "sample string 59",
"Pincode": "sample string 60",
"UnitTypes": [
{
"Id": 1,
"Name": "sample string 2",
"Code": "sample string 3",
"ProjectTypeId": 1,
"CompanyUnitTypeId": 1,
"ProjectType": "sample string 4",
"CompanyUnitType": "sample string 5"
},
{
"Id": 1,
"Name": "sample string 2",
"Code": "sample string 3",
"ProjectTypeId": 1,
"CompanyUnitTypeId": 1,
"ProjectType": "sample string 4",
"CompanyUnitType": "sample string 5"
}
],
"LeadPropertySubTypes": [
{
"Id": 1,
"Name": "sample string 1",
"Code": "sample string 2",
"Order": 3
},
{
"Id": 1,
"Name": "sample string 1",
"Code": "sample string 2",
"Order": 3
}
],
"EmploymentType": "sample string 61",
"Income": 62.1,
"Designation": "sample string 63",
"CompanyName": "sample string 64",
"CompanyPropertyTypeId": 1,
"AreaMetricId": 1,
"LeadAddress": "sample string 65",
"LeadCity": "sample string 66",
"LeadState": "sample string 67",
"LeadCountry": "sample string 68",
"LeadZipcode": "sample string 69",
"ChannelPartnerId": 1,
"LeadSubTypeId": 1
}
application/xml, text/xml
Sample:
<SaveLeadVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BrokerServer.Models.LeadModels">
<Address>sample string 51</Address>
<AllowedForId>1</AllowedForId>
<AlternateNumbers>sample string 6</AlternateNumbers>
<Area>38.1</Area>
<AreaMax>49.1</AreaMax>
<AreaMetricId>1</AreaMetricId>
<AreaMin>48.1</AreaMin>
<BrokerContact>sample string 15</BrokerContact>
<BrokerInvolved>true</BrokerInvolved>
<BrokerName>sample string 13</BrokerName>
<Budget>19.1</Budget>
<BudgetMax>47.1</BudgetMax>
<BudgetMin>46.1</BudgetMin>
<BudgetRangeId>20</BudgetRangeId>
<CarpetArea>18.1</CarpetArea>
<ChannelPartnerId>1</ChannelPartnerId>
<ClientContact>sample string 9</ClientContact>
<ClientContactCC>sample string 8</ClientContactCC>
<ClientEmail>sample string 12</ClientEmail>
<ClientName>sample string 7</ClientName>
<CompanyContactTypeId>26</CompanyContactTypeId>
<CompanyName>sample string 64</CompanyName>
<CompanyPropertyTypeId>1</CompanyPropertyTypeId>
<CompanyStageReasonId>1</CompanyStageReasonId>
<Country>sample string 54</Country>
<Date>sample string 24</Date>
<DateAvailable>sample string 33</DateAvailable>
<Deposit>35.1</Deposit>
<Designation>sample string 63</Designation>
<District>sample string 56</District>
<EmploymentType>sample string 61</EmploymentType>
<FirstName>sample string 21</FirstName>
<Furnish>sample string 50</Furnish>
<Id>1</Id>
<Income>62.1</Income>
<InventoryLocationArea>sample string 59</InventoryLocationArea>
<InventoryLocationId>1</InventoryLocationId>
<IsForRent>true</IsForRent>
<IsForSale>true</IsForSale>
<IsFurnished>true</IsFurnished>
<IsInvestor>true</IsInvestor>
<IsLoan>true</IsLoan>
<IsLumsum>true</IsLumsum>
<IsPropertyShortlisted>true</IsPropertyShortlisted>
<IsPropertyShown>true</IsPropertyShown>
<LastName>sample string 22</LastName>
<Lat>52.1</Lat>
<LeadAddress>sample string 65</LeadAddress>
<LeadCategoryId>2</LeadCategoryId>
<LeadCity>sample string 66</LeadCity>
<LeadCountry>sample string 68</LeadCountry>
<LeadDate>2025-12-07T20:05:53.9608682+05:30</LeadDate>
<LeadPropertySubTypes xmlns:d2p1="http://schemas.datacontract.org/2004/07/BrokerServer.Models">
<d2p1:KeyValuePairVm>
<d2p1:Code>sample string 2</d2p1:Code>
<d2p1:Id>1</d2p1:Id>
<d2p1:Name>sample string 1</d2p1:Name>
<d2p1:Order>3</d2p1:Order>
</d2p1:KeyValuePairVm>
<d2p1:KeyValuePairVm>
<d2p1:Code>sample string 2</d2p1:Code>
<d2p1:Id>1</d2p1:Id>
<d2p1:Name>sample string 1</d2p1:Name>
<d2p1:Order>3</d2p1:Order>
</d2p1:KeyValuePairVm>
</LeadPropertySubTypes>
<LeadStageId>45</LeadStageId>
<LeadState>sample string 67</LeadState>
<LeadSubTypeId>1</LeadSubTypeId>
<LeadTypeId>4</LeadTypeId>
<LeadZipcode>sample string 69</LeadZipcode>
<Lng>53.1</Lng>
<LoanAmount>41.1</LoanAmount>
<LoanBank>sample string 40</LoanBank>
<LoanInterest>42.1</LoanInterest>
<LoanPeriod>43.1</LoanPeriod>
<Location>sample string 57</Location>
<LocationId>1</LocationId>
<Pincode>sample string 60</Pincode>
<Problem>sample string 27</Problem>
<ProjectId>1</ProjectId>
<Projects xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:long>1</d2p1:long>
<d2p1:long>2</d2p1:long>
</Projects>
<PropertyTypeId>16</PropertyTypeId>
<Remark>sample string 23</Remark>
<RequirementId>17</RequirementId>
<SaleAmount>37.1</SaleAmount>
<SecondaryNumber>sample string 11</SecondaryNumber>
<SecondaryNumberCC>sample string 10</SecondaryNumberCC>
<SourceId>1</SourceId>
<SourcingManagerId>1</SourcingManagerId>
<State>sample string 55</State>
<StateId>1</StateId>
<SubLocation>sample string 58</SubLocation>
<SubSourceId>1</SubSourceId>
<Terms>sample string 44</Terms>
<Type>sample string 3</Type>
<UnitId>1</UnitId>
<UnitTypeId>5</UnitTypeId>
<UnitTypes xmlns:d2p1="http://schemas.datacontract.org/2004/07/BrokerServer.Services">
<d2p1:GetAllMasterVm>
<d2p1:Code>sample string 3</d2p1:Code>
<d2p1:CompanyUnitType>sample string 5</d2p1:CompanyUnitType>
<d2p1:CompanyUnitTypeId>1</d2p1:CompanyUnitTypeId>
<d2p1:Id>1</d2p1:Id>
<d2p1:Name>sample string 2</d2p1:Name>
<d2p1:ProjectType>sample string 4</d2p1:ProjectType>
<d2p1:ProjectTypeId>1</d2p1:ProjectTypeId>
</d2p1:GetAllMasterVm>
<d2p1:GetAllMasterVm>
<d2p1:Code>sample string 3</d2p1:Code>
<d2p1:CompanyUnitType>sample string 5</d2p1:CompanyUnitType>
<d2p1:CompanyUnitTypeId>1</d2p1:CompanyUnitTypeId>
<d2p1:Id>1</d2p1:Id>
<d2p1:Name>sample string 2</d2p1:Name>
<d2p1:ProjectType>sample string 4</d2p1:ProjectType>
<d2p1:ProjectTypeId>1</d2p1:ProjectTypeId>
</d2p1:GetAllMasterVm>
</UnitTypes>
<UserId>1</UserId>
<UserIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:long>1</d2p1:long>
<d2p1:long>2</d2p1:long>
</UserIds>
</SaveLeadVm>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Response| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Message | string |
None. |
|
| Description | string |
None. |
|
| Data | Object |
None. |
|
| Count | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Message": "sample string 2",
"Description": "sample string 3",
"Data": {},
"Count": 5
}
application/xml, text/xml
Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BrokerServer.Models"> <Count>5</Count> <Data /> <Description>sample string 3</Description> <Message>sample string 2</Message> <Success>true</Success> </Response>