GET Api/Service/Setting/GetChannelBySiteId/{SiteId}
获取指定渠道设置项(基于站点ID)
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
SiteId |
站点ID |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
获取指定渠道设置项(基于站点ID)
SpeedPower.Utility.Models.Project.Agents.Service.Setting.ParentChannelModelName | Description | Type | Additional 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" }