GET omsapi/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
获取群组
GroupQuery| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | globally unique identifier |
None. |
|
| CreatorID |
创建人 |
integer |
None. |
| CreatorName | string |
None. |
|
| CreatorHeadPic | string |
None. |
|
| BannerPicUrl |
群组banner图 |
string |
None. |
| GenreID | globally unique identifier |
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. |
| CompanyID | integer |
None. |
|
| CompanyName | string |
None. |
|
| InterestType | integer |
None. |
|
| CreateTime | date |
None. |
|
| UpdateTime | date |
None. |
Response Formats
application/json, text/json
Sample:
{
"ID": "1db31bde-09d1-4057-be61-a076a5e918be",
"CreatorID": 2,
"CreatorName": "sample string 3",
"CreatorHeadPic": "sample string 4",
"BannerPicUrl": "sample string 5",
"GenreID": "52172fa9-689b-43e9-9c46-35248168d1a9",
"GenreName": "sample string 7",
"Name": "sample string 8",
"CID": "sample string 9",
"ImgUrl": "sample string 10",
"Describe": "sample string 11",
"IsVisible": true,
"IsCompany": true,
"CompanyID": 14,
"CompanyName": "sample string 15",
"InterestType": 16,
"CreateTime": "2025-12-16T04:13:33.2789226+08:00",
"UpdateTime": "2025-12-16T04:13:33.2789226+08:00"
}
application/xml, text/xml
Sample:
<GroupQuery xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Care365_V2.Model.IMSys"> <BannerPicUrl>sample string 5</BannerPicUrl> <CID>sample string 9</CID> <CompanyID>14</CompanyID> <CompanyName>sample string 15</CompanyName> <CreateTime>2025-12-16T04:13:33.2789226+08:00</CreateTime> <CreatorHeadPic>sample string 4</CreatorHeadPic> <CreatorID>2</CreatorID> <CreatorName>sample string 3</CreatorName> <Describe>sample string 11</Describe> <GenreID>52172fa9-689b-43e9-9c46-35248168d1a9</GenreID> <GenreName>sample string 7</GenreName> <ID>1db31bde-09d1-4057-be61-a076a5e918be</ID> <ImgUrl>sample string 10</ImgUrl> <InterestType>16</InterestType> <IsCompany>true</IsCompany> <IsVisible>true</IsVisible> <Name>sample string 8</Name> <UpdateTime>2025-12-16T04:13:33.2789226+08:00</UpdateTime> </GroupQuery>