POST api/hotel/curx/markup/rule/range/add

添加Markup rule range

Request Information

URI Parameters

None.

Body Parameters

AsMarkupAddRangeRQContract
NameDescriptionTypeAdditional information
ruleid

string

None.

fromprice

decimal number

None.

toprice

decimal number

None.

strvalue

decimal number

None.

strvaluetype

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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AsMarkupAddRangeRQContract'.

Response Information

Resource Description

添加Markup rule range

ReturnResultOfString
NameDescriptionTypeAdditional 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"
}