TransferController.GetTransferFile Method |
Returns the transfer file for download.
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(404)]
[ProducesResponseTypeAttribute(412)]
[ProducesResponseTypeAttribute(440)]
public ActionResult GetTransferFile(
Guid id,
Guid? sessionId = null
)
<HttpGetAttribute("File/{id}")>
<ProducesResponseTypeAttribute(403)>
<ProducesResponseTypeAttribute(404)>
<ProducesResponseTypeAttribute(412)>
<ProducesResponseTypeAttribute(440)>
Public Function GetTransferFile (
id As Guid,
Optional sessionId As Guid? = Nothing
) As ActionResult
public:
[HttpGetAttribute(L"File/{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(404)]
[ProducesResponseTypeAttribute(412)]
[ProducesResponseTypeAttribute(440)]
ActionResult^ GetTransferFile(
Guid id,
Nullable<Guid> sessionId = nullptr
)
[<HttpGetAttribute("File/{id}")>]
[<ProducesResponseTypeAttribute(403)>]
[<ProducesResponseTypeAttribute(404)>]
[<ProducesResponseTypeAttribute(412)>]
[<ProducesResponseTypeAttribute(440)>]
member GetTransferFile :
id : Guid *
?sessionId : Nullable<Guid>
(* Defaults:
let _sessionId = defaultArg sessionId null
*)
-> ActionResult
Parameters
- id
- Type: System.Guid
The ID of the file to return. - sessionId (Optional)
- Type: System.Nullable<Guid>
The current session ID.
Return Value
Type:
ActionResultThe requested data as a byte stream.
See Also