A Sandcastle Documented Class Library

# FileController GetFileByName Method

POST /File/Name/ Gets the file.

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

    [HttpPostAttribute]
    [ActionNameAttribute("Name")]
    public IActionResult GetFileByName(
    	[FromBodyAttribute] FileEntryOptions options,
    	Guid? sessionId = null
    )

    <HttpPostAttribute>
    <ActionNameAttribute("Name")>
    Public Function GetFileByName (
    	<FromBodyAttribute> options As FileEntryOptions,
    	Optional sessionId As Guid? = Nothing
    ) As IActionResult

    public:
    [HttpPostAttribute]
    [ActionNameAttribute(L"Name")]
    IActionResult^ GetFileByName(
    	[FromBodyAttribute] FileEntryOptions^ options,
    	Nullable<Guid> sessionId = nullptr
    )

    [<HttpPostAttribute>]
    [<ActionNameAttribute("Name")>]
    member GetFileByName :
            [<FromBodyAttribute>] options : FileEntryOptions *
            ?sessionId : Nullable<Guid>
    (* Defaults:
            let _sessionId = defaultArg sessionId null
    *)
    -> IActionResult

#### Parameters

options
  Type: Dundas.BI.WebApi.Models
  FileEntryOptions
  A FileEntryOptions object containing the needed information.
sessionId (Optional)
  Type: System
  Nullable
  Guid
  ID of the session.

#### Return Value

Type: IActionResult
FileData object containing requested information or a status code indicating the reason for a failure.
See Also

#### Reference

FileController Class
Dundas.BI.WebApi.Controllers Namespace