POST api/Account/GetRecommends
获取我的推荐列表
请求信息(Request)
URI 参数
None.
Body 参数
RecommendQuery| 名称 | 描述 | 类型 | 备注 |
|---|---|---|---|
| ID | integer |
None. |
|
| DealerId | integer |
None. |
|
| HotelId | integer |
None. |
|
| UserId | integer |
None. |
|
| HotelName | string |
None. |
|
| City | string |
None. |
|
| Manager | string |
None. |
|
| PhoneNumber | string |
None. |
|
| Amount | string |
None. |
|
| Comment | string |
None. |
|
| HandleStatus | integer |
None. |
|
| Handler | integer |
None. |
|
| createTime1 | date |
None. |
|
| createTime2 | date |
None. |
|
| pageIndex | integer |
None. |
|
| pageSize | integer |
None. |
|
| noPage | boolean |
None. |
请求格式
application/json, text/json
Sample:
{
"ID": 1,
"DealerId": 1,
"HotelId": 1,
"UserId": 1,
"HotelName": "sample string 1",
"City": "sample string 2",
"Manager": "sample string 3",
"PhoneNumber": "sample string 4",
"Amount": "sample string 5",
"Comment": "sample string 6",
"HandleStatus": 1,
"Handler": 1,
"createTime1": "2025-11-06T04:16:31.6389083+08:00",
"createTime2": "2025-11-06T04:16:31.6389083+08:00",
"pageIndex": 7,
"pageSize": 8,
"noPage": true
}
application/xml, text/xml
Sample:
<RecommendQuery xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WLife.Application.DTOs.Query"> <noPage>true</noPage> <pageIndex>7</pageIndex> <pageSize>8</pageSize> <Amount>sample string 5</Amount> <City>sample string 2</City> <Comment>sample string 6</Comment> <DealerId>1</DealerId> <HandleStatus>1</HandleStatus> <Handler>1</Handler> <HotelId>1</HotelId> <HotelName>sample string 1</HotelName> <ID>1</ID> <Manager>sample string 3</Manager> <PhoneNumber>sample string 4</PhoneNumber> <UserId>1</UserId> <createTime1>2025-11-06T04:16:31.6389083+08:00</createTime1> <createTime2>2025-11-06T04:16:31.6389083+08:00</createTime2> </RecommendQuery>
application/x-www-form-urlencoded
Sample:
响应信息(Response)
资源描述
RequestResult| 名称 | 描述 | 类型 | 备注 |
|---|---|---|---|
| Status |
状态(0:成功,1:失败) |
integer |
None. |
| Message |
导致失败的相关消息 |
string |
None. |
| Total |
集合总数,用于分页时使用 |
integer |
None. |
响应格式
application/json, text/json
Sample:
{
"Status": 1,
"Message": "sample string 2",
"Total": 3
}
application/xml, text/xml
Sample:
<RequestResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WLife.Application"> <Message>sample string 2</Message> <Status>1</Status> <Total>3</Total> </RequestResult>