Queries the trend of the number of auto triggered node instances that are successfully run every hour on the hour of the current day.

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

Parameter Type Required Example Description
Action String Yes ListSuccessInstanceAmount

The operation that you want to perform.

ProjectId Long Yes 9527

The ID of the DataWorks workspace. You can log on to the DataWorks console and go to the Workspace Management page to obtain the ID.

RegionId String Yes cn-shanghai

The region ID. For example, the ID of the China (Shanghai) region is cn-shanghai, and that of the China (Zhangjiakou) region is cn-zhangjiakou. The system automatically determines the value of this parameter based on the endpoint that is used to call the operation.

Response parameters

Parameter Type Example Description
InstanceStatusTrend Struct

Indicates the trend of the number of auto triggered node instances that are successfully run every hour on the hour of the current day.

AvgTrend Array of AvgTrend

The average trend.

Count Integer 10

The number of instances that are successfully run.

TimePoint String 01:00

The point in time. The value is an exact hour that ranges from 00:00 to 23:00, such as 00:00, 01:00, or 02:00.

TodayTrend Array of TodayTrend

The trend of the number of auto triggered node instances that are successfully run on the current day.

Count Integer 10

The number of instances that are successfully run.

TimePoint String 01:00

The point in time. The value is an exact hour that ranges from 00:00 to 23:00, such as 00:00, 01:00, or 02:00.

YesterdayTrend Array of YesterdayTrend

The trend of the number of auto triggered node instances that are successfully run one day earlier than the current day.

Count Integer 10

The number of instances that are successfully run.

TimePoint String 01:00

The point in time. The value is an exact hour that ranges from 00:00 to 23:00, such as 00:00, 01:00, or 02:00.

RequestId String 952795279527ab****

The ID of the request. You can use the ID to troubleshoot issues.

Examples

Sample requests

http(s)://[Endpoint]/?Action=ListSuccessInstanceAmount
&ProjectId=9527
&RegionId=cn-shanghai
&<Common request parameters>

Sample success responses

XML format

<RequestId>952795279527ab****</RequestId>
<InstanceStatusTrend>
    <YesterdayTrend>
        <TimePoint>01:00</TimePoint>
        <Count>10</Count>
    </YesterdayTrend>
    <AvgTrend>
        <TimePoint>01:00</TimePoint>
        <Count>10</Count>
    </AvgTrend>
    <TodayTrend>
        <TimePoint>01:00</TimePoint>
        <Count>10</Count>
    </TodayTrend>
</InstanceStatusTrend>

JSON format

{
    "RequestId": "952795279527ab****",
    "InstanceStatusTrend": {
        "YesterdayTrend": {
            "TimePoint": "01:00",
            "Count": 10
        },
        "AvgTrend": {
            "TimePoint": "01:00",
            "Count": 10
        },
        "TodayTrend": {
            "TimePoint": "01:00",
            "Count": 10
        }
    }
}

Error codes

HttpCode Error code Error message Description
500 Forbidden.Not.Server The dataworksAPI service is not available in this area. Please try it in another area. The error message returned because the DataWorks API is unavailable in this region. Try another region.
500 InternalError.System An internal system error occurred. Try again later. The error message returned because an internal error has occurred. Try again later.
500 InternalError.UserId.Missing An internal system error occurred. Try again later. The error message returned because an internal error has occurred. Try again later.
403 ResourceNotAuthorized.Api You are not authorized to access the resources. The error message returned because you are not authorized to access the resources.
429 Throttling.Api The request for this resource has exceeded your available limit. The error message returned because the maximum number of requests for the resource has been reached.
429 Throttling.Api.Risk The request for this resource has exceeded your daily available limit. The error message returned because the maximum number of requests per day for the resource has been reached.
429 Throttling.Resource You have reached the limit for the resource. Please contact us by submitting a ticket. The error message returned because your quota for this resource has reached the upper limit. Submit a ticket for help.
429 Throttling.System The DataWorks system is busy. Try again later. The error message returned because the DataWorks system is busy. Try again later.
429 Throttling.User Your request is too frequent. Try again later. The error message returned because excessive requests have been submitted within a short period of time. Try again later.
500 Forbidden.Wkbench.ProjectNoPermission You are not authorized to access the workspace. The error message returned because you are not authorized to access the workspace.
403 Forbidden.Access Access is forbidden. Please first activate DataWorks Enterprise Edition or Flagship Edition. The error message returned because you are not allowed to perform this operation. Activate DataWorks Enterprise Edition or DataWorks Ultimate Edition.

For a list of error codes, visit the API Error Center.