POST api/hotel/curx/markup/rule/modify/{ruleid}
修改Markup规则
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
ruleid |
ruleid |
string |
Required |
Body Parameters
AsMarkupModifyRuleRQContractName | Description | Type | Additional information |
---|---|---|---|
citycode |
城市Code |
string |
None. |
groupid |
分组id |
string |
None. |
effstartdate |
生效开始日期 |
date |
None. |
effenddate |
生效结束日期 |
date |
None. |
searchstartdate |
搜索开始日期 |
date |
None. |
searchenddate |
搜索结束日期 |
date |
None. |
priority |
权重(越大优先) |
integer |
None. |
isenable |
是否启用 |
boolean |
None. |
authuser |
用户身份信息 |
AsUserContract |
None. |
Request Formats
application/json, text/json
Sample:
{ "citycode": "sample string 1", "groupid": "sample string 2", "effstartdate": "2024-12-23T20:15:23.2387247+08:00", "effenddate": "2024-12-23T20:15:23.2387247+08:00", "searchstartdate": "2024-12-23T20:15:23.2387247+08:00", "searchenddate": "2024-12-23T20:15:23.2387247+08:00", "priority": 7, "isenable": true, "authuser": { "userid": "sample string 1", "password": "sample string 2" } }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
修改Markup规则
ReturnResultOfBooleanName | Description | Type | Additional information |
---|---|---|---|
data | boolean |
None. |
|
code |
状态码:100成功,其他自定义 |
integer |
None. |
message |
提示消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": true, "code": 2, "message": "sample string 3" }