POST api/UpdateLeadInterest
Request Information
URI Parameters
None.
Body Parameters
UpdateLeadInterestVm| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
Required |
|
| UserId | integer |
None. |
|
| ProjectIds | Collection of integer |
None. |
|
| CompanyStageId | integer |
None. |
|
| CompanyStageReasonId | integer |
None. |
|
| Remark | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"UserId": 1,
"ProjectIds": [
1,
2
],
"CompanyStageId": 1,
"CompanyStageReasonId": 1,
"Remark": "sample string 2"
}
application/xml, text/xml
Sample:
<UpdateLeadInterestVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BrokerServer.Services.Lead">
<CompanyStageId>1</CompanyStageId>
<CompanyStageReasonId>1</CompanyStageReasonId>
<Id>1</Id>
<ProjectIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:long>1</d2p1:long>
<d2p1:long>2</d2p1:long>
</ProjectIds>
<Remark>sample string 2</Remark>
<UserId>1</UserId>
</UpdateLeadInterestVm>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Response| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Message | string |
None. |
|
| Description | string |
None. |
|
| Data | Object |
None. |
|
| Count | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Message": "sample string 2",
"Description": "sample string 3",
"Data": {},
"Count": 5
}
application/xml, text/xml
Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BrokerServer.Models"> <Count>5</Count> <Data /> <Description>sample string 3</Description> <Message>sample string 2</Message> <Success>true</Success> </Response>