POST api/PropertyStatistics
Statistics API that retrieves all stats recorded between the specified time frame.
Request Information
URI Parameters
None.
Body Parameters
StatisticsDateRangeParamsModel| Name | Description | Type | Additional information |
|---|---|---|---|
| EndDate | date |
None. |
|
| StartDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"StartDate": "2025-10-22T00:04:41.7160072+00:00",
"EndDate": "2025-10-22T00:04:41.7160072+00:00"
}
application/xml, text/xml
Sample:
<StatisticsDateRangeParamsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Spicerhaart.Services.Statistics"> <EndDate>2025-10-22T00:04:41.7160072+00:00</EndDate> <StartDate>2025-10-22T00:04:41.7160072+00:00</StartDate> </StatisticsDateRangeParamsModel>
Response Information
Resource Description
Collection of StatisticsDateRangeModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Collection of StatisticsDateRangeDataModel |
None. |
|
| Date | date |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Date": "2025-10-22T00:04:41.7316144+00:00",
"Data": [
{
"PropertyReference": "sample string 1",
"PropertyViews": 2,
"BrochuresDownloaded": 3,
"ViewingRequests": 4
},
{
"PropertyReference": "sample string 1",
"PropertyViews": 2,
"BrochuresDownloaded": 3,
"ViewingRequests": 4
}
]
},
{
"Date": "2025-10-22T00:04:41.7316144+00:00",
"Data": [
{
"PropertyReference": "sample string 1",
"PropertyViews": 2,
"BrochuresDownloaded": 3,
"ViewingRequests": 4
},
{
"PropertyReference": "sample string 1",
"PropertyViews": 2,
"BrochuresDownloaded": 3,
"ViewingRequests": 4
}
]
}
]
application/xml, text/xml
Sample:
<ArrayOfStatisticsDateRangeModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Spicerhaart.Services.Statistics">
<StatisticsDateRangeModel>
<Data>
<StatisticsDateRangeDataModel>
<BrochuresDownloaded>3</BrochuresDownloaded>
<PropertyReference>sample string 1</PropertyReference>
<PropertyViews>2</PropertyViews>
<ViewingRequests>4</ViewingRequests>
</StatisticsDateRangeDataModel>
<StatisticsDateRangeDataModel>
<BrochuresDownloaded>3</BrochuresDownloaded>
<PropertyReference>sample string 1</PropertyReference>
<PropertyViews>2</PropertyViews>
<ViewingRequests>4</ViewingRequests>
</StatisticsDateRangeDataModel>
</Data>
<Date>2025-10-22T00:04:41.7316144+00:00</Date>
</StatisticsDateRangeModel>
<StatisticsDateRangeModel>
<Data>
<StatisticsDateRangeDataModel>
<BrochuresDownloaded>3</BrochuresDownloaded>
<PropertyReference>sample string 1</PropertyReference>
<PropertyViews>2</PropertyViews>
<ViewingRequests>4</ViewingRequests>
</StatisticsDateRangeDataModel>
<StatisticsDateRangeDataModel>
<BrochuresDownloaded>3</BrochuresDownloaded>
<PropertyReference>sample string 1</PropertyReference>
<PropertyViews>2</PropertyViews>
<ViewingRequests>4</ViewingRequests>
</StatisticsDateRangeDataModel>
</Data>
<Date>2025-10-22T00:04:41.7316144+00:00</Date>
</StatisticsDateRangeModel>
</ArrayOfStatisticsDateRangeModel>