POST api/individualStatements/ReportTaxPersons?personReportType={personReportType}&year={year}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| personReportType | integer |
Default value is 0 |
|
| year | integer |
Default value is 0 |
Body Parameters
ReportTaxPersonsRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| EsnList | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"esnList": [
1,
2
]
}
application/xml, text/xml
Sample:
<ReportTaxPersonsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAccTax.Declaration.Shared.Dtos.TaxIndividualDeclaration">
<EsnList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</EsnList>
</ReportTaxPersonsRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseDataOfInt64| Name | Description | Type | Additional information |
|---|---|---|---|
| State | ResponseState |
None. |
|
| SubState | ResponseSubStateCode |
None. |
|
| Data | integer |
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": 1,
"msg": "sample string 2",
"taskType": 3,
"taskStyle": 3,
"deniedPermission": "sample string 4"
}
application/xml, text/xml
Sample:
<ResponseDataOflong xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAcc.TaxDeclaration.Service.Models"> <Data>1</Data> <DeniedPermission>sample string 4</DeniedPermission> <Msg>sample string 2</Msg> <State>OK</State> <SubState>OK</SubState> <TaskStyle>3</TaskStyle> <TaskType>已认证抵扣发票</TaskType> </ResponseDataOflong>