GET Api/Invoke/GetCompanySetting/{CompanyId}
获取公司设置项
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
CompanyId |
公司ID |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
获取公司设置项
SpeedPower.Utility.Models.Project.Agents.Service.Setting.ParentCompanyModelName | Description | Type | Additional information |
---|---|---|---|
ExpandSettings |
扩展参数设置列表 |
Collection of SpeedPower.Utility.Models.Project.Agents.Service.Setting.GetExpandSettingModel |
None. |
SiteSettings |
站点列表 |
Collection of SpeedPower.Utility.Models.Project.Agents.Service.Setting.ParentSiteSettingModel |
None. |
ID |
公司ID |
string |
Required String length: inclusive between 0 and 128 |
Name |
公司名称 |
string |
Required String length: inclusive between 0 and 50 |
Status |
公司状态 |
boolean |
None. |
Profile |
公司介绍 |
string |
String length: inclusive between 0 and 4000 |
Time |
添加时间 |
date |
None. |
Response Formats
application/json, text/json
Sample:
{ "ExpandSettings": [ { "CompanyId": "sample string 1", "ID": "08522d9b-5ae7-41ff-aab6-89abed575b98", "SettingKey": "sample string 3", "SettingValue": "sample string 4" }, { "CompanyId": "sample string 1", "ID": "08522d9b-5ae7-41ff-aab6-89abed575b98", "SettingKey": "sample string 3", "SettingValue": "sample string 4" } ], "SiteSettings": [ { "SiteExpandSettings": [ { "ID": "28195ac7-bf38-4e36-ad44-b00e2f163b14", "SiteSettingId": "sample string 2", "SettingKey": "sample string 3", "SettingValue": "sample string 4" }, { "ID": "28195ac7-bf38-4e36-ad44-b00e2f163b14", "SiteSettingId": "sample string 2", "SettingKey": "sample string 3", "SettingValue": "sample string 4" } ], "ID": "sample string 1", "CompanyId": "sample string 2", "ChannelCode": "sample string 3", "SiteCode": "sample string 4", "SiteName": "sample string 5", "SiteStatus": true, "SiteProfile": "sample string 7", "Time": "2024-12-09T14:45:38.2946114+08:00" }, { "SiteExpandSettings": [ { "ID": "28195ac7-bf38-4e36-ad44-b00e2f163b14", "SiteSettingId": "sample string 2", "SettingKey": "sample string 3", "SettingValue": "sample string 4" }, { "ID": "28195ac7-bf38-4e36-ad44-b00e2f163b14", "SiteSettingId": "sample string 2", "SettingKey": "sample string 3", "SettingValue": "sample string 4" } ], "ID": "sample string 1", "CompanyId": "sample string 2", "ChannelCode": "sample string 3", "SiteCode": "sample string 4", "SiteName": "sample string 5", "SiteStatus": true, "SiteProfile": "sample string 7", "Time": "2024-12-09T14:45:38.2946114+08:00" } ], "ID": "sample string 1", "Name": "sample string 2", "Status": true, "Profile": "sample string 4", "Time": "2024-12-09T14:45:38.2946114+08:00" }