GET api/task/info?taskId={taskId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| taskId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ResponseDataOfTaxTaskItem| Name | Description | Type | Additional information |
|---|---|---|---|
| State | ResponseState |
None. |
|
| SubState | ResponseSubStateCode |
None. |
|
| Data | TaxTaskItem |
None. |
|
| Msg | string |
None. |
|
| TaskType | TaxTaskType |
None. |
|
| TaskStyle | integer |
None. |
|
| DeniedPermission | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"state": 1000,
"subState": 0,
"data": {
"asId": 1,
"taskId": 2,
"periodId": 3,
"type": 3,
"taskName": "sample string 4",
"reason": "sample string 5",
"declareMsg": "sample string 6",
"imgUrl": "sample string 7",
"taskStatus": 0,
"createdTime": "2026-08-24 08:27:04",
"finishedTime": "2026-08-24 08:27:04",
"createdBy": 9,
"parentTaskId": 10,
"rpaCode": 1,
"summaryId": 1,
"batchFlag": true,
"isIndividualTaxTask": false,
"loginInvalid": true,
"declareSuccessLog": {
"periodId": 1,
"declareTypeName": "sample string 2"
},
"paySuccessLogs": [
{
"periodId": 1,
"declareTypeName": "sample string 2",
"declarationTaxAmount": 1.0
},
{
"periodId": 1,
"declareTypeName": "sample string 2",
"declarationTaxAmount": 1.0
}
]
},
"msg": "sample string 1",
"taskType": 3,
"taskStyle": 2,
"deniedPermission": "sample string 3"
}
application/xml, text/xml
Sample:
<ResponseDataOfTaxTaskItemyed8OyXw 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.Models">
<d2p1:AsId>1</d2p1:AsId>
<d2p1:BatchFlag>true</d2p1:BatchFlag>
<d2p1:CreatedBy>9</d2p1:CreatedBy>
<d2p1:CreatedTime>2026-08-24T08:27:04.7093151+08:00</d2p1:CreatedTime>
<d2p1:DeclareMsg>sample string 6</d2p1:DeclareMsg>
<d2p1:DeclareSuccessLog>
<d2p1:DeclareTypeName>sample string 2</d2p1:DeclareTypeName>
<d2p1:PeriodId>1</d2p1:PeriodId>
</d2p1:DeclareSuccessLog>
<d2p1:FinishedTime>2026-08-24T08:27:04.7093151+08:00</d2p1:FinishedTime>
<d2p1:ImgUrl>sample string 7</d2p1:ImgUrl>
<d2p1:LoginInvalid>true</d2p1:LoginInvalid>
<d2p1:ParentTaskId>10</d2p1:ParentTaskId>
<d2p1:PaySuccessLogs>
<d2p1:TaxPaySuccessLogItem>
<d2p1:DeclarationTaxAmount>1</d2p1:DeclarationTaxAmount>
<d2p1:DeclareTypeName>sample string 2</d2p1:DeclareTypeName>
<d2p1:PeriodId>1</d2p1:PeriodId>
</d2p1:TaxPaySuccessLogItem>
<d2p1:TaxPaySuccessLogItem>
<d2p1:DeclarationTaxAmount>1</d2p1:DeclarationTaxAmount>
<d2p1:DeclareTypeName>sample string 2</d2p1:DeclareTypeName>
<d2p1:PeriodId>1</d2p1:PeriodId>
</d2p1:TaxPaySuccessLogItem>
</d2p1:PaySuccessLogs>
<d2p1:PeriodId>3</d2p1:PeriodId>
<d2p1:Reason>sample string 5</d2p1:Reason>
<d2p1:RpaCode>1</d2p1:RpaCode>
<d2p1:SummaryId>1</d2p1:SummaryId>
<d2p1:TaskId>2</d2p1:TaskId>
<d2p1:TaskName>sample string 4</d2p1:TaskName>
<d2p1:TaskStatus>Processing</d2p1:TaskStatus>
<d2p1:Type>已认证抵扣发票</d2p1:Type>
</Data>
<DeniedPermission>sample string 3</DeniedPermission>
<Msg>sample string 1</Msg>
<State>OK</State>
<SubState>OK</SubState>
<TaskStyle>2</TaskStyle>
<TaskType>已认证抵扣发票</TaskType>
</ResponseDataOfTaxTaskItemyed8OyXw>