POST api/taxreport/refresh
Request Information
URI Parameters
None.
Body Parameters
TaxDeclareReportQueryDto| Name | Description | Type | Additional information |
|---|---|---|---|
| DeclationStart | string |
None. |
|
| DeclationEnd | string |
None. |
|
| PeriodStart | string |
None. |
|
| PeriodEnd | string |
None. |
|
| DeclareTypeShortName | string |
None. |
|
| ListReportId | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"declationStart": "sample string 1",
"declationEnd": "sample string 2",
"periodStart": "sample string 3",
"periodEnd": "sample string 4",
"declareTypeShortName": "sample string 5",
"listReportId": [
1,
2
]
}
application/xml, text/xml
Sample:
<TaxDeclareReportQueryDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAccTax.Declaration.Shared.Dtos">
<DeclareTypeShortName>sample string 5</DeclareTypeShortName>
<DeclationEnd>sample string 2</DeclationEnd>
<DeclationStart>sample string 1</DeclationStart>
<ListReportId xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:long>1</d2p1:long>
<d2p1:long>2</d2p1:long>
</ListReportId>
<PeriodEnd>sample string 4</PeriodEnd>
<PeriodStart>sample string 3</PeriodStart>
</TaxDeclareReportQueryDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseDataOfInt32| Name | Description | Type | Additional information |
|---|---|---|---|
| State | ResponseState |
None. |
|
| SubState | ResponseSubStateCode |
None. |
|
| Data | integer |
None. |
|
| Msg | string |
None. |
|
| TaskType | TaxTaskType |
None. |
Response Formats
application/json, text/json
Sample:
{
"state": 1000,
"subState": 0,
"data": 1,
"msg": "sample string 2",
"taskType": 3
}
application/xml, text/xml
Sample:
<ResponseDataOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAcc.TaxDeclaration.Service.Models"> <Data>1</Data> <Msg>sample string 2</Msg> <State>OK</State> <SubState>OK</SubState> <TaskType>已认证抵扣发票</TaskType> </ResponseDataOfint>