POST api/LeadUpdateSatus
Cập nhật trạng thái của lead trên web
Request Information
Requires Authorization!
Parameters
None.
Body Parameters
RequestLeadName | Description | Type | Additional information |
---|---|---|---|
LeadId | integer |
None. |
|
CustomerName | string |
None. |
|
LeadActionId | integer |
None. |
|
Status | integer |
None. |
|
Content | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "LeadId": 1, "CustomerName": "sample string 2", "LeadActionId": 3, "Status": 4, "Content": "sample string 5" }
application/xml, text/xml
Sample:
<RequestLead xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BanXeHoi.Models.ViewModels.LeadsPlatform"> <Content>sample string 5</Content> <CustomerName>sample string 2</CustomerName> <LeadActionId>3</LeadActionId> <LeadId>1</LeadId> <Status>4</Status> </RequestLead>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
DataReturnObjName | Description | Type | Additional information |
---|---|---|---|
Status | integer |
None. |
|
Message | string |
None. |
|
Data | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Status": 1, "Message": "sample string 2", "Data": "sample string 3" }
application/xml, text/xml
Sample:
<DataReturnObj xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Auto.AppApi.Models"> <Data>sample string 3</Data> <Message>sample string 2</Message> <Status>1</Status> </DataReturnObj>