Open this page in the API Guide

FileController.FileExists Method (Guid, Nullable<Guid>)

Determines whether a file with the specified ID exists.

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("Exists/{id}")]
[ProducesResponseTypeAttribute(440)]
public ActionResult<bool> FileExists(
	Guid id,
	Guid? sessionId = null
)

Parameters

id
Type: System.Guid
The ID of the file to check for existence.
sessionId (Optional)
Type: System.Nullable<Guid>
ID of the current session.

Return Value

Type: ActionResult<Boolean>
The operation completed successfully. The payload contains a Boolean value containing true if a file with the specified ID exists in the specified folder; otherwise false.
See Also