POST api/sales/lead/update?token={token}
Update a lead detail
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| token | string |
Required |
Body Parameters
LeadUpdateData| Name | Description | Type | Additional information |
|---|---|---|---|
| LeadID |
Must pass an existing lead id |
integer |
Required |
| LocationSought | string |
None. |
|
| OfferedLocationID | integer |
Required |
|
| NoOfPeople | integer |
Required |
|
| ExpectedStartDate | date |
Required |
|
| TermMonths | integer |
None. |
|
| LeadStatusID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"LeadID": 1,
"LocationSought": "sample string 2",
"OfferedLocationID": 3,
"NoOfPeople": 4,
"ExpectedStartDate": "2026-01-08T11:19:29.8396748+00:00",
"TermMonths": 6,
"LeadStatusID": 7
}
application/xml, text/xml
Sample:
<LeadUpdateData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UltraSoftBIS_REST_API_Sales.Models"> <ExpectedStartDate>2026-01-08T11:19:29.8396748+00:00</ExpectedStartDate> <LeadID>1</LeadID> <LeadStatusID>7</LeadStatusID> <LocationSought>sample string 2</LocationSought> <NoOfPeople>4</NoOfPeople> <OfferedLocationID>3</OfferedLocationID> <TermMonths>6</TermMonths> </LeadUpdateData>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.