{
"id": {
"timestamp": 0,
"date": "2019-08-24T14:15:22.123Z"
},
"customId": "string",
"lastUpdBy": "string",
"createUser": "string",
"permissionActions": [
"string"
],
"platformInfo": {
"region": "string",
"zone": "string",
"sourceType": "string",
"vpc": "string",
"ecs": "string",
"checkedVpc": "string",
"strategyExistence": "string",
"regionName": "string",
"zoneName": "string",
"agentType": "string",
"isThrough": true,
"bidirectional": true,
"DRS_instances": "string",
"IP_type": "string",
"DRS_regionName": "string",
"DRS_zoneName": "string"
},
"weight": 0,
"agentTags": [
"string"
],
"cpuLoad": 0,
"hostname": "string",
"usedMemory": 0,
"version": "string",
"metricValues": {
"property1": {},
"property2": {}
},
"serverDate": 0,
"jobs": [
{
"id": {
"timestamp": 0,
"date": "2019-08-24T14:15:22.123Z"
},
"customId": "string",
"lastUpdBy": "string",
"createUser": "string",
"permissionActions": [
"string"
],
"agentId": "string",
"hostName": "string",
"agentName": "string",
"agentTags": [
"string"
],
"scheduleTimes": 0,
"scheduleTime": 0,
"name": "string",
"description": "string",
"status": "string",
"executeMode": "string",
"mappingTemplate": "string",
"setting": {
"property1": {},
"property2": {}
},
"category": "string",
"stopOnError": true,
"debug": {
"property1": {},
"property2": {}
},
"emailWaring": {
"property1": {},
"property2": {}
},
"stages": [
{
"property1": {},
"property2": {}
}
],
"stats": {
"property1": {},
"property2": {}
},
"dataFlowType": "string",
"pingTime": 0,
"nextSyncTime": 0,
"nextScheduledTime": 0,
"validateStatus": "string",
"validateFailedMSG": "string",
"validationSettings": [
{
"property1": {},
"property2": {}
}
],
"validateBatchId": "string",
"lastValidateBatchId": "string",
"cdcShareDataFlowIds": [
"string"
],
"cdcLastTimes": [
{
"property1": {},
"property2": {}
}
],
"flowMilestones": [
{
"property1": {},
"property2": {}
}
],
"edgeMilestones": {
"property1": {},
"property2": {}
},
"syncProgress": {
"property1": {},
"property2": {}
},
"startTime": {},
"scheduledTime": {},
"stoppingTime": {},
"forceStoppingTime": {},
"runningTime": {},
"errorTime": {},
"pausedTime": {},
"finishTime": {},
"operationTime": {},
"milestones": [
{
"property1": {},
"property2": {}
}
],
"tcm": {
"agentId": "string",
"agentName": "string"
},
"dataSourceModel": {},
"platformInfo": {
"region": "string",
"zone": "string",
"sourceType": "string",
"vpc": "string",
"ecs": "string",
"checkedVpc": "string",
"strategyExistence": "string",
"regionName": "string",
"zoneName": "string",
"agentType": "string",
"isThrough": true,
"bidirectional": true,
"DRS_instances": "string",
"IP_type": "string",
"DRS_regionName": "string",
"DRS_zoneName": "string"
},
"agentType": "string",
"flowEngineVersion": "string",
"tranModelVersionControl": {
"property1": true,
"property2": true
},
"creator": "string",
"rollback": "string",
"rollbackTable": "string",
"metadataMappings": [
{
"sourceNodeId": "string",
"invalid": true,
"sourceQualifiedName": "string",
"sourceDbName": "string",
"sourceDbType": "string",
"sourceObjectName": "string",
"sourceFieldCount": 0,
"sourceDeletedFieldCount": 0,
"sourceTableId": "string",
"sinkNodeId": "string",
"sinkQulifiedName": "string",
"sinkDbName": "string",
"sinkObjectName": "string",
"sinkDbType": "string",
"sinkStageId": "string",
"userDeletedNum": 0,
"sinkTableId": "string",
"fieldsMapping": [
{
"targetFieldName": "string",
"sourceFieldName": "string",
"sourceFieldType": "string",
"type": "string",
"defaultValue": "string",
"useDefaultValue": true,
"isShow": true,
"migrateType": "string",
"primary_key_position": 0
}
],
"sinkAvailableFieldCount": 0,
"sinkInvalidFieldCount": 0,
"migrateFieldsMapping": [
{
"sourceFieldName": "string",
"targetFieldName": "string",
"isShow": true,
"type": "string"
}
]
}
],
"startType": "string",
"dataFlowRecordId": "string",
"customTypeMappings": [
{
"sourceType": "string",
"targetType": "string",
"precision": 0,
"length": 0
}
],
"deletedFields": {
"property1": [
"string"
],
"property2": [
"string"
]
},
"createTime": "2019-08-24T14:15:22.123Z",
"last_updated": "2019-08-24T14:15:22.123Z",
"user_id": "string"
}
],
"stopping": true,
"isDeleted": true,
"deleted": true,
"updateStatus": "string",
"updateMsg": "string",
"updateTime": "2019-08-24T14:15:22.123Z",
"updateVersion": "string",
"updatePingTime": 0,
"progres": "string",
"worker_status": {},
"gitCommitId": "string",
"singletonLock": "string",
"licenseBind": true,
"createTime": "2019-08-24T14:15:22.123Z",
"last_updated": "2019-08-24T14:15:22.123Z",
"user_id": "string",
"process_id": "string",
"worker_type": "string",
"tcm": {
"agentId": "string",
"agentName": "string"
},
"ping_time": 0,
"worker_ip": "string",
"job_ids": [
"string"
],
"running_thread": 0,
"total_thread": 0,
"accesscode": "string",
"userId": "string",
"tm_user_id": "string",
"start_time": 0,
"worker_date": "2019-08-24T14:15:22.123Z"
}curl --location 'https://m1.apifoxmock.com/m1/1293445-0-default/api/Workers/createWorker' \
--header 'Content-Type: application/json' \
--data '{
"id": {
"timestamp": 0,
"date": "2019-08-24T14:15:22.123Z"
},
"customId": "string",
"lastUpdBy": "string",
"createUser": "string",
"permissionActions": [
"string"
],
"platformInfo": {
"region": "string",
"zone": "string",
"sourceType": "string",
"vpc": "string",
"ecs": "string",
"checkedVpc": "string",
"strategyExistence": "string",
"regionName": "string",
"zoneName": "string",
"agentType": "string",
"isThrough": true,
"bidirectional": true,
"DRS_instances": "string",
"IP_type": "string",
"DRS_regionName": "string",
"DRS_zoneName": "string"
},
"weight": 0,
"agentTags": [
"string"
],
"cpuLoad": 0,
"hostname": "string",
"usedMemory": 0,
"version": "string",
"metricValues": {
"property1": {},
"property2": {}
},
"serverDate": 0,
"jobs": [
{
"id": {
"timestamp": 0,
"date": "2019-08-24T14:15:22.123Z"
},
"customId": "string",
"lastUpdBy": "string",
"createUser": "string",
"permissionActions": [
"string"
],
"agentId": "string",
"hostName": "string",
"agentName": "string",
"agentTags": [
"string"
],
"scheduleTimes": 0,
"scheduleTime": 0,
"name": "string",
"description": "string",
"status": "string",
"executeMode": "string",
"mappingTemplate": "string",
"setting": {
"property1": {},
"property2": {}
},
"category": "string",
"stopOnError": true,
"debug": {
"property1": {},
"property2": {}
},
"emailWaring": {
"property1": {},
"property2": {}
},
"stages": [
{
"property1": {},
"property2": {}
}
],
"stats": {
"property1": {},
"property2": {}
},
"dataFlowType": "string",
"pingTime": 0,
"nextSyncTime": 0,
"nextScheduledTime": 0,
"validateStatus": "string",
"validateFailedMSG": "string",
"validationSettings": [
{
"property1": {},
"property2": {}
}
],
"validateBatchId": "string",
"lastValidateBatchId": "string",
"cdcShareDataFlowIds": [
"string"
],
"cdcLastTimes": [
{
"property1": {},
"property2": {}
}
],
"flowMilestones": [
{
"property1": {},
"property2": {}
}
],
"edgeMilestones": {
"property1": {},
"property2": {}
},
"syncProgress": {
"property1": {},
"property2": {}
},
"startTime": {},
"scheduledTime": {},
"stoppingTime": {},
"forceStoppingTime": {},
"runningTime": {},
"errorTime": {},
"pausedTime": {},
"finishTime": {},
"operationTime": {},
"milestones": [
{
"property1": {},
"property2": {}
}
],
"tcm": {
"agentId": "string",
"agentName": "string"
},
"dataSourceModel": {},
"platformInfo": {
"region": "string",
"zone": "string",
"sourceType": "string",
"vpc": "string",
"ecs": "string",
"checkedVpc": "string",
"strategyExistence": "string",
"regionName": "string",
"zoneName": "string",
"agentType": "string",
"isThrough": true,
"bidirectional": true,
"DRS_instances": "string",
"IP_type": "string",
"DRS_regionName": "string",
"DRS_zoneName": "string"
},
"agentType": "string",
"flowEngineVersion": "string",
"tranModelVersionControl": {
"property1": true,
"property2": true
},
"creator": "string",
"rollback": "string",
"rollbackTable": "string",
"metadataMappings": [
{
"sourceNodeId": "string",
"invalid": true,
"sourceQualifiedName": "string",
"sourceDbName": "string",
"sourceDbType": "string",
"sourceObjectName": "string",
"sourceFieldCount": 0,
"sourceDeletedFieldCount": 0,
"sourceTableId": "string",
"sinkNodeId": "string",
"sinkQulifiedName": "string",
"sinkDbName": "string",
"sinkObjectName": "string",
"sinkDbType": "string",
"sinkStageId": "string",
"userDeletedNum": 0,
"sinkTableId": "string",
"fieldsMapping": [
{
"targetFieldName": "string",
"sourceFieldName": "string",
"sourceFieldType": "string",
"type": "string",
"defaultValue": "string",
"useDefaultValue": true,
"isShow": true,
"migrateType": "string",
"primary_key_position": 0
}
],
"sinkAvailableFieldCount": 0,
"sinkInvalidFieldCount": 0,
"migrateFieldsMapping": [
{
"sourceFieldName": "string",
"targetFieldName": "string",
"isShow": true,
"type": "string"
}
]
}
],
"startType": "string",
"dataFlowRecordId": "string",
"customTypeMappings": [
{
"sourceType": "string",
"targetType": "string",
"precision": 0,
"length": 0
}
],
"deletedFields": {
"property1": [
"string"
],
"property2": [
"string"
]
},
"createTime": "2019-08-24T14:15:22.123Z",
"last_updated": "2019-08-24T14:15:22.123Z",
"user_id": "string"
}
],
"stopping": true,
"isDeleted": true,
"deleted": true,
"updateStatus": "string",
"updateMsg": "string",
"updateTime": "2019-08-24T14:15:22.123Z",
"updateVersion": "string",
"updatePingTime": 0,
"progres": "string",
"worker_status": {},
"gitCommitId": "string",
"singletonLock": "string",
"licenseBind": true,
"createTime": "2019-08-24T14:15:22.123Z",
"last_updated": "2019-08-24T14:15:22.123Z",
"user_id": "string",
"process_id": "string",
"worker_type": "string",
"tcm": {
"agentId": "string",
"agentName": "string"
},
"ping_time": 0,
"worker_ip": "string",
"job_ids": [
"string"
],
"running_thread": 0,
"total_thread": 0,
"accesscode": "string",
"userId": "string",
"tm_user_id": "string",
"start_time": 0,
"worker_date": "2019-08-24T14:15:22.123Z"
}'{
"reqId": "string",
"ts": 0,
"code": "string",
"message": "string",
"data": {
"id": {
"timestamp": 0,
"date": "2019-08-24T14:15:22.123Z"
},
"customId": "string",
"lastUpdBy": "string",
"createUser": "string",
"permissionActions": [
"string"
],
"platformInfo": {
"region": "string",
"zone": "string",
"sourceType": "string",
"vpc": "string",
"ecs": "string",
"checkedVpc": "string",
"strategyExistence": "string",
"regionName": "string",
"zoneName": "string",
"agentType": "string",
"isThrough": true,
"bidirectional": true,
"DRS_instances": "string",
"IP_type": "string",
"DRS_regionName": "string",
"DRS_zoneName": "string"
},
"weight": 0,
"agentTags": [
"string"
],
"cpuLoad": 0,
"hostname": "string",
"usedMemory": 0,
"version": "string",
"metricValues": {
"property1": {},
"property2": {}
},
"serverDate": 0,
"jobs": [
{
"id": {
"timestamp": 0,
"date": "2019-08-24T14:15:22.123Z"
},
"customId": "string",
"lastUpdBy": "string",
"createUser": "string",
"permissionActions": [
"string"
],
"agentId": "string",
"hostName": "string",
"agentName": "string",
"agentTags": [
"string"
],
"scheduleTimes": 0,
"scheduleTime": 0,
"name": "string",
"description": "string",
"status": "string",
"executeMode": "string",
"mappingTemplate": "string",
"setting": {
"property1": {},
"property2": {}
},
"category": "string",
"stopOnError": true,
"debug": {
"property1": {},
"property2": {}
},
"emailWaring": {
"property1": {},
"property2": {}
},
"stages": [
{
"property1": {},
"property2": {}
}
],
"stats": {
"property1": {},
"property2": {}
},
"dataFlowType": "string",
"pingTime": 0,
"nextSyncTime": 0,
"nextScheduledTime": 0,
"validateStatus": "string",
"validateFailedMSG": "string",
"validationSettings": [
{
"property1": {},
"property2": {}
}
],
"validateBatchId": "string",
"lastValidateBatchId": "string",
"cdcShareDataFlowIds": [
"string"
],
"cdcLastTimes": [
{
"property1": {},
"property2": {}
}
],
"flowMilestones": [
{
"property1": {},
"property2": {}
}
],
"edgeMilestones": {
"property1": {},
"property2": {}
},
"syncProgress": {
"property1": {},
"property2": {}
},
"startTime": {},
"scheduledTime": {},
"stoppingTime": {},
"forceStoppingTime": {},
"runningTime": {},
"errorTime": {},
"pausedTime": {},
"finishTime": {},
"operationTime": {},
"milestones": [
{
"property1": {},
"property2": {}
}
],
"tcm": {
"agentId": "string",
"agentName": "string"
},
"dataSourceModel": {},
"platformInfo": {
"region": "string",
"zone": "string",
"sourceType": "string",
"vpc": "string",
"ecs": "string",
"checkedVpc": "string",
"strategyExistence": "string",
"regionName": "string",
"zoneName": "string",
"agentType": "string",
"isThrough": true,
"bidirectional": true,
"DRS_instances": "string",
"IP_type": "string",
"DRS_regionName": "string",
"DRS_zoneName": "string"
},
"agentType": "string",
"flowEngineVersion": "string",
"tranModelVersionControl": {
"property1": true,
"property2": true
},
"creator": "string",
"rollback": "string",
"rollbackTable": "string",
"metadataMappings": [
{
"sourceNodeId": "string",
"invalid": true,
"sourceQualifiedName": "string",
"sourceDbName": "string",
"sourceDbType": "string",
"sourceObjectName": "string",
"sourceFieldCount": 0,
"sourceDeletedFieldCount": 0,
"sourceTableId": "string",
"sinkNodeId": "string",
"sinkQulifiedName": "string",
"sinkDbName": "string",
"sinkObjectName": "string",
"sinkDbType": "string",
"sinkStageId": "string",
"userDeletedNum": 0,
"sinkTableId": "string",
"fieldsMapping": [
{
"targetFieldName": "string",
"sourceFieldName": "string",
"sourceFieldType": "string",
"type": "string",
"defaultValue": "string",
"useDefaultValue": true,
"isShow": true,
"migrateType": "string",
"primary_key_position": 0
}
],
"sinkAvailableFieldCount": 0,
"sinkInvalidFieldCount": 0,
"migrateFieldsMapping": [
{
"sourceFieldName": "string",
"targetFieldName": "string",
"isShow": true,
"type": "string"
}
]
}
],
"startType": "string",
"dataFlowRecordId": "string",
"customTypeMappings": [
{
"sourceType": "string",
"targetType": "string",
"precision": 0,
"length": 0
}
],
"deletedFields": {
"property1": [
"string"
],
"property2": [
"string"
]
},
"createTime": "2019-08-24T14:15:22.123Z",
"last_updated": "2019-08-24T14:15:22.123Z",
"user_id": "string"
}
],
"stopping": true,
"isDeleted": true,
"deleted": true,
"updateStatus": "string",
"updateMsg": "string",
"updateTime": "2019-08-24T14:15:22.123Z",
"updateVersion": "string",
"updatePingTime": 0,
"progres": "string",
"worker_status": {},
"gitCommitId": "string",
"singletonLock": "string",
"licenseBind": true,
"createTime": "2019-08-24T14:15:22.123Z",
"last_updated": "2019-08-24T14:15:22.123Z",
"user_id": "string",
"process_id": "string",
"worker_type": "string",
"tcm": {
"agentId": "string",
"agentName": "string"
},
"ping_time": 0,
"worker_ip": "string",
"job_ids": [
"string"
],
"running_thread": 0,
"total_thread": 0,
"accesscode": "string",
"userId": "string",
"tm_user_id": "string",
"start_time": 0,
"worker_date": "2019-08-24T14:15:22.123Z"
}
}