GET api/task/gather?PageIndex={PageIndex}&PageSize={PageSize}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| PageIndex | integer |
None. |
|
| PageSize | integer |
None. |
Body Parameters
None.
Response Information
Resource Description
ResponseDataOfPagingResponseOfGatherTaskOutput| Name | Description | Type | Additional information |
|---|---|---|---|
| State | ResponseState |
None. |
|
| SubState | ResponseSubStateCode |
None. |
|
| Data | PagingResponseOfGatherTaskOutput |
None. |
|
| Msg | string |
None. |
|
| TaskType | TaxTaskType |
None. |
Response Formats
application/json, text/json
Sample:
{
"state": 1000,
"subState": 0,
"data": {
"pageSize": 1,
"currentPage": 2,
"total": 3,
"data": [
{
"taskStatus": 0,
"taskStatusName": "获取中...",
"taskName": "sample string 1",
"summary": "sample string 2",
"invoiceDate": "sample string 3",
"createdTime": "2025-10-27 07:51:35",
"createdBy": 5,
"createdByName": "sample string 6"
},
{
"taskStatus": 0,
"taskStatusName": "获取中...",
"taskName": "sample string 1",
"summary": "sample string 2",
"invoiceDate": "sample string 3",
"createdTime": "2025-10-27 07:51:35",
"createdBy": 5,
"createdByName": "sample string 6"
}
]
},
"msg": "sample string 1",
"taskType": 3
}
application/xml, text/xml
Sample:
<ResponseDataOfPagingResponseOfGatherTaskOutputAspFbluUAspFbluU xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAcc.TaxDeclaration.Service.Models">
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/LemonAccTax.Declaration.Shared.Dtos">
<d2p1:CurrentPage>2</d2p1:CurrentPage>
<d2p1:Data>
<d2p1:GatherTaskOutput>
<d2p1:CreatedBy>5</d2p1:CreatedBy>
<d2p1:CreatedByName>sample string 6</d2p1:CreatedByName>
<d2p1:CreatedTime>2025-10-27T07:51:35.1492577+08:00</d2p1:CreatedTime>
<d2p1:InvoiceDate>sample string 3</d2p1:InvoiceDate>
<d2p1:Summary>sample string 2</d2p1:Summary>
<d2p1:TaskName>sample string 1</d2p1:TaskName>
<d2p1:TaskStatus>Processing</d2p1:TaskStatus>
</d2p1:GatherTaskOutput>
<d2p1:GatherTaskOutput>
<d2p1:CreatedBy>5</d2p1:CreatedBy>
<d2p1:CreatedByName>sample string 6</d2p1:CreatedByName>
<d2p1:CreatedTime>2025-10-27T07:51:35.1492577+08:00</d2p1:CreatedTime>
<d2p1:InvoiceDate>sample string 3</d2p1:InvoiceDate>
<d2p1:Summary>sample string 2</d2p1:Summary>
<d2p1:TaskName>sample string 1</d2p1:TaskName>
<d2p1:TaskStatus>Processing</d2p1:TaskStatus>
</d2p1:GatherTaskOutput>
</d2p1:Data>
<d2p1:PageSize>1</d2p1:PageSize>
<d2p1:Total>3</d2p1:Total>
</Data>
<Msg>sample string 1</Msg>
<State>OK</State>
<SubState>OK</SubState>
<TaskType>已认证抵扣发票</TaskType>
</ResponseDataOfPagingResponseOfGatherTaskOutputAspFbluUAspFbluU>