Cdn API - CPG Source

<back to all web services

WebPageCountsReportRequest

Cdn.Api

The following routes are available for this service:
GET/WebPageCountsReportRequest
WebPageCountsReportRequest Parameters:
NameParameterData TypeRequiredDescription
PagequeryintNo
SkipqueryintNo
TakequeryintNo
BaseRequest<T> Parameters:
NameParameterData TypeRequiredDescription
Idformlong?No
OrderByformstring[]No
OrderDirectionsformSortOrders[]No
WebPageCountsReportResponse Parameters:
NameParameterData TypeRequiredDescription
DataformList<WebPageCountsReportItem>No
PageformintNo
PagesformintNo
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
TotalformintNo
OpCodeformintNo
ErrorTextformstringNo
RequestTimeformstringNo
ResponseTimeformstringNo
TotalExecutionTimeformstringNo
CachedResponseformboolNo
WebPageCountsReportItem Parameters:
NameParameterData TypeRequiredDescription
PageUrlformstringNo
LastViewedformDateTimeNo
TotalViewsformintNo
Last30DaysViewsformintNo
ChartItemsformList<WebPageCountsReportChartItem>No
WebPageCountsReportChartItem Parameters:
NameParameterData TypeRequiredDescription
PageUrlformstringNo
ViewsformintNo
ViewDateformstringNo
WebPageCountsReportResponse Parameters:
NameParameterData TypeRequiredDescription
DataformList<WebPageCountsReportItem>No
PageformintNo
PagesformintNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /WebPageCountsReportRequest HTTP/1.1 
Host: cdnapidev.greysheet.com 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Data":[{"PageUrl":"String","LastViewed":"\/Date(-62135596800000-0000)\/","TotalViews":0,"Last30DaysViews":0,"ChartItems":[{"PageUrl":"String","Views":0,"ViewDate":"String"}]}],"Page":0,"Pages":0,"Total":0,"OpCode":0,"ErrorText":"String","RequestTime":"String","ResponseTime":"String","TotalExecutionTime":"String","CachedResponse":false}