Open this page in the API Guide

MetricSetController.AddScriptMetricSet Method

Generate a script metric set.

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("AddScriptMetricSet")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
public ActionResult<MetricSetData> AddScriptMetricSet(
	[FromBodyAttribute] AddScriptMetricSetOptions options,
	Guid? sessionId = null
)

Parameters

options
Type: Dundas.BI.WebApi.Models.AddScriptMetricSetOptions
The measure usage containing the information to generate a metric set.
sessionId (Optional)
Type: System.Nullable<Guid>
Current session ID.

Return Value

Type: ActionResult<MetricSetData>
The operation completed successfully. The payload contains a MetricSetData object containing the generated script metric set.
See Also