DataCubeController.CreateParameter Method |
Creates a new parameter on the transform. Parameters for Output Element filtering or Transform setting can be created.
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("Parameter/{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
public ActionResult<ProcessParameterData> CreateParameter(
Guid id,
[FromBodyAttribute] ParameterOptions options,
Guid? sessionId = null
)
<HttpPostAttribute("Parameter/{id}")>
<ProducesResponseTypeAttribute(403)>
<ProducesResponseTypeAttribute(410)>
<ProducesResponseTypeAttribute(440)>
Public Function CreateParameter (
id As Guid,
<FromBodyAttribute> options As ParameterOptions,
Optional sessionId As Guid? = Nothing
) As ActionResult(Of ProcessParameterData)
public:
[HttpPostAttribute(L"Parameter/{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
ActionResult<ProcessParameterData^>^ CreateParameter(
Guid id,
[FromBodyAttribute] ParameterOptions^ options,
Nullable<Guid> sessionId = nullptr
)
[<HttpPostAttribute("Parameter/{id}")>]
[<ProducesResponseTypeAttribute(403)>]
[<ProducesResponseTypeAttribute(410)>]
[<ProducesResponseTypeAttribute(440)>]
member CreateParameter :
id : Guid *
[<FromBodyAttribute>] options : ParameterOptions *
?sessionId : Nullable<Guid>
(* Defaults:
let _sessionId = defaultArg sessionId null
*)
-> ActionResult<ProcessParameterData>
Parameters
- id
- Type: System.Guid
The ID of the data cube to create the parameter on. - options
- Type: Dundas.BI.WebApi.Models.ParameterOptions
The options to build the warehouse. - sessionId (Optional)
- Type: System.Nullable<Guid>
Current session ID.
Return Value
Type:
ActionResult<ProcessParameterData>The operation completed successfully. The payload contains a
ProcessParameterData object.
See Also