Open this page in the API Guide

TenantController Class

The REST API for performing administration tasks on tenants.
Inheritance Hierarchy
System.Object
  Microsoft.AspNetCore.Mvc.ControllerBase
    Dundas.BI.WebApi.Controllers.ApiControllerBase
      Dundas.BI.WebApi.Controllers.TenantController

Namespace:  Dundas.BI.WebApi.Controllers
Assembly:  Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (25.1.0.1000)
Syntax
public class TenantController : ApiControllerBase

The TenantController type exposes the following members.

Constructors
  NameDescription
Public methodTenantController
Initializes a new instance of the TenantController class
Top
Methods
  NameDescription
Public methodCreateTenant
Creates a tenant.
Public methodDeleteTenant
Deletes a tenant.
Protected methodEnsureCallerContext
If the current context is not already the specified context, creates a new caller context which is a clone of the specified context and sets it as the current one.
(Inherited from ApiControllerBase.)
Protected methodEnsureFormFileMultipartContent
Ensures when form files are access the content is MIME multi-part which we want.
(Inherited from ApiControllerBase.)
Protected methodGetClientIdFromCookieOrProvided
Gets the client ID from cookie or from the provided value, which is usually from the query string.
(Inherited from ApiControllerBase.)
Public methodGetQuotaUsage
Gets the quota usage for the specified tenant.
Protected methodGetService<T>
Gets the requested service.
(Inherited from ApiControllerBase.)
Protected methodGetSessionIdFromCookieHeaderOrProvided
Gets the session ID from cookie, the authorization header or from the provided value, which is usually from the query string.
(Inherited from ApiControllerBase.)
Public methodGetTenantById
Gets a tenant with the specified ID.
Public methodGetTenantInfoById
Gets the tenant info for the tenant ID.
Protected methodLoadSession
Creates a new caller context associated with the specified session ID. The session is not validated.
(Inherited from ApiControllerBase.)
Public methodQueryNumberOfTenants
Gets the number of tenants that match the filter.
Public methodQueryTenantInfos
Gets information about multiple tenants.
Public methodQueryTenants
Gets the tenants with the given information.
Public methodRemoveWarehouseOverride
Removes the warehouse override with the same scope and scope target.
Protected methodRequestFirstFormFile
Retrieves the first form file from the request.
(Inherited from ApiControllerBase.)
Protected methodRequestFormFiles
Retrieves the form files from the request.
(Inherited from ApiControllerBase.)
Protected methodReturnInvalidWindowsIdentityResponse
Returns the invalid windows identity response to challenge the browser.
(Inherited from ApiControllerBase.)
Public methodSetWarehouseOverride
Adds the warehouse override if there is no existing override with the same scope and scope target, otherwise replaces it.
Public methodUpdateTenant
Updates a tenant.
Top
See Also