POST api/Lead/insertRecord
Request Information
URI Parameters
None.
Body Parameters
LeadName | Description | Type | Additional information |
---|---|---|---|
BranchKey |
Your Branch Key |
string |
Required |
StudentName |
Student Name. For Example: Rajiv Shukla |
string |
Required Max length: 100 |
Mobile |
Mobile Number (Default value : null). For Example: 7896541235 |
string |
Max length: 20 |
WhatsAppNumber |
WhatsApp Number (Default value : null). For Example: 7896541235 |
string |
Max length: 20 |
Email (Default value : null). For Example: test@mail.com |
string |
Max length: 50 |
|
Gender |
Gender (Pass Value : Male/Female/Other/Undisclose). For Example: Male |
string |
Required |
Address |
Address (Default value : null) |
string |
Max length: 200 |
Remark |
Remark (Default value : null) |
string |
Max length: 200 |
LeadSource |
Lead Source Name from 'Lead Source' master (Default value : null). For Example: Google |
string |
Max length: 100 |
LeadStage |
Lead Stage Name from 'Lead Stage' master (Default value : null). For Example: Converted/Qualified |
string |
Max length: 100 |
Request Formats
application/json, text/json
{ "BranchKey": "sample string 1", "StudentName": "sample string 2", "Mobile": "sample string 3", "WhatsAppNumber": "sample string 4", "Email": "sample string 5", "Gender": "sample string 6", "Address": "sample string 7", "Remark": "sample string 8", "LeadSource": "sample string 9", "LeadStage": "sample string 10" }
application/xml, text/xml
<Lead xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZenoxERP.API.Models.Extensions"> <Address>sample string 7</Address> <BranchKey>sample string 1</BranchKey> <Email>sample string 5</Email> <Gender>sample string 6</Gender> <LeadSource>sample string 9</LeadSource> <LeadStage>sample string 10</LeadStage> <Mobile>sample string 3</Mobile> <Remark>sample string 8</Remark> <StudentName>sample string 2</StudentName> <WhatsAppNumber>sample string 4</WhatsAppNumber> </Lead>
application/x-www-form-urlencoded
Response Information
Resource Description
integerResponse Formats
application/json, text/json
1
application/xml, text/xml
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>