POST api/UpdateLead?leadid={leadid}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| leadid | integer |
Required |
Body Parameters
NewLeadVM| Name | Description | Type | Additional information |
|---|---|---|---|
| LeadID | integer |
None. |
|
| LeadOwnerID | integer |
None. |
|
| LeadCategoryID | integer |
None. |
|
| LeadType | integer |
None. |
|
| LeadSourceID | integer |
None. |
|
| CustomerID | integer |
None. |
|
| NewFollowupDate | string |
None. |
|
| Communication | string |
None. |
|
| follouptype | string |
None. |
|
| EnquiryRefrence | string |
None. |
|
| Remarks | string |
None. |
|
| ClientType | integer |
None. |
|
| LeadStatus | string |
None. |
|
| InteriorDesigner | integer |
None. |
|
| TypeID | integer |
None. |
|
| CustomerName | string |
None. |
|
| CustomerNo | string |
None. |
|
| CustomerScndNo | string |
None. |
|
| string |
None. |
||
| CustomerAddress | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"LeadID": 1,
"LeadOwnerID": 2,
"LeadCategoryID": 1,
"LeadType": 3,
"LeadSourceID": 4,
"CustomerID": 5,
"NewFollowupDate": "sample string 6",
"Communication": "sample string 7",
"follouptype": "sample string 8",
"EnquiryRefrence": "sample string 9",
"Remarks": "sample string 10",
"ClientType": 11,
"LeadStatus": "sample string 12",
"InteriorDesigner": 13,
"TypeID": 1,
"CustomerName": "sample string 14",
"CustomerNo": "sample string 15",
"CustomerScndNo": "sample string 16",
"Email": "sample string 17",
"CustomerAddress": "sample string 18"
}
application/xml, text/xml
Sample:
<NewLeadVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VarmoraInventory.Models"> <ClientType>11</ClientType> <Communication>sample string 7</Communication> <CustomerAddress>sample string 18</CustomerAddress> <CustomerID>5</CustomerID> <CustomerName>sample string 14</CustomerName> <CustomerNo>sample string 15</CustomerNo> <CustomerScndNo>sample string 16</CustomerScndNo> <Email>sample string 17</Email> <EnquiryRefrence>sample string 9</EnquiryRefrence> <InteriorDesigner>13</InteriorDesigner> <LeadCategoryID>1</LeadCategoryID> <LeadID>1</LeadID> <LeadOwnerID>2</LeadOwnerID> <LeadSourceID>4</LeadSourceID> <LeadStatus>sample string 12</LeadStatus> <LeadType>3</LeadType> <NewFollowupDate>sample string 6</NewFollowupDate> <Remarks>sample string 10</Remarks> <TypeID>1</TypeID> <follouptype>sample string 8</follouptype> </NewLeadVM>
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>