GET api/property/{id}/historicalprices?pageNumber={pageNumber}&pageSize={pageSize}
Get historical prices for a property by its Id
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
The id of the property to get. |
integer |
Required |
pageNumber | integer |
Default value is 1 |
|
pageSize | integer |
Default value is 20 |
Body Parameters
None.
Response Information
Resource Description
A list of prices
PagedCollectionDataContractOfDezrez.Core.DataContracts.External.Api.Property.Query.HistoricalPriceData.HistoricalPriceDataContractName | Description | Type | Additional information |
---|---|---|---|
TotalCount | integer |
None. |
|
CurrentCount | integer |
None. |
|
PageSize | integer |
None. |
|
PageNumber | integer |
None. |
|
Collection | Collection of Dezrez.Core.DataContracts.External.Api.Property.Query.HistoricalPriceData.HistoricalPriceDataContract |
None. |
Response Formats
application/json, text/json
Sample:
{ "TotalCount": 1, "CurrentCount": 2, "PageSize": 1, "PageNumber": 1, "Collection": [ { "TransactionId": "159a9b72-ffc8-4672-a4cb-8306cb752113", "Price": 2, "DateTime": "2024-11-21T09:57:58.070869Z", "Postcode": "sample string 4", "Outcode": "sample string 5", "Incode": "sample string 6", "PropertyType": "sample string 7", "StyleType": "sample string 8", "LeaseType": "sample string 9", "NumberParsed": 1, "NumberSuffix": "sample string 10", "Number": "sample string 11", "BuildingName": "sample string 12", "Latitude": 13.1, "Longitude": 14.1, "LatitudeLongitude": "13.1,14.1", "AddressId": "sample string 15" }, { "TransactionId": "159a9b72-ffc8-4672-a4cb-8306cb752113", "Price": 2, "DateTime": "2024-11-21T09:57:58.070869Z", "Postcode": "sample string 4", "Outcode": "sample string 5", "Incode": "sample string 6", "PropertyType": "sample string 7", "StyleType": "sample string 8", "LeaseType": "sample string 9", "NumberParsed": 1, "NumberSuffix": "sample string 10", "Number": "sample string 11", "BuildingName": "sample string 12", "Latitude": 13.1, "Longitude": 14.1, "LatitudeLongitude": "13.1,14.1", "AddressId": "sample string 15" } ] }