GetTopicInfluence

Updated at:

Retrieves the list of baseline instances affected by an event.

Operation description

Specify a region where DataWorks is activated when you call this operation. RegionId is a host-level parameter used for region routing. Historical successful calls are completed through VPC endpoints in the format of dataworks-vpc.{regionId}.aliyuncs.com.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

TopicId

integer

Yes

The ID of the event.

1234

Response elements

Element

Type

Description

Example

object

HttpStatusCode

integer

The HTTP status code.

200

RequestId

string

The unique ID of the request. You can use this ID to troubleshoot issues if an error occurs.

0000-ABCD-EFG****

ErrorMessage

string

The error message.

The specified parameters are invalid.

ErrorCode

string

The error code.

1031203110005

Success

boolean

Indicates whether the request is successful.

true

Data

object

The list of baseline instances affected by the event.

TopicId

integer

The ID of the event.

1234

Influences

array<object>

The list of affected baseline instances.

object

Status

string

The status of the baseline. Valid values: ERROR (abnormal), SAFE (safe), DANGROUS (warning), and OVER (breached).

SAFE

Owner

string

The Alibaba Cloud UIDs of the baseline owners. Separate multiple UIDs with commas (,).

952795****

BaselineName

string

The name of the baseline.

Baseline name

BaselineId

integer

The ID of the baseline.

12345

Bizdate

integer

The business date timestamp of the baseline instance.

1553356800000

Buffer

integer

The buffer of the baseline instance, in seconds.

360

ProjectId

integer

The ID of the workspace to which the baseline belongs.

1234

Priority

integer

The priority of the baseline. Valid values: 1, 2, 5, 7, and 8.

1

InGroupId

integer

The cycle number of the baseline instance. The value is 1 for daily baselines and ranges from 1 to 24 for hourly baselines.

1

Examples

Success response

JSON format

{
  "HttpStatusCode": 200,
  "RequestId": "0000-ABCD-EFG****",
  "ErrorMessage": "The specified parameters are invalid.",
  "ErrorCode": "1031203110005",
  "Success": true,
  "Data": {
    "TopicId": 1234,
    "Influences": [
      {
        "Status": "SAFE",
        "Owner": "952795****",
        "BaselineName": "Baseline name",
        "BaselineId": 12345,
        "Bizdate": 1553356800000,
        "Buffer": 360,
        "ProjectId": 1234,
        "Priority": 1,
        "InGroupId": 1
      }
    ]
  }
}

Error codes

HTTP status code

Error code

Error message

Description

500 Forbidden.Not.Server The dataworksAPI service is not available in this area. Please try it in another area.
500 InternalError.System An internal system error occurred. Try again later.
500 InternalError.UserId.Missing An internal system error occurred. Try again later.
500 InternalError.Wkbench.ServiceError An internal error occurred. An internal error occurred.
500 Invalid.Wkbench.Parameter The specified parameters are invalid.
500 Invalid.Wkbench.TopicNotExist The topic does not exist.
403 Forbidden.Access Access is forbidden. Please first activate DataWorks Enterprise Edition or Flagship Edition.
429 Throttling.Api The request for this resource has exceeded your available limit.
429 Throttling.Api.Risk The request for this resource has exceeded your daily available limit.
429 Throttling.System The DataWorks system is busy. Try again later.
429 Throttling.User Your request is too frequent. Try again later.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.