POST api/hotel/curx/markup/rule/range/add
添加Markup rule range
Request Information
URI Parameters
None.
Body Parameters
AsMarkupAddRangeRQContractName | Description | Type | Additional information |
---|---|---|---|
ruleid |
规则编号 |
string |
None. |
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:
{ "ruleid": "sample string 1", "fromprice": 2.0, "toprice": 3.0, "strvalue": 4.0, "strvaluetype": "sample string 5", "authuser": { "userid": "sample string 1", "password": "sample string 2" } }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
添加Markup rule range
ReturnResultOfStringName | Description | Type | Additional information |
---|---|---|---|
data | string |
None. |
|
code |
状态码:100成功,其他自定义 |
integer |
None. |
message |
提示消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": "sample string 1", "code": 2, "message": "sample string 3" }