FileSystemEntryControllerBase.CopyEntry Method |
Copies the file system entry with the specified ID to the new location.
Namespace:
Dundas.BI.WebApi.Controllers
Assembly:
Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (25.2.0.1000)
Syntax[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(405)]
[ProducesResponseTypeAttribute(409)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
protected ActionResult<CopyResultData> CopyEntry(
Guid id,
CopyEntryOptions options,
Guid? sessionId = null
)
<ProducesResponseTypeAttribute(403)>
<ProducesResponseTypeAttribute(405)>
<ProducesResponseTypeAttribute(409)>
<ProducesResponseTypeAttribute(410)>
<ProducesResponseTypeAttribute(440)>
Protected Function CopyEntry (
id As Guid,
options As CopyEntryOptions,
Optional sessionId As Guid? = Nothing
) As ActionResult(Of CopyResultData)
protected:
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(405)]
[ProducesResponseTypeAttribute(409)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
ActionResult<CopyResultData^>^ CopyEntry(
Guid id,
CopyEntryOptions^ options,
Nullable<Guid> sessionId = nullptr
)
[<ProducesResponseTypeAttribute(403)>]
[<ProducesResponseTypeAttribute(405)>]
[<ProducesResponseTypeAttribute(409)>]
[<ProducesResponseTypeAttribute(410)>]
[<ProducesResponseTypeAttribute(440)>]
member CopyEntry :
id : Guid *
options : CopyEntryOptions *
?sessionId : Nullable<Guid>
(* Defaults:
let _sessionId = defaultArg sessionId null
*)
-> ActionResult<CopyResultData>
Parameters
- id
- Type: System.Guid
The ID of the object to copy. - options
- Type: Dundas.BI.WebApi.Models.CopyEntryOptions
The options with which to copy the specified object. - 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 ID of the new copied file and additional information.
See Also