Open this page in the API Guide

TenantController.SetWarehouseOverride Method

Adds the warehouse override if there is no existing override with the same scope and scope target, otherwise replaces it.

Namespace:  Dundas.BI.WebApi.Controllers
Assembly:  Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (25.2.0.1000)
Syntax
[HttpPostAttribute("SetWarehouseOverride/{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(405)]
[ProducesResponseTypeAttribute(409)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
public ActionResult<TenantData> SetWarehouseOverride(
	Guid id,
	[FromBodyAttribute] TenantWarehouseOverrideData warehouseOverrideData,
	Guid? sessionId = null
)

Parameters

id
Type: System.Guid
The ID of the tenant.
warehouseOverrideData
Type: Dundas.BI.WebApi.Models.TenantWarehouseOverrideData
The tenant warehouse override settings.
sessionId (Optional)
Type: System.Nullable<Guid>
Current session ID.

Return Value

Type: ActionResult<TenantData>
A TenantData object containing the tenant data, or a status code indicating the problem.

Return Value

Type: ActionResult<TenantData>
The operation completed successfully. The payload contains a TenantData object.
See Also