GET api/TaskManager/GetRulesList?dept_id={dept_id}&is_prohibit={is_prohibit}&page={page}&pagesize={pagesize}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
dept_id | integer |
None. |
|
is_prohibit | integer |
None. |
|
page | integer |
None. |
|
pagesize | integer |
None. |
Body Parameters
None.
Response Information
Resource Description
BaseResponseOfPageBaseResultOfGetManagerRulesDtoName | Description | Type | Additional information |
---|---|---|---|
data | PageBaseResultOfGetManagerRulesDto |
None. |
|
msg | string |
None. |
|
code | integer |
None. |
|
total | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": { "list": [ { "id": 1, "rules_name": "sample string 2", "dept_name": "sample string 3", "update_name": "sample string 4", "update_time": "2025-04-04T10:00:22.1377739+08:00", "is_prohibit": 5, "is_prohibit_label": "禁用" }, { "id": 1, "rules_name": "sample string 2", "dept_name": "sample string 3", "update_name": "sample string 4", "update_time": "2025-04-04T10:00:22.1377739+08:00", "is_prohibit": 5, "is_prohibit_label": "禁用" } ], "total": 1 }, "msg": "sample string 1", "code": 2, "total": 3 }
application/xml, text/xml
Sample:
<BaseResponseOfPageBaseResultOfGetManagerRulesDtogLTqVTfsgLTqVTfs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LearnAPI"> <code>2</code> <msg>sample string 1</msg> <total>3</total> <data xmlns:d2p1="http://schemas.datacontract.org/2004/07/LearnAPI.ViewModel"> <d2p1:list> <d2p1:GetManagerRulesDto> <d2p1:dept_name>sample string 3</d2p1:dept_name> <d2p1:id>1</d2p1:id> <d2p1:is_prohibit>5</d2p1:is_prohibit> <d2p1:rules_name>sample string 2</d2p1:rules_name> <d2p1:update_name>sample string 4</d2p1:update_name> <d2p1:update_time>2025-04-04T10:00:22.1377739+08:00</d2p1:update_time> </d2p1:GetManagerRulesDto> <d2p1:GetManagerRulesDto> <d2p1:dept_name>sample string 3</d2p1:dept_name> <d2p1:id>1</d2p1:id> <d2p1:is_prohibit>5</d2p1:is_prohibit> <d2p1:rules_name>sample string 2</d2p1:rules_name> <d2p1:update_name>sample string 4</d2p1:update_name> <d2p1:update_time>2025-04-04T10:00:22.1377739+08:00</d2p1:update_time> </d2p1:GetManagerRulesDto> </d2p1:list> <d2p1:total>1</d2p1:total> </data> </BaseResponseOfPageBaseResultOfGetManagerRulesDtogLTqVTfsgLTqVTfs>