A Sandcastle Documented Class Library

# TransferController GetTransferFile Method

GET /Transfer/File/{id} 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 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    [HttpGetAttribute]
    [ActionNameAttribute("File")]
    public IActionResult GetTransferFile(
    	Guid id,
    	Guid? sessionId = null
    )

    <HttpGetAttribute>
    <ActionNameAttribute("File")>
    Public Function GetTransferFile (
    	id As Guid,
    	Optional sessionId As Guid? = Nothing
    ) As IActionResult

    public:
    [HttpGetAttribute]
    [ActionNameAttribute(L"File")]
    IActionResult^ GetTransferFile(
    	Guid id,
    	Nullable<Guid> sessionId = nullptr
    )

    [<HttpGetAttribute>]
    [<ActionNameAttribute("File")>]
    member GetTransferFile :
            id : Guid *
            ?sessionId : Nullable<Guid>
    (* Defaults:
            let _sessionId = defaultArg sessionId null
    *)
    -> IActionResult

#### 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: IActionResult
A status code indicating success and the file or failure and the reason why.
See Also

#### Reference

TransferController Class
Dundas.BI.WebApi.Controllers Namespace