Open this page in the API Guide

FileController.GetRecycleBinFolder Method

Gets the recycle bin folder.

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("RecycleBin")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
public ActionResult<FileData?> GetRecycleBinFolder(
	Guid? sessionId = null,
	Guid? accountId = null,
	Guid? tenantId = null,
	bool createIfNotExists = true
)

Parameters

sessionId (Optional)
Type: System.Nullable<Guid>
Current session ID.
accountId (Optional)
Type: System.Nullable<Guid>
The optional account ID to get the recycle bin folder for a specific account.
tenantId (Optional)
Type: System.Nullable<Guid>
The tenant ID associated with the account's recycle bin.
createIfNotExists (Optional)
Type: System.Boolean
Pass true to create the recycle bin folder, if its does not exist, false otherwise.

Return Value

Type: ActionResult<FileData>
The operation completed successfully. The payload contains a FileData object if the recycle bin folder exists or if createIfNotExists is set to true, null if the recycle bin folder does not exist and createIfNotExists is set to false.
See Also