启动数据集成新版任务,当前支持的任务类型包括:MySQL到Hologres整库实时同步任务。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
请求参数
名称 |
类型 |
是否必选 |
示例值 |
描述 |
Action | String | 是 | StartDIJob | 系统规定参数。取值:StartDIJob。 |
DIJobId | Long | 是 | 11743 | 任务ID。 |
RealtimeStartSettings | Object | 否 | 实时同步启动设置。 |
|
StartTime | Long | 否 | 1671516776 | 实时同步起始位点时间戳,单位秒。不填默认为不重置位点。 |
FailoverSettings | Object | 否 | Failover设置。 |
|
Interval | Long | 否 | 10 | Failover时间区间,单位分钟。 |
UpperLimit | Long | 否 | 30 | Failover次数上限。 |
ForceToRerun | Boolean | 否 | true | 是否强制重跑全部同步步骤。不填默认为不强制重跑。 |
返回数据
名称 |
类型 |
示例值 |
描述 |
RequestId | String | 999431B2-6013-577F-B684-36F7433C753B | 请求ID。 |
示例
请求示例
http(s)://[Endpoint]/?Action=StartDIJob
&DIJobId=11743
&RealtimeStartSettings={"StartTime":1671516776,"FailoverSettings":{"Interval":10,"UpperLimit":30}}
&ForceToRerun=true
&公共请求参数
正常返回示例
XML
格式
HTTP/1.1 200 OK
Content-Type:application/xml
<StartDIJobResponse>
<RequestId>999431B2-6013-577F-B684-36F7433C753B</RequestId>
</StartDIJobResponse>
JSON
格式
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "999431B2-6013-577F-B684-36F7433C753B"
}
错误码
HttpCode |
错误码 |
错误信息 |
描述 |
429 | Throttling.Api | The request for this resource has exceeded your available limit. | 对该资源的请求已超过您的可用上限。 |
429 | Throttling.System | The DataWorks system is busy. Try again later. | DataWorks系统繁忙,请稍后再试。 |
429 | Throttling.User | Your request is too frequent. Try again later. | 您的请求过于频繁,请尝试放缓请求速度。 |
500 | InternalError.System | An internal system error occurred. Try again later. | 系统内部错误,请稍后再试。 |
500 | InternalError.UserId.Missing | An internal system error occurred. Try again later. | 系统内部错误,请稍后再试。 |
访问错误中心查看更多错误码。
反馈
- 本页导读 (1)
文档反馈