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
)
<HttpPostAttribute>
<ProducesResponseTypeAttribute(403)>
<ProducesResponseTypeAttribute(405)>
<ProducesResponseTypeAttribute(409)>
<ProducesResponseTypeAttribute(410)>
<ProducesResponseTypeAttribute(440)>
Public Function GenerateCodeLibrary (
<FromBodyAttribute> options As GenerateCodeLibraryOptions,
Optional sessionId As Guid? = Nothing
) As ActionResult(Of CodeLibraryData)
public:
[HttpPostAttribute]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(405)]
[ProducesResponseTypeAttribute(409)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
ActionResult<CodeLibraryData^>^ GenerateCodeLibrary(
[FromBodyAttribute] GenerateCodeLibraryOptions^ options,
Nullable<Guid> sessionId = nullptr
)
[<HttpPostAttribute>]
[<ProducesResponseTypeAttribute(403)>]
[<ProducesResponseTypeAttribute(405)>]
[<ProducesResponseTypeAttribute(409)>]
[<ProducesResponseTypeAttribute(410)>]
[<ProducesResponseTypeAttribute(440)>]
member GenerateCodeLibrary :
[<FromBodyAttribute>] options : GenerateCodeLibraryOptions *
?sessionId : Nullable<Guid>
(* Defaults:
let _sessionId = defaultArg sessionId null
*)
-> ActionResult<CodeLibraryData>
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