Open this page in the API Guide

FileController.CopyFile Method

Copies the file with the specified ID.

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("Copy/{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(405)]
[ProducesResponseTypeAttribute(409)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
public ActionResult<CopyResultData> CopyFile(
	Guid id,
	[FromBodyAttribute] CopyEntryOptions options,
	Guid? sessionId = null
)

Parameters

id
Type: System.Guid
The ID of the file to move.
options
Type: Dundas.BI.WebApi.Models.CopyEntryOptions
The options for copying this file.
sessionId (Optional)
Type: System.Nullable<Guid>
ID of the current session.

Return Value

Type: ActionResult<CopyResultData>
The operation completed successfully. The payload contains a CopyResultData object containing additional result details of the copy operation including the copy's ID.
See Also