POST api/organgroups/getorgangroupsinfolist
获取分组列表
Request Information
Body Parameters
GetOrganGroupsListModelName | Description | Type | Additional information |
---|---|---|---|
UserId |
用户ID |
integer |
None. |
ParentId |
上级分组ID |
integer |
None. |
Language |
语言选项 国内一般用zh-cn |
string |
Required |
TimeOffset |
手机当前时区,值为数字,如东八区为 8 ,西八区为 -8 |
decimal number |
Required |
AppId |
APP应用标识 平台申请后返回的APPID |
string |
Required |
Response Information
Resource Description
OrganGroupsResultName | Description | Type | Additional information |
---|---|---|---|
Item |
用户分组列表信息 |
Collection of OrganGroups |
None. |
State | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Item": [ { "GroupId": 1, "OrgId": 2, "GroupName": "sample string 3", "Description": "sample string 4", "ParentId": 5, "Created": "2025-05-06 19:22:27", "Deleted": true, "Icon": "sample string 8" }, { "GroupId": 1, "OrgId": 2, "GroupName": "sample string 3", "Description": "sample string 4", "ParentId": 5, "Created": "2025-05-06 19:22:27", "Deleted": true, "Icon": "sample string 8" } ], "State": 1, "Message": "sample string 2" }
application/xml, text/xml
Sample:
<OrganGroupsResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gps.OpenApi.Models.ResponseModels"> <Message>sample string 2</Message> <State>1</State> <Item xmlns:d2p1="http://schemas.datacontract.org/2004/07/Gps.DbModels.WebDbModels"> <d2p1:OrganGroups> <d2p1:Created>2025-05-06T19:22:27.0177876+08:00</d2p1:Created> <d2p1:Deleted>true</d2p1:Deleted> <d2p1:Description>sample string 4</d2p1:Description> <d2p1:GroupId>1</d2p1:GroupId> <d2p1:GroupName>sample string 3</d2p1:GroupName> <d2p1:Icon>sample string 8</d2p1:Icon> <d2p1:OrgId>2</d2p1:OrgId> <d2p1:ParentId>5</d2p1:ParentId> </d2p1:OrganGroups> <d2p1:OrganGroups> <d2p1:Created>2025-05-06T19:22:27.0177876+08:00</d2p1:Created> <d2p1:Deleted>true</d2p1:Deleted> <d2p1:Description>sample string 4</d2p1:Description> <d2p1:GroupId>1</d2p1:GroupId> <d2p1:GroupName>sample string 3</d2p1:GroupName> <d2p1:Icon>sample string 8</d2p1:Icon> <d2p1:OrgId>2</d2p1:OrgId> <d2p1:ParentId>5</d2p1:ParentId> </d2p1:OrganGroups> </Item> </OrganGroupsResult>