POST api/hotel/curx/markup/rule/list

分页获取markup规则

Request Information

URI Parameters

None.

Body Parameters

AsMarkupPageRuleRQContract
NameDescriptionTypeAdditional information
pageindex

当前页码

integer

None.

pagesize

每页数量

integer

None.

authuser

用户身份信息

AsUserContract

None.

Request Formats

application/json, text/json

Sample:
{
  "pageindex": 1,
  "pagesize": 2,
  "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 'AsMarkupPageRuleRQContract'.

Response Information

Resource Description

分页获取markup规则

ReturnResultOfPageListOfAsMarkupPageRuleRSContract
NameDescriptionTypeAdditional information
data

PageListOfAsMarkupPageRuleRSContract

None.

code

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

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": {
    "total_count": 1,
    "page": 2,
    "page_size": 3,
    "data_list": [
      {
        "ruleid": "sample string 1",
        "citycode": "sample string 2",
        "city": "sample string 3",
        "groupid": "sample string 4",
        "groupname": "sample string 5",
        "effstartdate": "2024-12-23T19:23:42.6140775+08:00",
        "effenddate": "2024-12-23T19:23:42.6140775+08:00",
        "searchstartdate": "2024-12-23T19:23:42.6140775+08:00",
        "searchenddate": "2024-12-23T19:23:42.6140775+08:00",
        "priority": 10,
        "isenable": true,
        "addtime": "2024-12-23T19:23:42.6140775+08:00"
      },
      {
        "ruleid": "sample string 1",
        "citycode": "sample string 2",
        "city": "sample string 3",
        "groupid": "sample string 4",
        "groupname": "sample string 5",
        "effstartdate": "2024-12-23T19:23:42.6140775+08:00",
        "effenddate": "2024-12-23T19:23:42.6140775+08:00",
        "searchstartdate": "2024-12-23T19:23:42.6140775+08:00",
        "searchenddate": "2024-12-23T19:23:42.6140775+08:00",
        "priority": 10,
        "isenable": true,
        "addtime": "2024-12-23T19:23:42.6140775+08:00"
      }
    ],
    "page_count": 1
  },
  "code": 1,
  "message": "sample string 2"
}