GET Api/Invoke/GetChannelByCode/{ChannelCode}

获取指定渠道设置项(基于渠道代码)

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ChannelCode

渠道代码

string

Required

Body Parameters

None.

Response Information

Resource Description

获取指定渠道设置项(基于渠道代码)

SpeedPower.Utility.Models.Project.Agents.Service.Setting.ParentChannelModel
NameDescriptionTypeAdditional information
Accessorys

扩展参数列表

Collection of SpeedPower.Utility.Models.Project.Agents.Service.Setting.ParentAccessoryModel

None.

ChannelCode

渠道代码

string

Required

String length: inclusive between 0 and 20

Name

渠道名称

string

Required

String length: inclusive between 0 and 50

Remark

备注

string

Required

String length: inclusive between 0 and 500

Response Formats

application/json, text/json

Sample:
{
  "Accessorys": [
    {
      "AccessoryExpands": [
        {
          "SettingKey": "sample string 1",
          "SettingValue": "sample string 2"
        },
        {
          "SettingKey": "sample string 1",
          "SettingValue": "sample string 2"
        }
      ],
      "AccessoryType": 0,
      "Remark": "sample string 1"
    },
    {
      "AccessoryExpands": [
        {
          "SettingKey": "sample string 1",
          "SettingValue": "sample string 2"
        },
        {
          "SettingKey": "sample string 1",
          "SettingValue": "sample string 2"
        }
      ],
      "AccessoryType": 0,
      "Remark": "sample string 1"
    }
  ],
  "ChannelCode": "sample string 1",
  "Name": "sample string 2",
  "Remark": "sample string 3"
}