FileControllerFileExists Method (Guid, String, NullableGuid)

Determines whether a file with the specified name exists in the specified 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
[HttpPostAttribute("NameExists/{parentId}")]
[ProducesResponseTypeAttribute(440)]
public ActionResult<bool> FileExists(
	Guid parentId,
	[FromBodyAttribute] string name,
	Guid? sessionId = null
)

Parameters

parentId
Type: SystemGuid
The ID of the parent folder.
name
Type: SystemString
The name of the file to check for existence.
sessionId (Optional)
Type: SystemNullableGuid
ID of the current session.

Return Value

Type: ActionResultBoolean
The operation completed successfully. The payload contains a Boolean value containing if a file with the specified name exists in the specified folder; otherwise .
See Also