ResourceController.GetBuiltInResourceFile Method |
Gets the requested built-in resource as a file.
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("BuiltInResourceFile")]
[ProducesResponseTypeAttribute(410)]
public ActionResult GetBuiltInResourceFile(
BuiltInResourceKind resourceKind,
Guid? tenantId = null,
Guid? sessionId = null
)
<HttpGetAttribute("BuiltInResourceFile")>
<ProducesResponseTypeAttribute(410)>
Public Function GetBuiltInResourceFile (
resourceKind As BuiltInResourceKind,
Optional tenantId As Guid? = Nothing,
Optional sessionId As Guid? = Nothing
) As ActionResult
public:
[HttpGetAttribute(L"BuiltInResourceFile")]
[ProducesResponseTypeAttribute(410)]
ActionResult^ GetBuiltInResourceFile(
BuiltInResourceKind resourceKind,
Nullable<Guid> tenantId = nullptr,
Nullable<Guid> sessionId = nullptr
)
[<HttpGetAttribute("BuiltInResourceFile")>]
[<ProducesResponseTypeAttribute(410)>]
member GetBuiltInResourceFile :
resourceKind : BuiltInResourceKind *
?tenantId : Nullable<Guid> *
?sessionId : Nullable<Guid>
(* Defaults:
let _tenantId = defaultArg tenantId null
let _sessionId = defaultArg sessionId null
*)
-> ActionResult
Parameters
- resourceKind
- Type: Dundas.BI.AppResources.BuiltInResourceKind
The kind of resource to get. - tenantId (Optional)
- Type: System.Nullable<Guid>
The optional tenant ID this resource is for. - sessionId (Optional)
- Type: System.Nullable<Guid>
The ID of the session.
Return Value
Type:
ActionResultThe requested data as a byte stream.
See Also