GET Api/Invoke/GetCompanySettings

获取所有公司设置项

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

获取所有公司设置项

Collection of SpeedPower.Utility.Models.Project.Agents.Service.Setting.ParentCompanyModel
NameDescriptionTypeAdditional 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": "1a65464d-58c4-437a-99f5-fe69099f5b5a",
        "SettingKey": "sample string 3",
        "SettingValue": "sample string 4"
      },
      {
        "CompanyId": "sample string 1",
        "ID": "1a65464d-58c4-437a-99f5-fe69099f5b5a",
        "SettingKey": "sample string 3",
        "SettingValue": "sample string 4"
      }
    ],
    "SiteSettings": [
      {
        "SiteExpandSettings": [
          {
            "ID": "232a16bf-1c65-4602-ae00-2ad865cc85f8",
            "SiteSettingId": "sample string 2",
            "SettingKey": "sample string 3",
            "SettingValue": "sample string 4"
          },
          {
            "ID": "232a16bf-1c65-4602-ae00-2ad865cc85f8",
            "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-09T15:12:47.6084979+08:00"
      },
      {
        "SiteExpandSettings": [
          {
            "ID": "232a16bf-1c65-4602-ae00-2ad865cc85f8",
            "SiteSettingId": "sample string 2",
            "SettingKey": "sample string 3",
            "SettingValue": "sample string 4"
          },
          {
            "ID": "232a16bf-1c65-4602-ae00-2ad865cc85f8",
            "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-09T15:12:47.6084979+08:00"
      }
    ],
    "ID": "sample string 1",
    "Name": "sample string 2",
    "Status": true,
    "Profile": "sample string 4",
    "Time": "2024-12-09T15:12:47.6084979+08:00"
  },
  {
    "ExpandSettings": [
      {
        "CompanyId": "sample string 1",
        "ID": "1a65464d-58c4-437a-99f5-fe69099f5b5a",
        "SettingKey": "sample string 3",
        "SettingValue": "sample string 4"
      },
      {
        "CompanyId": "sample string 1",
        "ID": "1a65464d-58c4-437a-99f5-fe69099f5b5a",
        "SettingKey": "sample string 3",
        "SettingValue": "sample string 4"
      }
    ],
    "SiteSettings": [
      {
        "SiteExpandSettings": [
          {
            "ID": "232a16bf-1c65-4602-ae00-2ad865cc85f8",
            "SiteSettingId": "sample string 2",
            "SettingKey": "sample string 3",
            "SettingValue": "sample string 4"
          },
          {
            "ID": "232a16bf-1c65-4602-ae00-2ad865cc85f8",
            "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-09T15:12:47.6084979+08:00"
      },
      {
        "SiteExpandSettings": [
          {
            "ID": "232a16bf-1c65-4602-ae00-2ad865cc85f8",
            "SiteSettingId": "sample string 2",
            "SettingKey": "sample string 3",
            "SettingValue": "sample string 4"
          },
          {
            "ID": "232a16bf-1c65-4602-ae00-2ad865cc85f8",
            "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-09T15:12:47.6084979+08:00"
      }
    ],
    "ID": "sample string 1",
    "Name": "sample string 2",
    "Status": true,
    "Profile": "sample string 4",
    "Time": "2024-12-09T15:12:47.6084979+08:00"
  }
]