Discover requests

We recommend that you use restrictions when discovering data sources and you know which data model you would like to connect to. Use the restriction to request the URL of the model you are interested in.

This example requests the list of data sources using the DISCOVER_DATASOURCES request type:

<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
  <Header>
    <Version Sequence="200" xmlns="http://schemas.microsoft.com/analysisservices/2003/engine/2" />
  </Header>
  <Body>
    <Discover>
      <RequestType>DISCOVER_DATASOURCES</RequestType>
      <Restrictions>
        <RestrictionList>
          <Databasename>Genesis</Databasename>
            <Secured>true</Secured>
        </RestrictionList>
      </Restrictions>
      <Properties>
        <PropertyList>
          <Tenant>single</Tenant>
          <Content>SchemaData</Content>
        </PropertyList>
      </Properties>
    </Discover>
  </Body>
</Envelope>

Example