CodeLibraryController.GetCodeLibraryContent Method |
Gets the contents of the specified code library 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("File/{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(409)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
public ActionResult GetCodeLibraryContent(
Guid id,
Guid? sessionId = null
)
<HttpGetAttribute("File/{id}")>
<ProducesResponseTypeAttribute(403)>
<ProducesResponseTypeAttribute(409)>
<ProducesResponseTypeAttribute(410)>
<ProducesResponseTypeAttribute(440)>
Public Function GetCodeLibraryContent (
id As Guid,
Optional sessionId As Guid? = Nothing
) As ActionResult
public:
[HttpGetAttribute(L"File/{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(409)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
ActionResult^ GetCodeLibraryContent(
Guid id,
Nullable<Guid> sessionId = nullptr
)
[<HttpGetAttribute("File/{id}")>]
[<ProducesResponseTypeAttribute(403)>]
[<ProducesResponseTypeAttribute(409)>]
[<ProducesResponseTypeAttribute(410)>]
[<ProducesResponseTypeAttribute(440)>]
member GetCodeLibraryContent :
id : Guid *
?sessionId : Nullable<Guid>
(* Defaults:
let _sessionId = defaultArg sessionId null
*)
-> ActionResult
Parameters
- id
- Type: System.Guid
The ID of the code library to retrieve. - sessionId (Optional)
- Type: System.Nullable<Guid>
The ID of the session.
Return Value
Type:
ActionResultThe requested data as a byte stream.
See Also