POST api/PropertyStatistics
Statistics API that retrieves all stats recorded between the specified time frame.
Request Information
URI Parameters
None.
Body Parameters
StatisticsDateRangeParamsModelName | Description | Type | Additional information |
---|---|---|---|
EndDate | date |
None. |
|
StartDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "StartDate": "2025-01-18T05:20:32.0879218+00:00", "EndDate": "2025-01-18T05:20:32.0879218+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-01-18T05:20:32.0879218+00:00</EndDate> <StartDate>2025-01-18T05:20:32.0879218+00:00</StartDate> </StatisticsDateRangeParamsModel>
Response Information
Resource Description
Collection of StatisticsDateRangeModelName | Description | Type | Additional information |
---|---|---|---|
Data | Collection of StatisticsDateRangeDataModel |
None. |
|
Date | date |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Date": "2025-01-18T05:20:32.0879218+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-01-18T05:20:32.0879218+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-01-18T05:20:32.0879218+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-01-18T05:20:32.0879218+00:00</Date> </StatisticsDateRangeModel> </ArrayOfStatisticsDateRangeModel>