POST api/LMSMaster/SaveLeadMaster
Request Information
URI Parameters
None.
Body Parameters
LeadMasterData| Name | Description | Type | Additional information |
|---|---|---|---|
| LeadID | integer |
None. |
|
| LeadName | string |
None. |
|
| LeadMobile | string |
None. |
|
| LeadPhone | string |
None. |
|
| LeadEmail | string |
None. |
|
| SourceID | integer |
None. |
|
| ProductID | integer |
None. |
|
| LeadTypeID | integer |
None. |
|
| ContactPersonName | string |
None. |
|
| ContactPersonMobile | string |
None. |
|
| ContactPersonPhone | string |
None. |
|
| ContactPersonEmail | string |
None. |
|
| CompanyName | string |
None. |
|
| CompanyPhone | string |
None. |
|
| CompanyWebSite | string |
None. |
|
| Profession | string |
None. |
|
| CountryID | integer |
None. |
|
| StateID | integer |
None. |
|
| CityID | integer |
None. |
|
| District | string |
None. |
|
| Panchayat | string |
None. |
|
| PinCode | string |
None. |
|
| LeadAddress | string |
None. |
|
| Comment | string |
None. |
|
| InvestmentID | integer |
None. |
|
| Budget | string |
None. |
|
| FamilyIncome | string |
None. |
|
| CompanyTurnOver | string |
None. |
|
| CompanyLandLine | string |
None. |
|
| LandTypeID | integer |
None. |
|
| LandArea | string |
None. |
|
| IsActive | integer |
None. |
|
| ChatNumber | string |
None. |
|
| ClientStatusID | integer |
None. |
|
| LeadStatusTypeID | integer |
None. |
|
| OrganizationID | integer |
None. |
|
| BudgetID | integer |
None. |
|
| UserID | integer |
None. |
|
| CompanyID | integer |
None. |
|
| FinancialYearID | integer |
None. |
|
| FinancialYear | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"LeadID": 1,
"LeadName": "sample string 1",
"LeadMobile": "sample string 2",
"LeadPhone": "sample string 3",
"LeadEmail": "sample string 4",
"SourceID": 1,
"ProductID": 1,
"LeadTypeID": 1,
"ContactPersonName": "sample string 5",
"ContactPersonMobile": "sample string 6",
"ContactPersonPhone": "sample string 7",
"ContactPersonEmail": "sample string 8",
"CompanyName": "sample string 9",
"CompanyPhone": "sample string 10",
"CompanyWebSite": "sample string 11",
"Profession": "sample string 12",
"CountryID": 1,
"StateID": 1,
"CityID": 1,
"District": "sample string 13",
"Panchayat": "sample string 14",
"PinCode": "sample string 15",
"LeadAddress": "sample string 16",
"Comment": "sample string 17",
"InvestmentID": 1,
"Budget": "sample string 18",
"FamilyIncome": "sample string 19",
"CompanyTurnOver": "sample string 20",
"CompanyLandLine": "sample string 21",
"LandTypeID": 1,
"LandArea": "sample string 22",
"IsActive": 1,
"ChatNumber": "sample string 23",
"ClientStatusID": 1,
"LeadStatusTypeID": 1,
"OrganizationID": 1,
"BudgetID": 1,
"UserID": 1,
"CompanyID": 1,
"FinancialYearID": 1,
"FinancialYear": "sample string 24"
}
application/xml, text/xml
Sample:
<LeadMasterData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MfgProj.BusinessObject"> <CompanyID>1</CompanyID> <FinancialYear>sample string 24</FinancialYear> <FinancialYearID>1</FinancialYearID> <UserID>1</UserID> <Budget>sample string 18</Budget> <BudgetID>1</BudgetID> <ChatNumber>sample string 23</ChatNumber> <CityID>1</CityID> <ClientStatusID>1</ClientStatusID> <Comment>sample string 17</Comment> <CompanyLandLine>sample string 21</CompanyLandLine> <CompanyName>sample string 9</CompanyName> <CompanyPhone>sample string 10</CompanyPhone> <CompanyTurnOver>sample string 20</CompanyTurnOver> <CompanyWebSite>sample string 11</CompanyWebSite> <ContactPersonEmail>sample string 8</ContactPersonEmail> <ContactPersonMobile>sample string 6</ContactPersonMobile> <ContactPersonName>sample string 5</ContactPersonName> <ContactPersonPhone>sample string 7</ContactPersonPhone> <CountryID>1</CountryID> <District>sample string 13</District> <FamilyIncome>sample string 19</FamilyIncome> <InvestmentID>1</InvestmentID> <IsActive>1</IsActive> <LandArea>sample string 22</LandArea> <LandTypeID>1</LandTypeID> <LeadAddress>sample string 16</LeadAddress> <LeadEmail>sample string 4</LeadEmail> <LeadID>1</LeadID> <LeadMobile>sample string 2</LeadMobile> <LeadName>sample string 1</LeadName> <LeadPhone>sample string 3</LeadPhone> <LeadStatusTypeID>1</LeadStatusTypeID> <LeadTypeID>1</LeadTypeID> <OrganizationID>1</OrganizationID> <Panchayat>sample string 14</Panchayat> <PinCode>sample string 15</PinCode> <ProductID>1</ProductID> <Profession>sample string 12</Profession> <SourceID>1</SourceID> <StateID>1</StateID> </LeadMasterData>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |