Open this page in the API Guide

CodeLibraryController.GenerateCodeLibrary Method

Generates a new code library.

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]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(405)]
[ProducesResponseTypeAttribute(409)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
public ActionResult<CodeLibraryData> GenerateCodeLibrary(
	[FromBodyAttribute] GenerateCodeLibraryOptions options,
	Guid? sessionId = null
)

Parameters

options
Type: Dundas.BI.WebApi.Models.GenerateCodeLibraryOptions
The code library options for creating the code library.
sessionId (Optional)
Type: System.Nullable<Guid>
The current session ID.

Return Value

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