ProjectController.DuplicateProject Method |
Duplicates the specified 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("Duplicate")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(405)]
[ProducesResponseTypeAttribute(409)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
public ActionResult<DuplicateProjectResultData> DuplicateProject(
[FromBodyAttribute] DuplicateProjectOptions options,
Guid? sessionId = null
)
<HttpPostAttribute("Duplicate")>
<ProducesResponseTypeAttribute(403)>
<ProducesResponseTypeAttribute(405)>
<ProducesResponseTypeAttribute(409)>
<ProducesResponseTypeAttribute(410)>
<ProducesResponseTypeAttribute(440)>
Public Function DuplicateProject (
<FromBodyAttribute> options As DuplicateProjectOptions,
Optional sessionId As Guid? = Nothing
) As ActionResult(Of DuplicateProjectResultData)
public:
[HttpPostAttribute(L"Duplicate")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(405)]
[ProducesResponseTypeAttribute(409)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
ActionResult<DuplicateProjectResultData^>^ DuplicateProject(
[FromBodyAttribute] DuplicateProjectOptions^ options,
Nullable<Guid> sessionId = nullptr
)
[<HttpPostAttribute("Duplicate")>]
[<ProducesResponseTypeAttribute(403)>]
[<ProducesResponseTypeAttribute(405)>]
[<ProducesResponseTypeAttribute(409)>]
[<ProducesResponseTypeAttribute(410)>]
[<ProducesResponseTypeAttribute(440)>]
member DuplicateProject :
[<FromBodyAttribute>] options : DuplicateProjectOptions *
?sessionId : Nullable<Guid>
(* Defaults:
let _sessionId = defaultArg sessionId null
*)
-> ActionResult<DuplicateProjectResultData>
Parameters
- options
- Type: Dundas.BI.WebApi.Models.DuplicateProjectOptions
A class containing the duplicate options. - sessionId (Optional)
- Type: System.Nullable<Guid>
ID of the current session.
Return Value
Type:
ActionResult<DuplicateProjectResultData>The operation completed successfully. The payload contains a
DuplicateProjectResultData including a represention of the duplicated project.
See Also