CodeLibraryController.GetCodeLibrary Method |
Gets a 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[HttpGetAttribute("{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(409)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
public ActionResult<CodeLibraryData> GetCodeLibrary(
Guid id,
Guid? sessionId = null
)
<HttpGetAttribute("{id}")>
<ProducesResponseTypeAttribute(403)>
<ProducesResponseTypeAttribute(409)>
<ProducesResponseTypeAttribute(410)>
<ProducesResponseTypeAttribute(440)>
Public Function GetCodeLibrary (
id As Guid,
Optional sessionId As Guid? = Nothing
) As ActionResult(Of CodeLibraryData)
public:
[HttpGetAttribute(L"{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(409)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
ActionResult<CodeLibraryData^>^ GetCodeLibrary(
Guid id,
Nullable<Guid> sessionId = nullptr
)
[<HttpGetAttribute("{id}")>]
[<ProducesResponseTypeAttribute(403)>]
[<ProducesResponseTypeAttribute(409)>]
[<ProducesResponseTypeAttribute(410)>]
[<ProducesResponseTypeAttribute(440)>]
member GetCodeLibrary :
id : Guid *
?sessionId : Nullable<Guid>
(* Defaults:
let _sessionId = defaultArg sessionId null
*)
-> ActionResult<CodeLibraryData>
Parameters
- id
- Type: System.Guid
The ID of the code library to get. - sessionId (Optional)
- Type: System.Nullable<Guid>
Current session ID.
Return Value
Type:
ActionResult<CodeLibraryData>The operation completed successfully. The payload contains a
CodeLibraryData object.
See Also