GET api/TaxStatement/{id}
Get the tax data for a given year
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The year to get the tax data for |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ApiResultOfObject| Name | Description | Type | Additional information |
|---|---|---|---|
| Entity | Object |
None. |
|
| HasErrors |
True if there are any errors present |
boolean |
None. |
| Errors |
The list of errors |
Collection of ApiResultError |
None. |
Response Formats
application/json, text/json
Sample:
{
"Entity": {},
"HasErrors": true,
"Errors": [
{
"Code": 0,
"ErrorType": "sample string 1",
"Message": "sample string 2"
},
{
"Code": 0,
"ErrorType": "sample string 1",
"Message": "sample string 2"
}
]
}
application/xml, text/xml
Sample:
<ApiResultOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Caf.DonorSystem.Mobile.WebApi.Models">
<Errors>
<ApiResultError>
<Code>InvalidParameterAddressMissing</Code>
<ErrorType>sample string 1</ErrorType>
<Message>sample string 2</Message>
</ApiResultError>
<ApiResultError>
<Code>InvalidParameterAddressMissing</Code>
<ErrorType>sample string 1</ErrorType>
<Message>sample string 2</Message>
</ApiResultError>
</Errors>
<Entity />
</ApiResultOfanyType>