DataCubeControllerReplaceDataConnector Method |
Replaces the data connector of a manual select transform with the option to also specify the native structure to replace with. This is used to change one data connector with another to effectively replace the data source of the transform.
Namespace:
Dundas.BI.WebApi.Controllers
Assembly:
Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (25.3.0.1000)
Syntax[HttpPostAttribute("ReplaceDataConnector/{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(405)]
[ProducesResponseTypeAttribute(409)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
public ActionResult<DataCubeData> ReplaceDataConnector(
Guid id,
[FromBodyAttribute] ReplaceDataConnectorOptions options,
Guid? sessionId = null
)
<HttpPostAttribute("ReplaceDataConnector/{id}")>
<ProducesResponseTypeAttribute(403)>
<ProducesResponseTypeAttribute(405)>
<ProducesResponseTypeAttribute(409)>
<ProducesResponseTypeAttribute(410)>
<ProducesResponseTypeAttribute(440)>
Public Function ReplaceDataConnector (
id As Guid,
<FromBodyAttribute> options As ReplaceDataConnectorOptions,
Optional sessionId As Guid? = Nothing
) As ActionResult(Of DataCubeData)
public:
[HttpPostAttribute(L"ReplaceDataConnector/{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(405)]
[ProducesResponseTypeAttribute(409)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
ActionResult<DataCubeData^>^ ReplaceDataConnector(
Guid id,
[FromBodyAttribute] ReplaceDataConnectorOptions^ options,
Nullable<Guid> sessionId = nullptr
)
[<HttpPostAttribute("ReplaceDataConnector/{id}")>]
[<ProducesResponseTypeAttribute(403)>]
[<ProducesResponseTypeAttribute(405)>]
[<ProducesResponseTypeAttribute(409)>]
[<ProducesResponseTypeAttribute(410)>]
[<ProducesResponseTypeAttribute(440)>]
member ReplaceDataConnector :
id : Guid *
[<FromBodyAttribute>] options : ReplaceDataConnectorOptions *
?sessionId : Nullable<Guid>
(* Defaults:
let _sessionId = defaultArg sessionId null
*)
-> ActionResult<DataCubeData>
Parameters
- id
- Type: SystemGuid
The ID of the data cube to replace the select transform on. - options
- Type: Dundas.BI.WebApi.ModelsReplaceDataConnectorOptions
The transform to replace the data connector of of. - sessionId (Optional)
- Type: SystemNullableGuid
Current session ID.
Return Value
Type:
ActionResultDataCubeDataThe operation completed successfully. The payload contains a
DataCubeData object containing the updated data cube data.
See Also