GET api/Group?u={u}&t={t}&d={d}
获取群组
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| u |
用户ID |
integer |
Required |
| t |
[用户ID]|[用户密码,加密]|[requestTime]|[设备标识],加密 |
string |
Required |
| d |
ID=[系统群组ID,guid,优先使用],CID=[第三方接口群组ID,string] |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
获取群组
GroupOutput| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | globally unique identifier |
None. |
|
| CreatorName | string |
None. |
|
| CreatorHeadPic | string |
None. |
|
| BannerPicUrl |
群组banner图地址 |
string |
None. |
| HasJoined |
当前用户是否入群 |
boolean |
None. |
| GenreName | string |
None. |
|
| Name | string |
None. |
|
| CID |
容联云IM群组ID |
string |
None. |
| ImgUrl |
缩略图 typeid=19 |
string |
None. |
| Describe | string |
None. |
|
| IsVisible |
是否对外可见 继承自GroupGenre |
boolean |
None. |
| IsCompany |
是否单位群 |
boolean |
None. |
| CompanyName | string |
None. |
|
| CreateTime | date |
None. |
|
| UpdateTime | date |
None. |
|
| allowInvite | boolean |
None. |
|
| needReview | boolean |
None. |
|
| canManage | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"ID": "aadb1386-9f93-40b0-9127-fd7700fe71e2",
"CreatorName": "sample string 2",
"CreatorHeadPic": "sample string 3",
"BannerPicUrl": "sample string 4",
"HasJoined": true,
"GenreName": "sample string 6",
"Name": "sample string 7",
"CID": "sample string 8",
"ImgUrl": "sample string 9",
"Describe": "sample string 10",
"IsVisible": true,
"IsCompany": true,
"CompanyName": "sample string 13",
"CreateTime": "2025-12-16T04:10:16.4942203+08:00",
"UpdateTime": "2025-12-16T04:10:16.4942203+08:00",
"allowInvite": true,
"needReview": true,
"canManage": true
}
application/xml, text/xml
Sample:
<GroupOutput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Care365_V2.Model.IMSys"> <BannerPicUrl>sample string 4</BannerPicUrl> <CID>sample string 8</CID> <CompanyName>sample string 13</CompanyName> <CreateTime>2025-12-16T04:10:16.4942203+08:00</CreateTime> <CreatorHeadPic>sample string 3</CreatorHeadPic> <CreatorName>sample string 2</CreatorName> <Describe>sample string 10</Describe> <GenreName>sample string 6</GenreName> <HasJoined>true</HasJoined> <ID>aadb1386-9f93-40b0-9127-fd7700fe71e2</ID> <ImgUrl>sample string 9</ImgUrl> <IsCompany>true</IsCompany> <IsVisible>true</IsVisible> <Name>sample string 7</Name> <UpdateTime>2025-12-16T04:10:16.4942203+08:00</UpdateTime> <allowInvite>true</allowInvite> <canManage>true</canManage> <needReview>true</needReview> </GroupOutput>