GET api/ProjectTasks?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 |
PageNumber=[页码,int],PageSize=[页容量,int],StaffID=[创建者ID,long],DealState=[任务状态,int],ChanelType=[频道类型,int],Type=[任务类型,int](这是所有可查询的字段,可根据要查询的数据传入相关参数,不需要参数可以不传入) |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
获取工作列表
DataResultListOfAPIProjectTaskLists| Name | Description | Type | Additional information |
|---|---|---|---|
| DataList | Collection of APIProjectTaskLists |
None. |
|
| PageNum | integer |
None. |
|
| PageSize | integer |
None. |
|
| PageCount | integer |
None. |
|
| PreviousIndex | integer |
None. |
|
| NextIndex | integer |
None. |
|
| RecordCount | integer |
None. |
|
| Error | boolean |
None. |
|
| ErrorInfo | Collection of string |
None. |
|
| ExInfo | Exception |
None. |
Response Formats
application/json, text/json
Sample:
{
"_pageSize": 2,
"_recordCount": 3,
"_pageNum": 1,
"_error": true,
"_errorInfo": [
"sample string 1",
"sample string 2"
],
"_exInfo": {
"ClassName": "System.Exception",
"Message": null,
"Data": null,
"InnerException": null,
"HelpURL": "sample string 1",
"StackTraceString": null,
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": null,
"HResult": 3,
"Source": "sample string 2",
"WatsonBuckets": null
},
"_dataList": [
{
"ID": 1,
"ProjectID": 2,
"Type": 0,
"Name": "sample string 3",
"CreateStaffID": 4,
"Executors": "sample string 5",
"OtherExecutors": "sample string 6",
"Creatime": "2025-12-16T23:24:26.9705191+08:00",
"OverTime": "2025-12-16T23:24:26.9705191+08:00",
"ChanelType": 0,
"DealState": 0,
"Level": 1,
"CreateStaffName": "sample string 9",
"ExecutorNames": "sample string 10",
"OtherExecutorNames": "sample string 11",
"ProjectName": "sample string 12",
"CreateUserImg": "sample string 13"
},
{
"ID": 1,
"ProjectID": 2,
"Type": 0,
"Name": "sample string 3",
"CreateStaffID": 4,
"Executors": "sample string 5",
"OtherExecutors": "sample string 6",
"Creatime": "2025-12-16T23:24:26.9705191+08:00",
"OverTime": "2025-12-16T23:24:26.9705191+08:00",
"ChanelType": 0,
"DealState": 0,
"Level": 1,
"CreateStaffName": "sample string 9",
"ExecutorNames": "sample string 10",
"OtherExecutorNames": "sample string 11",
"ProjectName": "sample string 12",
"CreateUserImg": "sample string 13"
}
]
}