Stops a real-time synchronization task.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ProjectId | long | Yes | The ID of the DataWorks workspace. You can log on to the DataWorks console and go to the Workspace page to obtain the workspace ID. You must configure this parameter to specify the DataWorks workspace to which the API operation is applied. | 10000 |
TaskType | string | Yes | The type of the synchronization task that you want to stop. Set the value to DI_REALTIME. DI_REALTIME indicates a real-time synchronization task. | DI_REALTIME |
FileId | long | Yes | The ID of the synchronization task. You can call the ListFiles operation to query the ID. | 100 |
Response parameters
Examples
Sample success responses
JSON
format
{
"Success": true,
"RequestId": "0bc1411515937635973****",
"Data": {
"Status": "success",
"Message": "fileId:[100] is invalid."
}
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | Param.Invalid | The parameter is invalid. | Param invalid |
403 | Forbidden.Access | Access is forbidden. | - |
500 | InternalError.System | An internal error occurred. | InternalError |
For a list of error codes, visit the Service error codes.