GetDISyncInstanceInfo
Retrieves the running status of real-time synchronization tasks and synchronization solution tasks.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dataworks:* |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectId |
integer |
Yes |
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. This parameter specifies the DataWorks workspace for the current API invoke operation. |
10000 |
| TaskType |
string |
Yes |
The type of the Data Integration synchronization task associated with the destination data source. Valid values:
|
DI_REALTIME |
| FileId |
integer |
Yes |
You can invoke the ListFiles operation to obtain the node ID. |
100 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The data structure returned for the Data Integration synchronization task. |
||
| Success |
boolean |
Indicates whether the request is successful. Valid values:
|
true |
| RequestId |
string |
The request ID. You can use the ID to locate logs and troubleshoot issues. |
0bc1411515937635973**** |
| Data |
object |
The running status of the synchronization task. |
|
| Status |
string |
|
RUN |
| Message |
string |
The description of the failure cause when retrieving the running status of the synchronization task. If the running status of the Data Integration synchronization task is successfully retrieved, this parameter is empty. |
fileId[100] is invalid |
| Name |
string |
|
streamx_name |
| SolutionInfo |
object |
|
|
| Status |
string |
The running status of the synchronization solution. |
run |
| Id |
integer |
The task ID of the synchronization solution. |
100 |
| CreatorName |
string |
The name of the creator of the synchronization solution task. |
dataworks_3h1 |
| StepDetail |
array<object> |
The details of the execution steps for the synchronization solution task. |
|
|
object |
The data structure returned for the Data Integration synchronization task. |
||
| Status |
string |
The status of the execution step for the synchronization solution. |
success |
| StepId |
integer |
The ID of the execution step for the synchronization solution. |
1 |
| StepName |
string |
The name of the execution step for the synchronization solution. |
Create a base table |
| Info |
string |
The running information of the synchronization solution. |
{\"fusionProps\":{\"dataSource\":[{\"fileName\":\"holo_20221020161613\",\"status\":\"SUCCESS\"}]},\"customProps\":{\"showSN\":true,\"columns\":[{\"dataIndex\":\"fileName\",\"width\":0.8,\"title\":\"Real-time synchronization name\"},{\"dataIndex\":\"status\",\"width\":0.2,\"title\":\"Status\"}]},\"componentName\":\"Table\"} |
Examples
Success response
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": "Create a base table",
"Info": "{\\\"fusionProps\\\":{\\\"dataSource\\\":[{\\\"fileName\\\":\\\"holo_20221020161613\\\",\\\"status\\\":\\\"SUCCESS\\\"}]},\\\"customProps\\\":{\\\"showSN\\\":true,\\\"columns\\\":[{\\\"dataIndex\\\":\\\"fileName\\\",\\\"width\\\":0.8,\\\"title\\\":\\\"Real-time synchronization name\\\"},{\\\"dataIndex\\\":\\\"status\\\",\\\"width\\\":0.2,\\\"title\\\":\\\"Status\\\"}]},\\\"componentName\\\":\\\"Table\\\"}"
}
]
}
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Param.Invalid | The parameter is invalid. | Param invalid |
| 500 | InternalError.System | An internal error occurred. | InternalError |
| 403 | Forbidden.Access | Access is forbidden. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.