Starts a reverse task that was created by calling the CreateReverseDtsJob operation.
Before you call the StartReverseWriter operation, make sure that the task is not released and is in the Paused state. You can check the status of the task in the Data Transmission Service (DTS) console or by calling the DescribeDtsJobDetail operation.
Debugging
Request parameters
Parameter |
Type |
Required |
Example |
Description |
Action | String | Yes | StartReverseWriter | The operation that you want to perform. Set the value to StartReverseWriter. |
DtsJobId | String | Yes | n99m9jx822k**** | The ID of the reverse task that was created by calling the CreateReverseDtsJob operation. |
CheckPoint | String | No | 1695613785 | The offset of the Incremental Write module. Specify a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. Note The default value is the offset that is automatically saved by DTS when the task is paused. |
Response parameters
Parameter |
Type |
Example |
Description |
RequestId | String | 291BA4F1-2035-3FAA-6D5A-5D2015CC**** | The request ID. |
ErrCode | String | InternalError | The error code returned if the request failed. |
Success | String | true | Indicates whether the request was successful. |
ErrMessage | String | The Value of Input Parameter %s is not valid. | The error message returned if the request failed. |
Examples
Sample requests
http(s)://dts.aliyuncs.com/?Action=StartReverseWriter
&DtsJobId=n99m9jx822k****
&Common request parameters
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<StartReverseWriterResponse>
<RequestId>291BA4F1-2035-3FAA-6D5A-5D2015CC****</RequestId>
<Success>true</Success>
</StartReverseWriterResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "291BA4F1-2035-3FAA-6D5A-5D2015CC****",
"Success" : "true"
}
Error codes
HTTP status code |
Error code |
Error message |
Description |
400 | Throttling.User | Request was denied due to user flow control. | The number of requests reached the limit, and the request was rejected. Try again later. |
403 | InvalidSecurityToken.Expired | Specified SecurityToken is expired. | The signature expired. Use a new signature. |
403 | InvalidParameter | The value of the parameter %s is invalid. | The specified value was invalid. Enter a valid value. |
403 | Original.Job.Running | The parent dts job is running, reverse job cannot been startup. | The original task was running and the reverse task failed to be started. |
500 | ServiceUnavailable | The request has failed due to a temporary failure of the server. | The response of the server timed out or the server was unavailable. Try again. If the error persists, contact technical support. |
For a list of error codes, see Service error codes.