ProjectController.CopyIntoProject Method |
Copies the contents of a project into another project.
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(410)]
[ProducesResponseTypeAttribute(440)]
public ActionResult<CopyResultData> CopyIntoProject(
Guid id,
[FromBodyAttribute] Guid targetProjectId,
Guid? sessionId = null
)
<HttpPostAttribute("Copy/{id}")>
<ProducesResponseTypeAttribute(403)>
<ProducesResponseTypeAttribute(410)>
<ProducesResponseTypeAttribute(440)>
Public Function CopyIntoProject (
id As Guid,
<FromBodyAttribute> targetProjectId As Guid,
Optional sessionId As Guid? = Nothing
) As ActionResult(Of CopyResultData)
public:
[HttpPostAttribute(L"Copy/{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
ActionResult<CopyResultData^>^ CopyIntoProject(
Guid id,
[FromBodyAttribute] Guid targetProjectId,
Nullable<Guid> sessionId = nullptr
)
[<HttpPostAttribute("Copy/{id}")>]
[<ProducesResponseTypeAttribute(403)>]
[<ProducesResponseTypeAttribute(410)>]
[<ProducesResponseTypeAttribute(440)>]
member CopyIntoProject :
id : Guid *
[<FromBodyAttribute>] targetProjectId : Guid *
?sessionId : Nullable<Guid>
(* Defaults:
let _sessionId = defaultArg sessionId null
*)
-> ActionResult<CopyResultData>
Parameters
- id
- Type: System.Guid
The ID of the project to duplicate. - targetProjectId
- Type: System.Guid
The target ID of the target project. - 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 containing additional result details of the copy operation.
See Also