PUT api/county/{countyId}/township/{townshipId}/{pin}/improvements

Request Information

URI Parameters

NameDescriptionTypeAdditional information
countyId

integer

Required

townshipId

integer

Required

pin

string

Required

Body Parameters

PropertyImprovementsUpdateBindingModel
NameDescriptionTypeAdditional information
Improvements

Collection of ImprovementUpdateBindingModel

None.

Request Formats

application/json, text/json

Sample:
{
  "improvements": [
    {
      "lineNumber": 1,
      "taxYear": 2,
      "buildingAreaSqFt": 3.1
    },
    {
      "lineNumber": 1,
      "taxYear": 2,
      "buildingAreaSqFt": 3.1
    }
  ]
}

text/html

Sample:
{"improvements":[{"lineNumber":1,"taxYear":2,"buildingAreaSqFt":3.1},{"lineNumber":1,"taxYear":2,"buildingAreaSqFt":3.1}]}

application/xml, text/xml

Sample:
<PropertyImprovementsUpdateBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ptd.Model.WebModels.PropertyBinding">
  <Improvements>
    <ImprovementUpdateBindingModel>
      <BuildingAreaSqFt>3.1</BuildingAreaSqFt>
      <LineNumber>1</LineNumber>
      <TaxYear>2</TaxYear>
    </ImprovementUpdateBindingModel>
    <ImprovementUpdateBindingModel>
      <BuildingAreaSqFt>3.1</BuildingAreaSqFt>
      <LineNumber>1</LineNumber>
      <TaxYear>2</TaxYear>
    </ImprovementUpdateBindingModel>
  </Improvements>
</PropertyImprovementsUpdateBindingModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'PropertyImprovementsUpdateBindingModel'.

Response Information

Resource Description

Collection of PropertyImprovement
NameDescriptionTypeAdditional information
Id

integer

None.

TaxYear

integer

None.

Pin

string

None.

LineNumber

integer

None.

BuildingAreaSqFt

decimal number

None.

TownshipId

integer

None.

CreatedDate

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "taxYear": 2,
    "pin": "sample string 3",
    "lineNumber": 4,
    "buildingAreaSqFt": 1.1,
    "townshipId": 5,
    "createdDate": "2025-05-20T17:35:33.1670548-05:00"
  },
  {
    "id": 1,
    "taxYear": 2,
    "pin": "sample string 3",
    "lineNumber": 4,
    "buildingAreaSqFt": 1.1,
    "townshipId": 5,
    "createdDate": "2025-05-20T17:35:33.1670548-05:00"
  }
]

text/html

Sample:
[{"id":1,"taxYear":2,"pin":"sample string 3","lineNumber":4,"buildingAreaSqFt":1.1,"townshipId":5,"createdDate":"2025-05-20T17:35:33.1670548-05:00"},{"id":1,"taxYear":2,"pin":"sample string 3","lineNumber":4,"buildingAreaSqFt":1.1,"townshipId":5,"createdDate":"2025-05-20T17:35:33.1670548-05:00"}]

application/xml, text/xml

Sample:
<ArrayOfPropertyImprovement xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ptd.Model.Entities">
  <PropertyImprovement>
    <Id xmlns="http://schemas.datacontract.org/2004/07/Ptd.Model.Entities.Core">1</Id>
    <BuildingAreaSqFt>1.1</BuildingAreaSqFt>
    <CreatedDate>2025-05-20T17:35:33.1670548-05:00</CreatedDate>
    <LineNumber>4</LineNumber>
    <Pin>sample string 3</Pin>
    <TaxYear>2</TaxYear>
    <TownshipId>5</TownshipId>
  </PropertyImprovement>
  <PropertyImprovement>
    <Id xmlns="http://schemas.datacontract.org/2004/07/Ptd.Model.Entities.Core">1</Id>
    <BuildingAreaSqFt>1.1</BuildingAreaSqFt>
    <CreatedDate>2025-05-20T17:35:33.1670548-05:00</CreatedDate>
    <LineNumber>4</LineNumber>
    <Pin>sample string 3</Pin>
    <TaxYear>2</TaxYear>
    <TownshipId>5</TownshipId>
  </PropertyImprovement>
</ArrayOfPropertyImprovement>