Open this page in the API Guide

ViewController<T>.GetById Method

Retrieves a view.

Namespace:  Dundas.BI.WebApi.Controllers
Assembly:  Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (25.2.0.1000)
Syntax
[HttpGetAttribute("{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(409)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
public virtual ActionResult<ViewData> GetById(
	Guid id,
	bool localize = false,
	Guid? sessionId = null
)

Parameters

id
Type: System.Guid
The ID of the view which data is requested.
localize (Optional)
Type: System.Boolean
Indicates whether the view should be localized in the result. A localized version cannot be saved again.
sessionId (Optional)
Type: System.Nullable<Guid>
Current session ID.

Return Value

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