POST api/hotel/curx/markup/rule/get/{ruleid}

获取单个markup规则

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ruleid

ruleid

string

Required

Body Parameters

AsHotelUserAuthentContract
NameDescriptionTypeAdditional information
authuser

用户身份信息

AsUserContract

None.

Request Formats

application/json, text/json

Sample:
{
  "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 'AsHotelUserAuthentContract'.

Response Information

Resource Description

获取单个markup规则

ReturnResultOfAsMarkupRuleRSContract
NameDescriptionTypeAdditional information
data

AsMarkupRuleRSContract

None.

code

状态码:100成功,其他自定义

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": {
    "ruleid": "sample string 1",
    "citycode": "sample string 2",
    "groupid": "sample string 3",
    "effstartdate": "2024-12-23T19:47:49.2441398+08:00",
    "effenddate": "2024-12-23T19:47:49.2441398+08:00",
    "searchstartdate": "2024-12-23T19:47:49.2441398+08:00",
    "searchenddate": "2024-12-23T19:47:49.2441398+08:00",
    "priority": 8,
    "isenable": true,
    "addtime": "2024-12-23T19:47:49.2441398+08:00"
  },
  "code": 1,
  "message": "sample string 2"
}