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. |
|
| TaskStyle | integer |
None. |
|
| DeniedPermission | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"state": 1000,
"subState": 0,
"data": {
"lastSuccessRefreshTime": "2026-04-03 23:49:12",
"lastRefreshTime": "2026-04-03 23:49:12",
"declarePeriodEnd": "2026-04-03 23:49:12"
},
"msg": "sample string 1",
"taskType": 3,
"taskStyle": 2,
"deniedPermission": "sample string 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-04-03T23:49:12.1700375+08:00</d2p1:DeclarePeriodEnd>
<d2p1:LastRefreshTime>2026-04-03T23:49:12.1700375+08:00</d2p1:LastRefreshTime>
<d2p1:LastSuccessRefreshTime>2026-04-03T23:49:12.1700375+08:00</d2p1:LastSuccessRefreshTime>
</Data>
<DeniedPermission>sample string 3</DeniedPermission>
<Msg>sample string 1</Msg>
<State>OK</State>
<SubState>OK</SubState>
<TaskStyle>2</TaskStyle>
<TaskType>已认证抵扣发票</TaskType>
</ResponseDataOfGetLatestByPeriodDtoAspFbluU>