POST api/hotel/curx/markup/citygroup/modify/{groupId}

修改城市分组

Request Information

URI Parameters

NameDescriptionTypeAdditional information
groupId

分组编号

string

Required

Body Parameters

AsMarkupAddCityGroupRQContract
NameDescriptionTypeAdditional information
groupname

城市分组名称

string

None.

citylist

城市Code列表

Collection of string

None.

authuser

用户身份信息

AsUserContract

None.

Request Formats

application/json, text/json

Sample:
{
  "groupname": "sample string 1",
  "citylist": [
    "sample string 1",
    "sample string 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 'AsMarkupAddCityGroupRQContract'.

Response Information

Resource Description

修改城市分组

ReturnResultOfBoolean
NameDescriptionTypeAdditional information
data

boolean

None.

code

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

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": true,
  "code": 2,
  "message": "sample string 3"
}