GET Api/Service/Eterm/GetGroups/{CompanyId}

基于公司ID获取所有组列表(本地授权限制)

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CompanyId

string

Required

Body Parameters

None.

Response Information

Resource Description

基于公司ID获取所有组列表(本地授权限制)

Collection of SpeedPower.Utility.Models.Service.Eterms.Manager.GetGroupModel
NameDescriptionTypeAdditional information
CompanyId

公司ID

string

Required

String length: inclusive between 0 and 50

Time

添加时间

date

None.

ID

组ID

string

Required

String length: inclusive between 0 and 128

Proper

组适用方式

SpeedPower.Utility.Models.Service.Eterms.Enums.ProperType

None.

Name

组名称

string

Required

String length: inclusive between 0 and 50

Normal

当前组否为默认组

boolean

None.

Remarks

组备注

string

String length: inclusive between 0 and 500

Response Formats

application/json, text/json

Sample:
[
  {
    "CompanyId": "sample string 1",
    "Time": "2024-12-24T03:03:28.0162593+08:00",
    "ID": "sample string 3",
    "Proper": 0,
    "Name": "sample string 4",
    "Normal": true,
    "Remarks": "sample string 6"
  },
  {
    "CompanyId": "sample string 1",
    "Time": "2024-12-24T03:03:28.0162593+08:00",
    "ID": "sample string 3",
    "Proper": 0,
    "Name": "sample string 4",
    "Normal": true,
    "Remarks": "sample string 6"
  }
]

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].CompanyId"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].Time"

2024-12-24T03:03:28.0162593+08:00
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].ID"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].Proper"

WebApi
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].Name"

sample string 4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].Normal"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].Remarks"

sample string 6
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].CompanyId"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].Time"

2024-12-24T03:03:28.0162593+08:00
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].ID"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].Proper"

WebApi
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].Name"

sample string 4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].Normal"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].Remarks"

sample string 6
--MultipartDataMediaFormatterBoundary1q2w3e--