POST api/SearchAutoCurrentUser
Tìm kiếm tin rao của user đăng nhập
Request Information
Requires Authorization!
Parameters
None.
Body Parameters
AutoSearchRequestName | Description | Type | Additional information |
---|---|---|---|
keyword | string |
None. |
|
makeID | integer |
None. |
|
modelID | integer |
None. |
|
classificationID | integer |
None. |
|
minPrice | integer |
None. |
|
maxPrice | integer |
None. |
|
minYear | integer |
None. |
|
maxYear | integer |
None. |
|
minVersion | integer |
None. |
|
maxVersion | integer |
None. |
|
cityID | byte |
None. |
|
pageIndex | integer |
None. |
|
pageSize | integer |
None. |
|
sortBy | byte |
None. |
|
secondHand | byte |
None. |
|
madeIn | byte |
None. |
|
fuelType | string |
None. |
|
transmission | string |
None. |
|
exteriorColor | string |
None. |
|
interiorColor | string |
None. |
|
numOfSeat | string |
None. |
|
numOfDoor | string |
None. |
|
modelDetail | string |
None. |
|
year | integer |
None. |
|
isHaveImage | byte |
None. |
|
IsTestDriver | byte |
None. |
|
IsVideo | boolean |
None. |
|
IsDiscount | boolean |
None. |
|
isGoodPrice | boolean |
None. |
|
isXeHot | boolean |
None. |
|
CreateUserID | integer |
None. |
|
modelDetailId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "keyword": "sample string 1", "makeID": 2, "modelID": 3, "classificationID": 4, "minPrice": 5, "maxPrice": 6, "minYear": 7, "maxYear": 8, "minVersion": 9, "maxVersion": 10, "cityID": 64, "pageIndex": 12, "pageSize": 13, "sortBy": 64, "secondHand": 64, "madeIn": 64, "fuelType": "sample string 17", "transmission": "sample string 18", "exteriorColor": "sample string 19", "interiorColor": "sample string 20", "numOfSeat": "sample string 21", "numOfDoor": "sample string 22", "modelDetail": "sample string 23", "year": 24, "isHaveImage": 64, "IsTestDriver": 64, "IsVideo": true, "IsDiscount": true, "isGoodPrice": true, "isXeHot": true, "CreateUserID": 25, "modelDetailId": 26 }
application/xml, text/xml
Sample:
<AutoSearchRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Auto.AppApi.Models"> <CreateUserID>25</CreateUserID> <IsDiscount>true</IsDiscount> <IsTestDriver>64</IsTestDriver> <IsVideo>true</IsVideo> <cityID>64</cityID> <classificationID>4</classificationID> <exteriorColor>sample string 19</exteriorColor> <fuelType>sample string 17</fuelType> <interiorColor>sample string 20</interiorColor> <isGoodPrice>true</isGoodPrice> <isHaveImage>64</isHaveImage> <isXeHot>true</isXeHot> <keyword>sample string 1</keyword> <madeIn>64</madeIn> <makeID>2</makeID> <maxPrice>6</maxPrice> <maxVersion>10</maxVersion> <maxYear>8</maxYear> <minPrice>5</minPrice> <minVersion>9</minVersion> <minYear>7</minYear> <modelDetail>sample string 23</modelDetail> <modelDetailId>26</modelDetailId> <modelID>3</modelID> <numOfDoor>sample string 22</numOfDoor> <numOfSeat>sample string 21</numOfSeat> <pageIndex>12</pageIndex> <pageSize>13</pageSize> <secondHand>64</secondHand> <sortBy>64</sortBy> <transmission>sample string 18</transmission> <year>24</year> </AutoSearchRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
DataReturnObj
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>