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

添加Markup规则

Request Information

URI Parameters

None.

Body Parameters

AsMarkupAddRuleRQContract
NameDescriptionTypeAdditional 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-23T19:32:58.716971+08:00",
  "effenddate": "2024-12-23T19:32:58.716971+08:00",
  "searchstartdate": "2024-12-23T19:32:58.716971+08:00",
  "searchenddate": "2024-12-23T19:32:58.716971+08:00",
  "priority": 7,
  "isenable": true,
  "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 'AsMarkupAddRuleRQContract'.

Response Information

Resource Description

添加Markup规则

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