GET api/CouncilTaxPrecept

This returns all data

Response Information

list of tax bands by parish and year

Response body formats

text/html

Sample:
<div class="input-group">
    <span class="input-group-addon">Filter</span>
    <input id="filter" type="text" class="form-control" placeholder="Enter your parish" />
</div>
<table class="hdc-table table default" data-filter="#filter">
    <thead>
        <tr>
            <th data-toggle="true" class="footable-first-column">
                Town/Parish
            </th>
            <th >
                Precept 2018/19 (£) 
            </th>
            <th >
                Precept 2019/20 (£)
            </th>
            <th >
                Tax Base  2019/20
            </th>
            <th >
                Band D (£)
            </th>
        </tr>
    </thead>
    <tbody>
            <tr>
                <td>
                    sample string 2
                </td>
                <td>
                    1
                </td>
                <td>
                    1
                </td>
                <td>
                    1
                </td>
                <td>
                    1
                </td>     
            </tr>
            <tr>
                <td>
                    sample string 2
                </td>
                <td>
                    1
                </td>
                <td>
                    1
                </td>
                <td>
                    1
                </td>
                <td>
                    1
                </td>     
            </tr>
            <tr>
                <td>
                    sample string 2
                </td>
                <td>
                    1
                </td>
                <td>
                    1
                </td>
                <td>
                    1
                </td>
                <td>
                    1
                </td>     
            </tr>
    </tbody>
    <tfoot class="hide-if-no-paging">
        <tr>
            <td colspan="6">
                <ul class="pagination pagination-centered hide-if-no-paging"></ul>
            </td>
        </tr>
    </tfoot>
</table>

application/json, text/json

Sample:
[
  {
    "id": 1,
    "parish": "sample string 2",
    "precept_previous_year": 1,
    "precept_current_year": 1,
    "tax_base": 1,
    "band_d": 1.0
  },
  {
    "id": 1,
    "parish": "sample string 2",
    "precept_previous_year": 1,
    "precept_current_year": 1,
    "tax_base": 1,
    "band_d": 1.0
  },
  {
    "id": 1,
    "parish": "sample string 2",
    "precept_previous_year": 1,
    "precept_current_year": 1,
    "tax_base": 1,
    "band_d": 1.0
  }
]

application/xml, text/xml

Sample:
<ArrayOfCouncil_Tax_Precept xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HDCAPIModel.Models">
  <Council_Tax_Precept>
    <ID>1</ID>
    <band_d>1</band_d>
    <parish>sample string 2</parish>
    <precept_current_year>1</precept_current_year>
    <precept_previous_year>1</precept_previous_year>
    <tax_base>1</tax_base>
  </Council_Tax_Precept>
  <Council_Tax_Precept>
    <ID>1</ID>
    <band_d>1</band_d>
    <parish>sample string 2</parish>
    <precept_current_year>1</precept_current_year>
    <precept_previous_year>1</precept_previous_year>
    <tax_base>1</tax_base>
  </Council_Tax_Precept>
  <Council_Tax_Precept>
    <ID>1</ID>
    <band_d>1</band_d>
    <parish>sample string 2</parish>
    <precept_current_year>1</precept_current_year>
    <precept_previous_year>1</precept_previous_year>
    <tax_base>1</tax_base>
  </Council_Tax_Precept>
</ArrayOfCouncil_Tax_Precept>

text/javascript

Sample:
([{"id":1,"parish":"sample string 2","precept_previous_year":1,"precept_current_year":1,"tax_base":1,"band_d":1.0},{"id":1,"parish":"sample string 2","precept_previous_year":1,"precept_current_year":1,"tax_base":1,"band_d":1.0},{"id":1,"parish":"sample string 2","precept_previous_year":1,"precept_current_year":1,"tax_base":1,"band_d":1.0}]);