GET api/hotel/techson/getpromotiongroup?lang={lang}&code={code}&name={name}&isdownload={isdownload}

获取促销分组

Request Information

URI Parameters

NameDescriptionTypeAdditional information
lang

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

string

Required

code

code

string

Default value is

name

name

string

Default value is

isdownload

是否更新到本地库

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

获取促销分组

ReturnResultOfwebPromotionGroupRS
NameDescriptionTypeAdditional information
data

webPromotionGroupRS

None.

code

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

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": {
    "webPromotionGroupListField": [
      {
        "codeField": "sample string 1",
        "nameENGField": "sample string 2",
        "nameCHNField": "sample string 3",
        "nameSIMField": "sample string 4",
        "PropertyChanged": null
      },
      {
        "codeField": "sample string 1",
        "nameENGField": "sample string 2",
        "nameCHNField": "sample string 3",
        "nameSIMField": "sample string 4",
        "PropertyChanged": null
      }
    ],
    "serviceErrorField": {
      "timestampField": 1,
      "codeField": "sample string 2",
      "messageField": "sample string 3",
      "detailedMessageField": "sample string 4",
      "PropertyChanged": null
    },
    "rawDataField": "sample string 1",
    "morePageField": true,
    "morePageFieldSpecified": true,
    "PropertyChanged": null
  },
  "code": 1,
  "message": "sample string 2"
}