POST api/LeadSearch
Danh sách lead của dealer
Request Information
Requires Authorization!
Parameters
None.
Body Parameters
LeadActionIndexModelName | Description | Type | Additional information |
---|---|---|---|
KeyWord | string |
None. |
|
UserId | integer |
None. |
|
MakeId | integer |
None. |
|
ModelId | integer |
None. |
|
SecondHand | integer |
None. |
|
CityId | integer |
None. |
|
DealerLeadActionStatus | integer |
None. |
|
LeadActionType | integer |
None. |
|
IsLoadMore | boolean |
None. |
|
PaymentStatus | integer |
None. |
|
AssignType | integer |
None. |
|
CountGetLead | integer |
None. |
|
CountGetLeadSecondHand | integer |
None. |
|
AssignQuantity | integer |
None. |
|
AssignEndDate | date |
None. |
|
ListLeadActionView | Collection of LeadActionViewModel |
None. |
|
ExpiredDateGetLead | date |
None. |
|
MaxLeadToGet | integer |
None. |
|
IsShowBtnGetLead | boolean |
None. |
|
CreatedBy | string |
None. |
|
PageIndex | integer |
None. |
|
PageSize | integer |
None. |
|
LinkSite | string |
None. |
|
Count | integer |
None. |
|
PageNum | integer |
None. |
|
FriendLink | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "KeyWord": "sample string 1", "UserId": 2, "MakeId": 3, "ModelId": 4, "SecondHand": 5, "CityId": 6, "DealerLeadActionStatus": 7, "LeadActionType": 8, "IsLoadMore": true, "PaymentStatus": 10, "AssignType": 11, "CountGetLead": 12, "CountGetLeadSecondHand": 13, "AssignQuantity": 14, "AssignEndDate": "2025-01-18T04:38:39.1066998+07:00", "ListLeadActionView": [ { "LeadsId": 1, "LeadActionId": 2, "MakeId": 1, "ModelId": 1, "FullName": "sample string 3", "CustomerName": "sample string 4", "DisplayName": "sample string 5", "Mobile": "sample string 6", "Email": "sample string 7", "Address": "sample string 8", "DealerLeadActionStatus": 9, "DealerLeadActionStatusName": "sample string 10", "SecondHand": "sample string 11", "MakeName": "sample string 12", "ModelName": "sample string 13", "Price": "sample string 14", "LastModifiedDateStr": "sample string 15", "DealerRecievedDate": "2025-01-18T04:38:39.1223143+07:00", "DealerRecievedDateStr": "18/01/2025 04:38", "LeadExtentions": [ { "LeadExtentionId": 1, "LeadActionId": 2, "BoxType": 3, "BoxName": "sample string 4", "BoxNameList": "sample string 5", "Value": "sample string 6" }, { "LeadExtentionId": 1, "LeadActionId": 2, "BoxType": 3, "BoxName": "sample string 4", "BoxNameList": "sample string 5", "Value": "sample string 6" } ], "CityName": "sample string 17", "LeadCityName": "sample string 18", "AssignType": 19, "AssignTypeName": "19", "LeadExpectedDescription": "sample string 20", "ModelDetailId": 21, "ModelDetailName": "sample string 22", "Version": "sample string 23", "CityIds": "sample string 24", "AreaName": "sample string 25" }, { "LeadsId": 1, "LeadActionId": 2, "MakeId": 1, "ModelId": 1, "FullName": "sample string 3", "CustomerName": "sample string 4", "DisplayName": "sample string 5", "Mobile": "sample string 6", "Email": "sample string 7", "Address": "sample string 8", "DealerLeadActionStatus": 9, "DealerLeadActionStatusName": "sample string 10", "SecondHand": "sample string 11", "MakeName": "sample string 12", "ModelName": "sample string 13", "Price": "sample string 14", "LastModifiedDateStr": "sample string 15", "DealerRecievedDate": "2025-01-18T04:38:39.1223143+07:00", "DealerRecievedDateStr": "18/01/2025 04:38", "LeadExtentions": [ { "LeadExtentionId": 1, "LeadActionId": 2, "BoxType": 3, "BoxName": "sample string 4", "BoxNameList": "sample string 5", "Value": "sample string 6" }, { "LeadExtentionId": 1, "LeadActionId": 2, "BoxType": 3, "BoxName": "sample string 4", "BoxNameList": "sample string 5", "Value": "sample string 6" } ], "CityName": "sample string 17", "LeadCityName": "sample string 18", "AssignType": 19, "AssignTypeName": "19", "LeadExpectedDescription": "sample string 20", "ModelDetailId": 21, "ModelDetailName": "sample string 22", "Version": "sample string 23", "CityIds": "sample string 24", "AreaName": "sample string 25" } ], "ExpiredDateGetLead": "2025-01-18T04:38:39.1223143+07:00", "MaxLeadToGet": 16, "IsShowBtnGetLead": true, "CreatedBy": "sample string 18", "PageIndex": 19, "PageSize": 20, "LinkSite": "sample string 21", "Count": 22, "PageNum": 2, "FriendLink": true }
application/xml, text/xml
Sample:
<LeadActionIndexModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BanXeHoi.Models.ViewModels.LeadsPlatform"> <_x003C_Count_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/BanXeHoi.Models.ViewModels">22</_x003C_Count_x003E_k__BackingField> <_x003C_FriendLink_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/BanXeHoi.Models.ViewModels">true</_x003C_FriendLink_x003E_k__BackingField> <_x003C_LinkSite_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/BanXeHoi.Models.ViewModels">sample string 21</_x003C_LinkSite_x003E_k__BackingField> <_x003C_PageIndex_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/BanXeHoi.Models.ViewModels">19</_x003C_PageIndex_x003E_k__BackingField> <_x003C_PageSize_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/BanXeHoi.Models.ViewModels">20</_x003C_PageSize_x003E_k__BackingField> <AssignEndDate>2025-01-18T04:38:39.1066998+07:00</AssignEndDate> <AssignQuantity>14</AssignQuantity> <AssignType>11</AssignType> <CityId>6</CityId> <CountGetLead>12</CountGetLead> <CountGetLeadSecondHand>13</CountGetLeadSecondHand> <CreatedBy>sample string 18</CreatedBy> <DealerLeadActionStatus>7</DealerLeadActionStatus> <ExpiredDateGetLead>2025-01-18T04:38:39.1223143+07:00</ExpiredDateGetLead> <IsLoadMore>true</IsLoadMore> <IsShowBtnGetLead>true</IsShowBtnGetLead> <KeyWord>sample string 1</KeyWord> <LeadActionType>8</LeadActionType> <ListLeadActionView xmlns:d2p1="http://schemas.datacontract.org/2004/07/BanXeHoi.Models.ViewModels"> <d2p1:LeadActionViewModel> <d2p1:Address>sample string 8</d2p1:Address> <d2p1:AreaName>sample string 25</d2p1:AreaName> <d2p1:AssignType>19</d2p1:AssignType> <d2p1:CityIds>sample string 24</d2p1:CityIds> <d2p1:CityName>sample string 17</d2p1:CityName> <d2p1:CustomerName>sample string 4</d2p1:CustomerName> <d2p1:DealerLeadActionStatus>9</d2p1:DealerLeadActionStatus> <d2p1:DealerLeadActionStatusName>sample string 10</d2p1:DealerLeadActionStatusName> <d2p1:DealerRecievedDate>2025-01-18T04:38:39.1223143+07:00</d2p1:DealerRecievedDate> <d2p1:DisplayName>sample string 5</d2p1:DisplayName> <d2p1:Email>sample string 7</d2p1:Email> <d2p1:FullName>sample string 3</d2p1:FullName> <d2p1:LastModifiedDateStr>sample string 15</d2p1:LastModifiedDateStr> <d2p1:LeadActionId>2</d2p1:LeadActionId> <d2p1:LeadCityName>sample string 18</d2p1:LeadCityName> <d2p1:LeadExpectedDescription>sample string 20</d2p1:LeadExpectedDescription> <d2p1:LeadExtentions> <LeadExtention> <BoxName>sample string 4</BoxName> <BoxNameList>sample string 5</BoxNameList> <BoxType>3</BoxType> <LeadActionId>2</LeadActionId> <LeadExtentionId>1</LeadExtentionId> <Value>sample string 6</Value> </LeadExtention> <LeadExtention> <BoxName>sample string 4</BoxName> <BoxNameList>sample string 5</BoxNameList> <BoxType>3</BoxType> <LeadActionId>2</LeadActionId> <LeadExtentionId>1</LeadExtentionId> <Value>sample string 6</Value> </LeadExtention> </d2p1:LeadExtentions> <d2p1:LeadsId>1</d2p1:LeadsId> <d2p1:MakeId>1</d2p1:MakeId> <d2p1:MakeName>sample string 12</d2p1:MakeName> <d2p1:Mobile>sample string 6</d2p1:Mobile> <d2p1:ModelDetailId>21</d2p1:ModelDetailId> <d2p1:ModelDetailName>sample string 22</d2p1:ModelDetailName> <d2p1:ModelId>1</d2p1:ModelId> <d2p1:ModelName>sample string 13</d2p1:ModelName> <d2p1:Price>sample string 14</d2p1:Price> <d2p1:SecondHand>sample string 11</d2p1:SecondHand> <d2p1:Version>sample string 23</d2p1:Version> </d2p1:LeadActionViewModel> <d2p1:LeadActionViewModel> <d2p1:Address>sample string 8</d2p1:Address> <d2p1:AreaName>sample string 25</d2p1:AreaName> <d2p1:AssignType>19</d2p1:AssignType> <d2p1:CityIds>sample string 24</d2p1:CityIds> <d2p1:CityName>sample string 17</d2p1:CityName> <d2p1:CustomerName>sample string 4</d2p1:CustomerName> <d2p1:DealerLeadActionStatus>9</d2p1:DealerLeadActionStatus> <d2p1:DealerLeadActionStatusName>sample string 10</d2p1:DealerLeadActionStatusName> <d2p1:DealerRecievedDate>2025-01-18T04:38:39.1223143+07:00</d2p1:DealerRecievedDate> <d2p1:DisplayName>sample string 5</d2p1:DisplayName> <d2p1:Email>sample string 7</d2p1:Email> <d2p1:FullName>sample string 3</d2p1:FullName> <d2p1:LastModifiedDateStr>sample string 15</d2p1:LastModifiedDateStr> <d2p1:LeadActionId>2</d2p1:LeadActionId> <d2p1:LeadCityName>sample string 18</d2p1:LeadCityName> <d2p1:LeadExpectedDescription>sample string 20</d2p1:LeadExpectedDescription> <d2p1:LeadExtentions> <LeadExtention> <BoxName>sample string 4</BoxName> <BoxNameList>sample string 5</BoxNameList> <BoxType>3</BoxType> <LeadActionId>2</LeadActionId> <LeadExtentionId>1</LeadExtentionId> <Value>sample string 6</Value> </LeadExtention> <LeadExtention> <BoxName>sample string 4</BoxName> <BoxNameList>sample string 5</BoxNameList> <BoxType>3</BoxType> <LeadActionId>2</LeadActionId> <LeadExtentionId>1</LeadExtentionId> <Value>sample string 6</Value> </LeadExtention> </d2p1:LeadExtentions> <d2p1:LeadsId>1</d2p1:LeadsId> <d2p1:MakeId>1</d2p1:MakeId> <d2p1:MakeName>sample string 12</d2p1:MakeName> <d2p1:Mobile>sample string 6</d2p1:Mobile> <d2p1:ModelDetailId>21</d2p1:ModelDetailId> <d2p1:ModelDetailName>sample string 22</d2p1:ModelDetailName> <d2p1:ModelId>1</d2p1:ModelId> <d2p1:ModelName>sample string 13</d2p1:ModelName> <d2p1:Price>sample string 14</d2p1:Price> <d2p1:SecondHand>sample string 11</d2p1:SecondHand> <d2p1:Version>sample string 23</d2p1:Version> </d2p1:LeadActionViewModel> </ListLeadActionView> <MakeId>3</MakeId> <MaxLeadToGet>16</MaxLeadToGet> <ModelId>4</ModelId> <PaymentStatus>10</PaymentStatus> <SecondHand>5</SecondHand> <UserId>2</UserId> </LeadActionIndexModel>
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>