Queries the status of a real-time synchronization task or a data synchronization solution.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ProjectId | long | Yes | The DataWorks workspace ID. You can log on to the DataWorks console and go to the Workspace page to query the 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 object that you want to query. Valid values:
| DI_REALTIME |
FileId | long | Yes |
You can call the ListFiles operation to query the ID of the real-time synchronization task or data synchronization solution. | 100 |
Response parameters
Examples
Sample success responses
JSON
format
{
"Success": true,
"RequestId": "0bc1411515937635973****",
"Data": {
"Status": "RUN",
"Message": "fileId[100] is invalid",
"Name": "streamx_name",
"SolutionInfo": {
"Status": "run",
"Id": 100,
"CreatorName": "dataworks_3h1",
"StepDetail": [
{
"Status": "success",
"StepId": 1,
"StepName": "",
"Info": ""
}
]
}
}
}
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.