GET api/taxcode/GetTaxCodeTownshipPageModel?taxcodeId={taxcodeId}
This method will retrieve taxcode statistics data for a Township Page based on the taxcode id. Data will be retrieve for a current appeal tax year only
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| taxcodeId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Instance of
TaxCodeTownshipPageModel| Name | Description | Type | Additional information |
|---|---|---|---|
| TaxRates | TaxRateTimeSeriesModel |
None. |
|
| AssessmentChangeBands | AssessmentChangeStatistics |
None. |
Response Formats
application/json, text/json
Sample:
{
"taxRates": {
"referenceItemId": 1,
"legend": "sample string 2",
"rates": [
{
"taxYear": 1,
"rate": 2.0
},
{
"taxYear": 1,
"rate": 2.0
}
]
},
"assessmentChangeBands": {
"referenceId": 1,
"label": "sample string 2",
"dataBandsJson": "sample string 3",
"dataBands": [
{
"minYoYChange": 1.0,
"maxYoYChange": 2.0,
"propertyCount": 3,
"propertyPercent": 4.0
},
{
"minYoYChange": 1.0,
"maxYoYChange": 2.0,
"propertyCount": 3,
"propertyPercent": 4.0
}
],
"totalPropertyCount": 4
}
}
text/html
Sample:
{"taxRates":{"referenceItemId":1,"legend":"sample string 2","rates":[{"taxYear":1,"rate":2.0},{"taxYear":1,"rate":2.0}]},"assessmentChangeBands":{"referenceId":1,"label":"sample string 2","dataBandsJson":"sample string 3","dataBands":[{"minYoYChange":1.0,"maxYoYChange":2.0,"propertyCount":3,"propertyPercent":4.0},{"minYoYChange":1.0,"maxYoYChange":2.0,"propertyCount":3,"propertyPercent":4.0}],"totalPropertyCount":4}}
application/xml, text/xml
Sample:
<TaxCodeTownshipPageModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ptd.Model.Pos.PageModel">
<AssessmentChangeBands xmlns:d2p1="http://schemas.datacontract.org/2004/07/Ptd.Model.Pos">
<d2p1:DataBands>
<d2p1:AssessmentChangeBand>
<d2p1:MaxYoYChange>2</d2p1:MaxYoYChange>
<d2p1:MinYoYChange>1</d2p1:MinYoYChange>
<d2p1:PropertyCount>3</d2p1:PropertyCount>
<d2p1:PropertyPercent>4</d2p1:PropertyPercent>
</d2p1:AssessmentChangeBand>
<d2p1:AssessmentChangeBand>
<d2p1:MaxYoYChange>2</d2p1:MaxYoYChange>
<d2p1:MinYoYChange>1</d2p1:MinYoYChange>
<d2p1:PropertyCount>3</d2p1:PropertyCount>
<d2p1:PropertyPercent>4</d2p1:PropertyPercent>
</d2p1:AssessmentChangeBand>
</d2p1:DataBands>
<d2p1:DataBandsJson>sample string 3</d2p1:DataBandsJson>
<d2p1:Label>sample string 2</d2p1:Label>
<d2p1:ReferenceId>1</d2p1:ReferenceId>
<d2p1:TotalPropertyCount>4</d2p1:TotalPropertyCount>
</AssessmentChangeBands>
<TaxRates xmlns:d2p1="http://schemas.datacontract.org/2004/07/Ptd.Model.Pos">
<d2p1:Legend>sample string 2</d2p1:Legend>
<d2p1:Rates>
<d2p1:TaxRate>
<d2p1:Rate>2</d2p1:Rate>
<d2p1:TaxYear>1</d2p1:TaxYear>
</d2p1:TaxRate>
<d2p1:TaxRate>
<d2p1:Rate>2</d2p1:Rate>
<d2p1:TaxYear>1</d2p1:TaxYear>
</d2p1:TaxRate>
</d2p1:Rates>
<d2p1:ReferenceItemId>1</d2p1:ReferenceItemId>
</TaxRates>
</TaxCodeTownshipPageModel>