POST api/hotel/curx/markup/rule/range/modify/{rangeid}
修改Markup rule range
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
rangeid |
ruleid |
string |
Required |
Body Parameters
AsMarkupModifyRangeRQContractName | Description | Type | Additional information |
---|---|---|---|
fromprice |
开始价格 |
decimal number |
None. |
toprice |
结束价格 |
decimal number |
None. |
strvalue |
优惠价格/比例值 |
decimal number |
None. |
strvaluetype |
优惠方式(R.比例 M.具体金额) |
string |
None. |
authuser |
用户身份信息 |
AsUserContract |
None. |
Request Formats
application/json, text/json
Sample:
{ "fromprice": 1.0, "toprice": 2.0, "strvalue": 3.0, "strvaluetype": "sample string 4", "authuser": { "userid": "sample string 1", "password": "sample string 2" } }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
修改Markup rule range
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" }