GetMmsTimer
Operation description
Before using this API, review the billing methods and pricing for dedicated resource groups and elastic reserved computing resources used for data transfer.
Try it now
Test
RAM authorization
Request syntax
GET /api/v1/mms/datasources/{sourceId}/timers/{timerId} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| sourceId |
integer |
Yes |
The ID of the data source. |
2000015 |
| timerId |
integer |
Yes |
The ID of the timer. |
1 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
ApiRes |
||
| requestId |
string |
The request ID. |
0a06dfe716674588654372173ec0da |
| data |
object |
The data returned. |
|
| id |
integer |
The ID of the scheduled task. |
2523 |
| name |
string |
The name of the scheduled task. |
sale_detail |
| sourceId |
integer |
The ID of the data source. |
2000017 |
| dbId |
integer |
The ID of the source database. |
23 |
| srcDbName |
string |
The name of the source database. |
mms_test |
| type |
string |
The type of the scheduled task. |
Daily, Hourly |
| config |
object |
The configuration of the migration job. |
|
| partitions |
array |
If |
|
|
integer |
The ID of a table partition to migrate. |
[123, 132] |
|
| tables |
array |
If |
|
|
string |
The name of a table to migrate. |
["student", "scores"] |
|
| tableBlackList |
array |
If |
|
|
string |
If |
["student", "scores"] |
|
| tableWhiteList |
array |
If |
|
|
string |
If |
["student", "scores"] |
|
| partitionFilters |
object |
A map of table names to their corresponding partition filter expressions. |
|
|
string |
The partition filter expression for a table. For example: In this example, Partition values can be strings or numbers. Strings must be enclosed in single ( For partition columns of types other than Supported comparison operators: The Supported logical operators: Use parentheses |
{ "student": "p1 >= '2022-03-04' and (p2 = 10 or p3 > 20) and p4 in ('abc', 'cde')" } |
|
| enableDataMigration |
boolean |
Whether to migrate table data. |
|
| enableSchemaMigration |
boolean |
Whether to migrate the table schema. |
|
| enableVerification |
boolean |
Whether to enable verification. The system performs verification by running a |
true |
| tableMapping |
object |
A map of source table names to destination table names. |
|
|
string |
Maps a source table name to a destination table name. |
{'a': 'a1'} |
|
| columnMapping |
object |
A map of source column names to destination column names. |
|
|
string |
Maps a source column name to a destination column name. |
{"c-1":"c_2"} |
|
| others |
object |
Other configurations. |
|
|
any |
Other configurations. |
{} |
|
| createTime |
string |
The creation time of the scheduled task. This is a Unix timestamp in milliseconds. |
1730946421757 |
| updateTime |
string |
The last update time of the scheduled task, in ISO 8601 format. |
2026-04-01T02:18:01Z |
| scheduleType |
string |
The scheduling type of the scheduled task. Valid values: |
Daily |
| value |
string |
The scheduling time. If |
p1=1/p2=abc |
| stopped |
boolean |
Indicates whether the scheduled task is stopped. |
false |
Examples
Success response
JSON format
{
"requestId": "0a06dfe716674588654372173ec0da",
"data": {
"id": 2523,
"name": "sale_detail",
"sourceId": 2000017,
"dbId": 23,
"srcDbName": "mms_test",
"type": "Daily, Hourly",
"config": {
"partitions": [
0
],
"tables": [
"[\"student\", \"scores\"]"
],
"tableBlackList": [
"[\"student\", \"scores\"]"
],
"tableWhiteList": [
"[\"student\", \"scores\"]"
],
"partitionFilters": {
"key": "{\n\"student\": \"p1 >= '2022-03-04' and (p2 = 10 or p3 > 20) and p4 in ('abc', 'cde')\" \n}"
},
"enableDataMigration": false,
"enableSchemaMigration": false,
"enableVerification": true,
"tableMapping": {
"key": "{'a': 'a1'}"
},
"columnMapping": {
"key": "{\"c-1\":\"c_2\"}"
},
"others": {
"key": "{}"
}
},
"createTime": "1730946421757",
"updateTime": "2026-04-01T02:18:01Z",
"scheduleType": "Daily",
"value": "p1=1/p2=abc\n",
"stopped": false
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.