GET api/taxcode/GetTaxCodesWithRatesByTownshipId?townshipId={townshipId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
townshipId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of TaxCodeTaxRatePo
NameDescriptionTypeAdditional information
TownshipId

integer

None.

TaxCodeId

integer

None.

TaxCode

string

None.

TaxRate

decimal number

None.

TaxYear

integer

None.

Label

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "townshipId": 1,
    "taxCodeId": 2,
    "taxCode": "sample string 3",
    "taxRate": 4.0,
    "taxYear": 5,
    "label": "sample string 3 | 4% |"
  },
  {
    "townshipId": 1,
    "taxCodeId": 2,
    "taxCode": "sample string 3",
    "taxRate": 4.0,
    "taxYear": 5,
    "label": "sample string 3 | 4% |"
  }
]

text/html

Sample:
[{"townshipId":1,"taxCodeId":2,"taxCode":"sample string 3","taxRate":4.0,"taxYear":5,"label":"sample string 3 | 4% |"},{"townshipId":1,"taxCodeId":2,"taxCode":"sample string 3","taxRate":4.0,"taxYear":5,"label":"sample string 3 | 4% |"}]

application/xml, text/xml

Sample:
<ArrayOfTaxCodeTaxRatePo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ptd.Model.Pos">
  <TaxCodeTaxRatePo>
    <TaxCode>sample string 3</TaxCode>
    <TaxCodeId>2</TaxCodeId>
    <TaxRate>4</TaxRate>
    <TaxYear>5</TaxYear>
    <TownshipId>1</TownshipId>
  </TaxCodeTaxRatePo>
  <TaxCodeTaxRatePo>
    <TaxCode>sample string 3</TaxCode>
    <TaxCodeId>2</TaxCodeId>
    <TaxRate>4</TaxRate>
    <TaxYear>5</TaxYear>
    <TownshipId>1</TownshipId>
  </TaxCodeTaxRatePo>
</ArrayOfTaxCodeTaxRatePo>