AccountController.GenerateDownloadFile Method |
Generates a download file for the specified accounts.
Namespace:
Dundas.BI.WebApi.Controllers
Assembly:
Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (25.2.0.1000)
Syntax[HttpPostAttribute("Download")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(440)]
public ActionResult<Guid> GenerateDownloadFile(
[FromBodyAttribute] GetAccountsAsCsvOptions options,
Guid? sessionId = null
)
<HttpPostAttribute("Download")>
<ProducesResponseTypeAttribute(403)>
<ProducesResponseTypeAttribute(440)>
Public Function GenerateDownloadFile (
<FromBodyAttribute> options As GetAccountsAsCsvOptions,
Optional sessionId As Guid? = Nothing
) As ActionResult(Of Guid)
public:
[HttpPostAttribute(L"Download")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(440)]
ActionResult<Guid>^ GenerateDownloadFile(
[FromBodyAttribute] GetAccountsAsCsvOptions^ options,
Nullable<Guid> sessionId = nullptr
)
[<HttpPostAttribute("Download")>]
[<ProducesResponseTypeAttribute(403)>]
[<ProducesResponseTypeAttribute(440)>]
member GenerateDownloadFile :
[<FromBodyAttribute>] options : GetAccountsAsCsvOptions *
?sessionId : Nullable<Guid>
(* Defaults:
let _sessionId = defaultArg sessionId null
*)
-> ActionResult<Guid>
Parameters
- options
- Type: Dundas.BI.WebApi.Models.GetAccountsAsCsvOptions
An object that carries all needed information about the accounts that need to be retrieved. - sessionId (Optional)
- Type: System.Nullable<Guid>
Current session ID.
Return Value
Type:
ActionResult<Guid>A
Guid identifying the download file.
See Also