Queries the subscribers of a partition filter expression.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

ParameterTypeRequiredExampleDescription
ActionStringYesGetQualityFollower

The operation that you want to perform. Set the value to GetQualityFollower.

ProjectNameStringYesautotest

The name of the compute engine instance or data source.

EntityIdLongYes1234

The ID of the partition filter expression.

ProjectIdLongNo27

The ID of the DataWorks workspace.

Response parameters

ParameterTypeExampleDescription
HttpStatusCodeInteger200

The HTTP status code.

RequestIdString38cbdef0-f6cf-49

The request ID.

ErrorMessageStringYou have no permission.

The error message.

SuccessBooleantrue

Indicates whether the request was successful.

ErrorCodeStringInvalid.Tenant.ConnectionNotExists

The error code.

DataArray of Follower

The information about the subscribers.

FollowerAccountNameStringtest

The name of the Alibaba Cloud account that is used by the subscriber.

TableNameStringdual

The name of the partitioned table.

AlarmModeInteger1

The notification method. Valid values:

  • 1: Notifications are sent by email.
  • 2: Notifications are sent by email and text message.
  • 4: Notifications are sent by using a DingTalk chatbot or a webhook URL.
  • 5: Notifications are sent by a DingTalk chatbot to all members in a DingTalk group.
EntityIdString1234

The ID of the partition filter expression.

ProjectNameStringautotest

The name of the compute engine instance or data source.

IdLong123

The ID of the subscription relationship.

FollowerString1234

The subscriber for receiving alert notifications.

CreateTimeLong1541576644000

The time when the subscription was created.

ModifyTimeLong1541576644000

The time when the subscription was updated.

Examples

Sample requests

http(s)://[Endpoint]/?Action=GetQualityFollower
&ProjectName=autotest
&EntityId=1234
&ProjectId=27
&Common request parameters

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<GetQualityFollowerResponse>
    <HttpStatusCode>200</HttpStatusCode>
    <RequestId>38cbdef0-f6cf-49</RequestId>
    <ErrorMessage>You have no permission.</ErrorMessage>
    <Success>true</Success>
    <ErrorCode>Invalid.Tenant.ConnectionNotExists</ErrorCode>
    <Data>
        <FollowerAccountName>test</FollowerAccountName>
        <TableName>dual</TableName>
        <AlarmMode>1</AlarmMode>
        <EntityId>1234</EntityId>
        <ProjectName>autotest</ProjectName>
        <Id>123</Id>
        <Follower>1234</Follower>
        <CreateTime>1541576644000</CreateTime>
        <ModifyTime>1541576644000</ModifyTime>
    </Data>
</GetQualityFollowerResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "HttpStatusCode" : 200,
  "RequestId" : "38cbdef0-f6cf-49",
  "ErrorMessage" : "You have no permission.",
  "Success" : true,
  "ErrorCode" : "Invalid.Tenant.ConnectionNotExists",
  "Data" : {
    "FollowerAccountName" : "test",
    "TableName" : "dual",
    "AlarmMode" : 1,
    "EntityId" : 1234,
    "ProjectName" : "autotest",
    "Id" : 123,
    "Follower" : 1234,
    "CreateTime" : 1541576644000,
    "ModifyTime" : 1541576644000
  }
}

Error codes

For a list of error codes, see Service error codes.