Open this page in the API Guide

ResourceController.StoreStaticResourceFile Method

Stores the contents of the specified static resource when sent as a file. This API call expects form files inside the request body.

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("StaticResourceFile/{name}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(405)]
[ProducesResponseTypeAttribute(409)]
[ProducesResponseTypeAttribute(415)]
[ProducesResponseTypeAttribute(440)]
[FormFileAttribute]
public ActionResult<StaticResourceInfoData?> StoreStaticResourceFile(
	string name,
	string resourceFileType,
	Guid? sessionId = null
)

Parameters

name
Type: System.String
The name of the static resource.
resourceFileType
Type: System.String
The MIME type of the static resource file.
sessionId (Optional)
Type: System.Nullable<Guid>
The ID of the session.

Return Value

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