SLnet.WebExtApi

<back to all web services

ExecuteOlapView

Generic API

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

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

HTTP + XML

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

POST /xml/reply/ExecuteOlapView HTTP/1.1 
Host: 5.172.198.40 
Content-Type: application/xml
Content-Length: length

<ExecuteOlapView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SLnet.WebExtApi.ServiceInterface.WebAPI.Api">
  <DomainName xmlns="http://schemas.datacontract.org/2004/07/SLnet.WebExtApi.WebAPI.Api">String</DomainName>
  <OlapViewName xmlns="http://schemas.datacontract.org/2004/07/SLnet.WebExtApi.WebAPI.Api">String</OlapViewName>
  <filters xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:ArrayOfKeyValueOfstringanyType>
      <d2p1:KeyValueOfstringanyType>
        <d2p1:Key>String</d2p1:Key>
        <d2p1:Value />
      </d2p1:KeyValueOfstringanyType>
    </d2p1:ArrayOfKeyValueOfstringanyType>
  </filters>
</ExecuteOlapView>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<DataSet>
  <xs:schema id="String" targetNamespace="String" xmlns:mstns="String" xmlns="String" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" attributeFormDefault="qualified" elementFormDefault="qualified">
    <xs:element name="String" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msdata:EnforceConstraints="False" msdata:Prefix="String">
      <xs:complexType>
        <xs:choice minOccurs="0" maxOccurs="unbounded" />
      </xs:complexType>
    </xs:element>
  </xs:schema>
  <diffgr:diffgram xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1" />
</DataSet>