POST api/Account/CreateRecommend
我要推荐保存
请求信息(Request)
URI 参数
None.
Body 参数
RecommendDTO名称 | 描述 | 类型 | 备注 |
---|---|---|---|
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 |
金额 |
decimal number |
None. |
Comment |
备注 |
string |
None. |
CreateDate | date |
None. |
|
HandleStatus |
处理状态:0,未处理,1,已处理,2,已取消 |
integer |
None. |
HandleStatusName | string |
None. |
|
HandledDate |
处理时间 |
date |
None. |
Handler |
处理人 |
integer |
None. |
Score |
获得积分数 |
integer |
None. |
Referrer |
新增字段 引荐人 |
string |
None. |
CustomerInformationContent |
新增字段 客户信息简介 |
string |
None. |
请求格式
application/json, text/json
Sample:
{ "ID": 1, "DealerId": 2, "HotelId": 1, "UserId": 3, "HotelName": "sample string 4", "City": "sample string 5", "Manager": "sample string 6", "PhoneNumber": "sample string 7", "Amount": 8.0, "Comment": "sample string 9", "CreateDate": "2025-06-19T22:04:21.9422675+08:00", "HandleStatus": 11, "HandleStatusName": "sample string 12", "HandledDate": "2025-06-19T22:04:21.9422675+08:00", "Handler": 14, "Score": 15, "Referrer": "sample string 16", "CustomerInformationContent": "sample string 17" }
application/xml, text/xml
Sample:
<RecommendDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WLife.Application.DTOs"> <Amount>8</Amount> <City>sample string 5</City> <Comment>sample string 9</Comment> <CreateDate>2025-06-19T22:04:21.9422675+08:00</CreateDate> <CustomerInformationContent>sample string 17</CustomerInformationContent> <DealerId>2</DealerId> <HandleStatus>11</HandleStatus> <HandleStatusName>sample string 12</HandleStatusName> <HandledDate>2025-06-19T22:04:21.9422675+08:00</HandledDate> <Handler>14</Handler> <HotelId>1</HotelId> <HotelName>sample string 4</HotelName> <ID>1</ID> <Manager>sample string 6</Manager> <PhoneNumber>sample string 7</PhoneNumber> <Referrer>sample string 16</Referrer> <Score>15</Score> <UserId>3</UserId> </RecommendDTO>
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>