GET api/task/latest-by-periodid?type={type}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| type | TaxTaskType |
Required |
Body Parameters
None.
Response Information
Resource Description
ResponseDataOfGetLatestByPeriodDto| Name | Description | Type | Additional information |
|---|---|---|---|
| State | ResponseState |
None. |
|
| SubState | ResponseSubStateCode |
None. |
|
| Data | GetLatestByPeriodDto |
None. |
|
| Msg | string |
None. |
|
| TaskType | TaxTaskType |
None. |
Response Formats
application/json, text/json
Sample:
{
"state": 1000,
"subState": 0,
"data": {
"lastSuccessRefreshTime": "2026-03-06 02:45:29",
"lastRefreshTime": "2026-03-06 02:45:29",
"declarePeriodEnd": "2026-03-06 02:45:29"
},
"msg": "sample string 1",
"taskType": 3
}
application/xml, text/xml
Sample:
<ResponseDataOfGetLatestByPeriodDtoAspFbluU 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:DeclarePeriodEnd>2026-03-06T02:45:29.7832558+08:00</d2p1:DeclarePeriodEnd>
<d2p1:LastRefreshTime>2026-03-06T02:45:29.7832558+08:00</d2p1:LastRefreshTime>
<d2p1:LastSuccessRefreshTime>2026-03-06T02:45:29.7832558+08:00</d2p1:LastSuccessRefreshTime>
</Data>
<Msg>sample string 1</Msg>
<State>OK</State>
<SubState>OK</SubState>
<TaskType>已认证抵扣发票</TaskType>
</ResponseDataOfGetLatestByPeriodDtoAspFbluU>