GET api/TaskManager/GetTasksList?task_name={task_name}&is_prohibit={is_prohibit}&page={page}&pagesize={pagesize}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
task_name | string |
None. |
|
is_prohibit | integer |
None. |
|
page | integer |
None. |
|
pagesize | integer |
None. |
Body Parameters
None.
Response Information
Resource Description
BaseResponseOfPageBaseResultOfGetManagerTasksDtoName | Description | Type | Additional information |
---|---|---|---|
data | PageBaseResultOfGetManagerTasksDto |
None. |
|
msg | string |
None. |
|
code | integer |
None. |
|
total | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": { "list": [ { "id": 1, "task_name": "sample string 2", "update_name": "sample string 3", "update_time": "2024-11-25T16:34:56.1142965+08:00", "is_prohibit": 4, "is_prohibit_label": "禁用" }, { "id": 1, "task_name": "sample string 2", "update_name": "sample string 3", "update_time": "2024-11-25T16:34:56.1142965+08:00", "is_prohibit": 4, "is_prohibit_label": "禁用" } ], "total": 1 }, "msg": "sample string 1", "code": 2, "total": 3 }
application/xml, text/xml
Sample:
<BaseResponseOfPageBaseResultOfGetManagerTasksDtogLTqVTfsgLTqVTfs 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:GetManagerTasksDto> <d2p1:id>1</d2p1:id> <d2p1:is_prohibit>4</d2p1:is_prohibit> <d2p1:task_name>sample string 2</d2p1:task_name> <d2p1:update_name>sample string 3</d2p1:update_name> <d2p1:update_time>2024-11-25T16:34:56.1142965+08:00</d2p1:update_time> </d2p1:GetManagerTasksDto> <d2p1:GetManagerTasksDto> <d2p1:id>1</d2p1:id> <d2p1:is_prohibit>4</d2p1:is_prohibit> <d2p1:task_name>sample string 2</d2p1:task_name> <d2p1:update_name>sample string 3</d2p1:update_name> <d2p1:update_time>2024-11-25T16:34:56.1142965+08:00</d2p1:update_time> </d2p1:GetManagerTasksDto> </d2p1:list> <d2p1:total>1</d2p1:total> </data> </BaseResponseOfPageBaseResultOfGetManagerTasksDtogLTqVTfsgLTqVTfs>