GET Api/Service/Signal/GetUsers/{CompanyId}
获取指定公司所有已连接集线器用户列表
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
CompanyId |
公司Id |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
获取指定公司所有已连接集线器用户列表
Collection of SpeedPower.Utility.Models.Service.SignalR.UserConnectionModelName | Description | Type | Additional information |
---|---|---|---|
ConnectionId |
连接ID |
string |
Required |
HubType |
用户登录类型 |
SpeedPower.Utility.Models.Service.SignalR.Enums.HubCenterType |
None. |
OnConnectedTime |
连接时间 |
date |
None. |
UserModel |
用户信息 |
SpeedPower.Utility.Models.Service.MIUsers.UserModel |
None. |
Response Formats
application/json, text/json
Sample:
[ { "ConnectionId": "sample string 1", "HubType": 0, "OnConnectedTime": "2024-12-24T02:49:34.9212137+08:00", "UserModel": { "UserInfo": { "UserId": "sample string 1", "UserName": "sample string 2", "CompanyId": "sample string 3", "PhoneNumber": "sample string 4", "Email": "sample string 5", "Creater": "sample string 6", "Time": "2024-12-24T02:49:34.9212137+08:00", "Locked": true, "LockoutEnabled": true, "LockoutEndDateUtc": "2024-12-24T02:49:34.9212137+08:00", "LoginAddress": "sample string 10", "LoginTime": "2024-12-24T02:49:34.9212137+08:00" }, "RolesInfo": [ { "RoleId": "sample string 1", "RoleName": "sample string 2", "Remark": "sample string 3" }, { "RoleId": "sample string 1", "RoleName": "sample string 2", "Remark": "sample string 3" } ] } }, { "ConnectionId": "sample string 1", "HubType": 0, "OnConnectedTime": "2024-12-24T02:49:34.9212137+08:00", "UserModel": { "UserInfo": { "UserId": "sample string 1", "UserName": "sample string 2", "CompanyId": "sample string 3", "PhoneNumber": "sample string 4", "Email": "sample string 5", "Creater": "sample string 6", "Time": "2024-12-24T02:49:34.9212137+08:00", "Locked": true, "LockoutEnabled": true, "LockoutEndDateUtc": "2024-12-24T02:49:34.9212137+08:00", "LoginAddress": "sample string 10", "LoginTime": "2024-12-24T02:49:34.9212137+08:00" }, "RolesInfo": [ { "RoleId": "sample string 1", "RoleName": "sample string 2", "Remark": "sample string 3" }, { "RoleId": "sample string 1", "RoleName": "sample string 2", "Remark": "sample string 3" } ] } } ]
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].ConnectionId" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].HubType" Chat --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].OnConnectedTime" 2024-12-24T02:49:34.9212137+08:00 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].UserModel.UserInfo.UserId" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].UserModel.UserInfo.UserName" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].UserModel.UserInfo.CompanyId" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].UserModel.UserInfo.PhoneNumber" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].UserModel.UserInfo.Email" sample string 5 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].UserModel.UserInfo.Creater" sample string 6 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].UserModel.UserInfo.Time" 2024-12-24T02:49:34.9212137+08:00 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].UserModel.UserInfo.Locked" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].UserModel.UserInfo.LockoutEnabled" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].UserModel.UserInfo.LockoutEndDateUtc" 2024-12-24T02:49:34.9212137+08:00 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].UserModel.UserInfo.LoginAddress" sample string 10 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].UserModel.UserInfo.LoginTime" 2024-12-24T02:49:34.9212137+08:00 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].UserModel.RolesInfo[0].RoleId" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].UserModel.RolesInfo[0].RoleName" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].UserModel.RolesInfo[0].Remark" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].UserModel.RolesInfo[1].RoleId" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].UserModel.RolesInfo[1].RoleName" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].UserModel.RolesInfo[1].Remark" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].ConnectionId" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].HubType" Chat --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].OnConnectedTime" 2024-12-24T02:49:34.9212137+08:00 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].UserModel.UserInfo.UserId" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].UserModel.UserInfo.UserName" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].UserModel.UserInfo.CompanyId" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].UserModel.UserInfo.PhoneNumber" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].UserModel.UserInfo.Email" sample string 5 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].UserModel.UserInfo.Creater" sample string 6 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].UserModel.UserInfo.Time" 2024-12-24T02:49:34.9212137+08:00 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].UserModel.UserInfo.Locked" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].UserModel.UserInfo.LockoutEnabled" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].UserModel.UserInfo.LockoutEndDateUtc" 2024-12-24T02:49:34.9212137+08:00 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].UserModel.UserInfo.LoginAddress" sample string 10 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].UserModel.UserInfo.LoginTime" 2024-12-24T02:49:34.9212137+08:00 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].UserModel.RolesInfo[0].RoleId" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].UserModel.RolesInfo[0].RoleName" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].UserModel.RolesInfo[0].Remark" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].UserModel.RolesInfo[1].RoleId" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].UserModel.RolesInfo[1].RoleName" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].UserModel.RolesInfo[1].Remark" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e--