POST api/data/properties/requests

This method will submit data update request for properties in a specified township/county

Requires Authorization!

Request Information

URI Parameters

None.

Body Parameters

Instance of request data

PropertyDataFulfillmentBindingModel
NameDescriptionTypeAdditional information
CountyId

integer

None.

TownshipId

integer

None.

Pins

Collection of string

None.

AssessmentYear

integer

None.

UpdateCompsFlag

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "countyId": 1,
  "townshipId": 2,
  "pins": [
    "sample string 1",
    "sample string 2"
  ],
  "assessmentYear": 1,
  "updateCompsFlag": true
}

text/html

Sample:
{"countyId":1,"townshipId":2,"pins":["sample string 1","sample string 2"],"assessmentYear":1,"updateCompsFlag":true}

application/xml, text/xml

Sample:
<PropertyDataFulfillmentBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ptd.Model.WebModels.PropertyDataFullfillment">
  <AssessmentYear>1</AssessmentYear>
  <CountyId>1</CountyId>
  <Pins xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Pins>
  <TownshipId>2</TownshipId>
  <UpdateCompsFlag>true</UpdateCompsFlag>
</PropertyDataFulfillmentBindingModel>

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 'PropertyDataFulfillmentBindingModel'.

Response Information

Resource Description

Instance of request progress data

DataUpdateTownshipProgress
NameDescriptionTypeAdditional information
TownshipId

integer

None.

InProgressCount

integer

None.

FailedCount

integer

None.

CompletedCount

integer

None.

ProgressMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "townshipId": 1,
  "inProgressCount": 2,
  "failedCount": 3,
  "completedCount": 4,
  "progressMessage": "sample string 5"
}

text/html

Sample:
{"townshipId":1,"inProgressCount":2,"failedCount":3,"completedCount":4,"progressMessage":"sample string 5"}

application/xml, text/xml

Sample:
<DataUpdateTownshipProgress xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ptd.Model.Pos.External">
  <CompletedCount>4</CompletedCount>
  <FailedCount>3</FailedCount>
  <InProgressCount>2</InProgressCount>
  <ProgressMessage>sample string 5</ProgressMessage>
  <TownshipId>1</TownshipId>
</DataUpdateTownshipProgress>