GET Api/Invoke/GetChannels

获取所有渠道列表

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

获取所有渠道列表

Collection of 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"
  },
  {
    "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"
  }
]