ProjectController.PublishItems Method |
Publish the selected items to a target 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("PublishItems/{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(405)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
public ActionResult<PublishResultData> PublishItems(
Guid id,
[FromBodyAttribute] PublishProjectItemsOptions options,
Guid? sessionId = null
)
<HttpPostAttribute("PublishItems/{id}")>
<ProducesResponseTypeAttribute(403)>
<ProducesResponseTypeAttribute(405)>
<ProducesResponseTypeAttribute(410)>
<ProducesResponseTypeAttribute(440)>
Public Function PublishItems (
id As Guid,
<FromBodyAttribute> options As PublishProjectItemsOptions,
Optional sessionId As Guid? = Nothing
) As ActionResult(Of PublishResultData)
public:
[HttpPostAttribute(L"PublishItems/{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(405)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
ActionResult<PublishResultData^>^ PublishItems(
Guid id,
[FromBodyAttribute] PublishProjectItemsOptions^ options,
Nullable<Guid> sessionId = nullptr
)
[<HttpPostAttribute("PublishItems/{id}")>]
[<ProducesResponseTypeAttribute(403)>]
[<ProducesResponseTypeAttribute(405)>]
[<ProducesResponseTypeAttribute(410)>]
[<ProducesResponseTypeAttribute(440)>]
member PublishItems :
id : Guid *
[<FromBodyAttribute>] options : PublishProjectItemsOptions *
?sessionId : Nullable<Guid>
(* Defaults:
let _sessionId = defaultArg sessionId null
*)
-> ActionResult<PublishResultData>
Parameters
- id
- Type: System.Guid
The ID of the target project to publish to. - options
- Type: Dundas.BI.WebApi.Models.PublishProjectItemsOptions
The options for this publish. - sessionId (Optional)
- Type: System.Nullable<Guid>
ID of the current session.
Return Value
Type:
ActionResult<PublishResultData>The operation completed successfully. The payload contains a
PublishResultData object.
See Also