Starts a change tracking task.
When you call this operation, the change tracking task must be in the NotStarted or Failed state.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | StartSubscriptionInstance |
The operation that you want to perform. Set the value to StartSubscriptionInstance. |
SubscriptionInstanceId | String | Yes | dtso6m11cxt26q**** |
The ID of the change tracking instance. You can call the DescribeSubscriptionInstances operation to query the instance ID. |
RegionId | String | No | cn-hangzhou |
The ID of the region where the change tracking instance resides. For more information, see List of supported regions. |
AccountId | String | No | 12323344**** |
The ID of the Alibaba Cloud account. You do not need to specify this parameter because this parameter will be removed in the future. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
ErrCode | String | InternalError |
The error code returned if the call failed. |
ErrMessage | String | The request processing has failed due to some unknown error. |
The error message returned if the call failed. |
RequestId | String | B083F9AB-BE9B-4716-8AD3-CFA04391**** |
The ID of the request. |
Success | String | true |
Indicates whether the call was successful. |
TaskId | String | 11**** |
The task ID. This parameter will be removed in the future. |
Examples
Sample requests
http(s)://dts.aliyuncs.com/?Action=StartSubscriptionInstance
&SubscriptionInstanceId=dtso6m11cxt26q****
&<Common request parameters>
Sample responses
XML
format
<StartSubscriptionInstanceResponse>
<TaskId>11****</TaskId>
<RequestId>B083F9AB-BE9B-4716-8AD3-CFA04391****</RequestId>
<Success>true</Success>
</StartSubscriptionInstanceResponse>
JSON
format
{
"TaskId": "11****",
"RequestId": "B083F9AB-BE9B-4716-8AD3-CFA04391****",
"Success": true
}
Error codes
For a list of error codes, visit the API Error Center.