POST api/LeadsData/InsertNewLead
Request Information
URI Parameters
None.
Body Parameters
M_LeadsName | Description | Type | Additional information |
---|---|---|---|
LeadID | string |
None. |
|
LeadName | string |
None. |
|
LeadOwner | string |
None. |
|
Segment | string |
None. |
|
State | integer |
None. |
|
City | integer |
None. |
|
Region | integer |
None. |
|
Sourceofhead | string |
None. |
|
ManPower | string |
None. |
|
LeadStatus | integer |
None. |
|
Address | string |
None. |
|
Statusdate | date |
None. |
|
ExpectedDate | string |
None. |
|
Created_By | string |
None. |
|
Created_On | date |
None. |
|
LeadGeneratedBy | string |
None. |
|
LeadGeneratedOn | string |
None. |
|
Branch | integer |
None. |
|
Remarks | string |
None. |
|
ExistingVendorName | string |
None. |
|
StatusCategory | integer |
None. |
|
CompanyBranch | integer |
None. |
|
TagID | string |
None. |
|
Lead_AssignedTo | string |
None. |
|
PushCode | string |
None. |
|
Operation | string |
None. |
|
NewLeadNotification | boolean |
None. |
|
username | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "LeadID": "sample string 1", "LeadName": "sample string 2", "LeadOwner": "sample string 3", "Segment": "sample string 4", "State": 1, "City": 1, "Region": 1, "Sourceofhead": "sample string 5", "ManPower": "sample string 6", "LeadStatus": 1, "Address": "sample string 7", "Statusdate": "2021-04-16T13:46:07.6437938+05:30", "ExpectedDate": "sample string 8", "Created_By": "sample string 9", "Created_On": "2021-04-16T13:46:07.6437938+05:30", "LeadGeneratedBy": "sample string 10", "LeadGeneratedOn": "sample string 11", "Branch": 1, "Remarks": "sample string 12", "ExistingVendorName": "sample string 13", "StatusCategory": 1, "CompanyBranch": 14, "TagID": "sample string 15", "Lead_AssignedTo": "sample string 16", "PushCode": "sample string 17", "Operation": "sample string 18", "NewLeadNotification": true, "username": "sample string 20" }
application/xml, text/xml
Sample:
<M_Leads xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FaME_APPLICATION.Models.APPICATION"> <Address>sample string 7</Address> <Branch>1</Branch> <City>1</City> <CompanyBranch>14</CompanyBranch> <Created_By>sample string 9</Created_By> <Created_On>2021-04-16T13:46:07.6437938+05:30</Created_On> <ExistingVendorName>sample string 13</ExistingVendorName> <ExpectedDate>sample string 8</ExpectedDate> <LeadGeneratedBy>sample string 10</LeadGeneratedBy> <LeadGeneratedOn>sample string 11</LeadGeneratedOn> <LeadID>sample string 1</LeadID> <LeadName>sample string 2</LeadName> <LeadOwner>sample string 3</LeadOwner> <LeadStatus>1</LeadStatus> <Lead_AssignedTo>sample string 16</Lead_AssignedTo> <ManPower>sample string 6</ManPower> <NewLeadNotification>true</NewLeadNotification> <Operation>sample string 18</Operation> <PushCode>sample string 17</PushCode> <Region>1</Region> <Remarks>sample string 12</Remarks> <Segment>sample string 4</Segment> <Sourceofhead>sample string 5</Sourceofhead> <State>1</State> <StatusCategory>1</StatusCategory> <Statusdate>2021-04-16T13:46:07.6437938+05:30</Statusdate> <TagID>sample string 15</TagID> <username>sample string 20</username> </M_Leads>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | 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. |