GET api/task/search-period?type={type}&PeriodStartId={PeriodStartId}&PeriodEndId={PeriodEndId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| type | TaxTaskType |
Required |
|
| PeriodStartId | integer |
None. |
|
| PeriodEndId | integer |
None. |
Body Parameters
None.
Response Information
Resource Description
ResponseDataOfSearchPeriodRangeModel| Name | Description | Type | Additional information |
|---|---|---|---|
| State | ResponseState |
None. |
|
| SubState | ResponseSubStateCode |
None. |
|
| Data | SearchPeriodRangeModel |
None. |
|
| Msg | string |
None. |
|
| TaskType | TaxTaskType |
None. |
Response Formats
application/json, text/json
Sample:
{
"state": 1000,
"subState": 0,
"data": {
"needQuery": true,
"periodStartId": 2,
"periodEndId": 3
},
"msg": "sample string 1",
"taskType": 3
}
application/xml, text/xml
Sample:
<ResponseDataOfSearchPeriodRangeModellm9Clwxb 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/LemonAcc.TaxDeclaration.Service.Areas.Common.Models">
<PeriodEndId xmlns="http://schemas.datacontract.org/2004/07/LemonAccTax.Declaration.Shared.Models">3</PeriodEndId>
<PeriodStartId xmlns="http://schemas.datacontract.org/2004/07/LemonAccTax.Declaration.Shared.Models">2</PeriodStartId>
<d2p1:NeedQuery>true</d2p1:NeedQuery>
</Data>
<Msg>sample string 1</Msg>
<State>OK</State>
<SubState>OK</SubState>
<TaskType>已认证抵扣发票</TaskType>
</ResponseDataOfSearchPeriodRangeModellm9Clwxb>