POST HoldWonLost/InsertLostLead
Request Information
URI Parameters
None.
Body Parameters
LostVM| Name | Description | Type | Additional information |
|---|---|---|---|
| LeadID | integer |
None. |
|
| LostDate | string |
None. |
|
| LostReason | string |
None. |
|
| CompetitorName | string |
None. |
|
| Remarks | string |
None. |
|
| UserID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"LeadID": 1,
"LostDate": "sample string 2",
"LostReason": "sample string 3",
"CompetitorName": "sample string 4",
"Remarks": "sample string 5",
"UserID": 6
}
application/xml, text/xml
Sample:
<LostVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VarmoraInventory.Models"> <CompetitorName>sample string 4</CompetitorName> <LeadID>1</LeadID> <LostDate>sample string 2</LostDate> <LostReason>sample string 3</LostReason> <Remarks>sample string 5</Remarks> <UserID>6</UserID> </LostVM>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
JsonResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Status_Code | string |
None. |
|
| Status | string |
None. |
|
| Message | string |
None. |
|
| Data | Object |
None. |
|
| Error_Field | string |
None. |
|
| Api_Type | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status_Code": "sample string 1",
"Status": "sample string 2",
"Message": "sample string 3",
"Data": {},
"Error_Field": "sample string 5",
"Api_Type": "sample string 6"
}
application/xml, text/xml
Sample:
<JsonResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VarmoraInventory.Models"> <Api_Type>sample string 6</Api_Type> <Data /> <Error_Field>sample string 5</Error_Field> <Message>sample string 3</Message> <Status>sample string 2</Status> <Status_Code>sample string 1</Status_Code> </JsonResponse>