POST v1/permission/search
查询权限列表
Request Information
URI Parameters
None.
Body Parameters
搜索模型
SearchModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PageNo |
当前页码 |
integer |
None. |
| PageSize |
分页大小 |
integer |
None. |
| Sorts |
排序条件 |
Collection of SortDescriptor |
None. |
| Filters |
过滤条件 |
Collection of FilterDescriptor |
None. |
Request Formats
application/json, text/json
Sample:
{
"pageNo": 1,
"pageSize": 2,
"sorts": [
{
"member": "sample string 1",
"direction": "Ascending"
},
{
"member": "sample string 1",
"direction": "Ascending"
}
],
"filters": [
{
"member": "sample string 1",
"operator": "IsLessThan",
"value": {}
},
{
"member": "sample string 1",
"operator": "IsLessThan",
"value": {}
}
]
}
application/xml, text/xml
Sample:
<SearchModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BgOA.Models.SearchModels">
<Filters>
<FilterDescriptor>
<Member>sample string 1</Member>
<Operator>IsLessThan</Operator>
<Value />
</FilterDescriptor>
<FilterDescriptor>
<Member>sample string 1</Member>
<Operator>IsLessThan</Operator>
<Value />
</FilterDescriptor>
</Filters>
<PageNo>1</PageNo>
<PageSize>2</PageSize>
<Sorts>
<SortDescriptor>
<Member>sample string 1</Member>
<SortDirection>Ascending</SortDirection>
</SortDescriptor>
<SortDescriptor>
<Member>sample string 1</Member>
<SortDirection>Ascending</SortDirection>
</SortDescriptor>
</Sorts>
</SearchModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiListResultOfPermissionModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Result | Collection of PermissionModel |
None. |
|
| Total | integer |
None. |
|
| PageCount | integer |
None. |
|
| ResultCode | string |
None. |
|
| ErrorMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"result": [
{
"tag": "sample string 1",
"name": "sample string 2",
"category": 0,
"categoryDisplay": "菜单",
"navigateUrl": "sample string 3",
"sort": 4,
"remark": "sample string 5",
"parentId": 1,
"isUsed": true,
"iconFont": "sample string 7",
"childs": [],
"hasChildren": true,
"id": 9,
"createdTime": "2026-07-28 16:49:39",
"createdBy": "sample string 11",
"updatedTime": "2026-07-28 16:49:39",
"updatedBy": "sample string 12",
"isDeleted": true,
"deletedTime": "2026-07-28 16:49:39",
"deletedBy": "sample string 14"
},
{
"tag": "sample string 1",
"name": "sample string 2",
"category": 0,
"categoryDisplay": "菜单",
"navigateUrl": "sample string 3",
"sort": 4,
"remark": "sample string 5",
"parentId": 1,
"isUsed": true,
"iconFont": "sample string 7",
"childs": [],
"hasChildren": true,
"id": 9,
"createdTime": "2026-07-28 16:49:39",
"createdBy": "sample string 11",
"updatedTime": "2026-07-28 16:49:39",
"updatedBy": "sample string 12",
"isDeleted": true,
"deletedTime": "2026-07-28 16:49:39",
"deletedBy": "sample string 14"
}
],
"total": 1,
"pageCount": 1,
"resultCode": "sample string 1",
"errorMessage": "sample string 2"
}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.