POST api/hotel/curx/markup/citygroup/list/{lang}

分页获取城市分组

Request Information

URI Parameters

NameDescriptionTypeAdditional information
lang

语言(zh-hk,en-us,zh-cn)

string

Required

Body Parameters

AsMarkupPageCityGroupRQContract
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 'AsMarkupPageCityGroupRQContract'.

Response Information

Resource Description

分页获取城市分组

ReturnResultOfPageListOfAsMarkupCityGroupRSContract
NameDescriptionTypeAdditional information
data

PageListOfAsMarkupCityGroupRSContract

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": [
      {
        "groupid": "sample string 1",
        "groupname": "sample string 2",
        "citylist": [
          {
            "citycode": "sample string 1",
            "cityname": "sample string 2"
          },
          {
            "citycode": "sample string 1",
            "cityname": "sample string 2"
          }
        ]
      },
      {
        "groupid": "sample string 1",
        "groupname": "sample string 2",
        "citylist": [
          {
            "citycode": "sample string 1",
            "cityname": "sample string 2"
          },
          {
            "citycode": "sample string 1",
            "cityname": "sample string 2"
          }
        ]
      }
    ],
    "page_count": 1
  },
  "code": 1,
  "message": "sample string 2"
}