SLnet.WebExtApi

<back to all web services

ExecuteOlapCustomView

Generic API

The following routes are available for this service:
POST/api/{DomainName}/olapviews/{OlapViewName}Executes the given OlapView and returns the results
POST/api/{DomainName}/olapviews/{OlapViewName}/custom/{Kind}/{CustomViewName}Executes the given OlapView and returns the results

To override the Content-type in your clients 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.

POST /csv/reply/ExecuteOlapCustomView HTTP/1.1 
Host: 5.172.198.40 
Content-Type: text/csv
Content-Length: length

Kind,CustomViewName,filters,OlapViewName,DomainName
String,String,[{String:{}}],String,String

HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{Unable to show example output for type 'DataSet' using the custom 'csv' filter}The type initializer for 'ServiceStack.Text.CsvWriter`1' threw an exception.