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

获取所有配置列表(本地授权限制)

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CompanyId

公司ID

string

Required

Body Parameters

None.

Response Information

Resource Description

获取所有配置列表(本地授权限制)

Collection of SpeedPower.Utility.Models.Service.Eterms.Manager.ParentGroupModel
NameDescriptionTypeAdditional information
Accounts

组内账户列表

Collection of SpeedPower.Utility.Models.Service.Eterms.Manager.ParentAccountModel

None.

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:
[
  {
    "Accounts": [
      {
        "Connection": {
          "Connected": true,
          "Status": 0,
          "CommandTimes": 2,
          "LastCommand": "sample string 3",
          "LastCommandTime": "2024-12-24T02:51:19.7483154+08:00",
          "LastMessage": "sample string 5",
          "ProxyAddress": "sample string 6"
        },
        "Time": "2024-12-24T02:51:19.7483154+08:00",
        "ID": "sample string 2",
        "GroupId": "sample string 3",
        "UserName": "sample string 4",
        "Passsword": "sample string 5",
        "HostAddress": "sample string 6",
        "MacAddress": "sample string 7",
        "HostPort": 8,
        "IsSslConnect": true,
        "IsEnable": true,
        "IsNewVersion": true,
        "OfficeNo": "sample string 12",
        "EtermSID": "sample string 13",
        "ETermVID": "sample string 14",
        "ETermPID": "sample string 15",
        "PhoneNumber": "sample string 16",
        "Remarks": "sample string 17"
      },
      {
        "Connection": {
          "Connected": true,
          "Status": 0,
          "CommandTimes": 2,
          "LastCommand": "sample string 3",
          "LastCommandTime": "2024-12-24T02:51:19.7483154+08:00",
          "LastMessage": "sample string 5",
          "ProxyAddress": "sample string 6"
        },
        "Time": "2024-12-24T02:51:19.7483154+08:00",
        "ID": "sample string 2",
        "GroupId": "sample string 3",
        "UserName": "sample string 4",
        "Passsword": "sample string 5",
        "HostAddress": "sample string 6",
        "MacAddress": "sample string 7",
        "HostPort": 8,
        "IsSslConnect": true,
        "IsEnable": true,
        "IsNewVersion": true,
        "OfficeNo": "sample string 12",
        "EtermSID": "sample string 13",
        "ETermVID": "sample string 14",
        "ETermPID": "sample string 15",
        "PhoneNumber": "sample string 16",
        "Remarks": "sample string 17"
      }
    ],
    "CompanyId": "sample string 1",
    "Time": "2024-12-24T02:51:19.7483154+08:00",
    "ID": "sample string 3",
    "Proper": 0,
    "Name": "sample string 4",
    "Normal": true,
    "Remarks": "sample string 6"
  },
  {
    "Accounts": [
      {
        "Connection": {
          "Connected": true,
          "Status": 0,
          "CommandTimes": 2,
          "LastCommand": "sample string 3",
          "LastCommandTime": "2024-12-24T02:51:19.7483154+08:00",
          "LastMessage": "sample string 5",
          "ProxyAddress": "sample string 6"
        },
        "Time": "2024-12-24T02:51:19.7483154+08:00",
        "ID": "sample string 2",
        "GroupId": "sample string 3",
        "UserName": "sample string 4",
        "Passsword": "sample string 5",
        "HostAddress": "sample string 6",
        "MacAddress": "sample string 7",
        "HostPort": 8,
        "IsSslConnect": true,
        "IsEnable": true,
        "IsNewVersion": true,
        "OfficeNo": "sample string 12",
        "EtermSID": "sample string 13",
        "ETermVID": "sample string 14",
        "ETermPID": "sample string 15",
        "PhoneNumber": "sample string 16",
        "Remarks": "sample string 17"
      },
      {
        "Connection": {
          "Connected": true,
          "Status": 0,
          "CommandTimes": 2,
          "LastCommand": "sample string 3",
          "LastCommandTime": "2024-12-24T02:51:19.7483154+08:00",
          "LastMessage": "sample string 5",
          "ProxyAddress": "sample string 6"
        },
        "Time": "2024-12-24T02:51:19.7483154+08:00",
        "ID": "sample string 2",
        "GroupId": "sample string 3",
        "UserName": "sample string 4",
        "Passsword": "sample string 5",
        "HostAddress": "sample string 6",
        "MacAddress": "sample string 7",
        "HostPort": 8,
        "IsSslConnect": true,
        "IsEnable": true,
        "IsNewVersion": true,
        "OfficeNo": "sample string 12",
        "EtermSID": "sample string 13",
        "ETermVID": "sample string 14",
        "ETermPID": "sample string 15",
        "PhoneNumber": "sample string 16",
        "Remarks": "sample string 17"
      }
    ],
    "CompanyId": "sample string 1",
    "Time": "2024-12-24T02:51:19.7483154+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].Accounts[0].Connection.Connected"

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

OnConnecting
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].Accounts[0].Connection.CommandTimes"

2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].Accounts[0].Connection.LastCommand"

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

2024-12-24T02:51:19.7483154+08:00
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].Accounts[0].Connection.LastMessage"

sample string 5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].Accounts[0].Connection.ProxyAddress"

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

2024-12-24T02:51:19.7483154+08:00
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].Accounts[0].ID"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].Accounts[0].GroupId"

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

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

sample string 5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].Accounts[0].HostAddress"

sample string 6
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].Accounts[0].MacAddress"

sample string 7
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].Accounts[0].HostPort"

8
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].Accounts[0].IsSslConnect"

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

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

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

sample string 12
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].Accounts[0].EtermSID"

sample string 13
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].Accounts[0].ETermVID"

sample string 14
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].Accounts[0].ETermPID"

sample string 15
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].Accounts[0].PhoneNumber"

sample string 16
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].Accounts[0].Remarks"

sample string 17
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].Accounts[1].Connection.Connected"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].Accounts[1].Connection.Status"

OnConnecting
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].Accounts[1].Connection.CommandTimes"

2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].Accounts[1].Connection.LastCommand"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].Accounts[1].Connection.LastCommandTime"

2024-12-24T02:51:19.7483154+08:00
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].Accounts[1].Connection.LastMessage"

sample string 5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].Accounts[1].Connection.ProxyAddress"

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

2024-12-24T02:51:19.7483154+08:00
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].Accounts[1].ID"

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

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

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

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

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

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

8
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].Accounts[1].IsSslConnect"

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

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

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

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

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

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

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

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

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

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

2024-12-24T02:51:19.7483154+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].Accounts[0].Connection.Connected"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].Accounts[0].Connection.Status"

OnConnecting
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].Accounts[0].Connection.CommandTimes"

2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].Accounts[0].Connection.LastCommand"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].Accounts[0].Connection.LastCommandTime"

2024-12-24T02:51:19.7483154+08:00
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].Accounts[0].Connection.LastMessage"

sample string 5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].Accounts[0].Connection.ProxyAddress"

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

2024-12-24T02:51:19.7483154+08:00
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].Accounts[0].ID"

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

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

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

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

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

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

8
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].Accounts[0].IsSslConnect"

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

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

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

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

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

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

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

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

sample string 17
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].Accounts[1].Connection.Connected"

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

OnConnecting
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].Accounts[1].Connection.CommandTimes"

2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].Accounts[1].Connection.LastCommand"

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

2024-12-24T02:51:19.7483154+08:00
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].Accounts[1].Connection.LastMessage"

sample string 5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].Accounts[1].Connection.ProxyAddress"

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

2024-12-24T02:51:19.7483154+08:00
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].Accounts[1].ID"

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

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

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

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

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

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

8
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].Accounts[1].IsSslConnect"

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

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

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

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

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

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

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

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

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

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

2024-12-24T02:51:19.7483154+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--