PUT /v1/transformationRules/{id}

Update an existing transformation rule. All properties specified in the request are replaced. Missing properties will remain the same.

Servers

Path parameters

Name Type Required Description
id String Yes

Identifier of the transformation rule to update.

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
ruleDefinition Object Yes

The properties that define a transformation rule.

ruleDefinition.transformedMetricsRetention Integer No

Retention period in days for the transformed metrics that are generated by this rule. The supported retention periods for transformed metrics are 8 days, and 400 days. If no dimension transformations are defined, this value will be set to 0.

Default value: 0

ruleDefinition.selector String Yes

Selector of the transformation rule.

ruleDefinition.dimensionTransformations[] Array No

Dimension transformations of the transformation rule.

ruleDefinition.dimensionTransformations[].transformationType String Yes

This is the base type of all dimension transformations.

ruleDefinition.name String Yes

Name of the transformation rule.

ruleDefinition.retention Integer Yes

Retention period in days for the metrics that are selected by the selector. The supported retention periods for selected metrics are 8 days, 400 days, and 0 (Do not store) if this rule contains dimension transformation.

Default value: 400

enabled Boolean Yes

True if the rule is enabled.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.