{
"stageId": "string",
"stages": [
{
"id": "string",
"name": "string",
"type": "string",
"sourceOrTarget": "string",
"connectionId": "string",
"tableName": "string",
"sql": "string",
"filter": "string",
"isFilter": true,
"initialOffset": "string",
"dataQualityTag": true,
"dropTable": true,
"script": "string",
"primaryKeys": "string",
"operations": [
{
"operations": [
{
"color": "string",
"field": "string",
"id": "string",
"label": "string",
"op": "string",
"operand": "string",
"primary_key_position": 0,
"tableName": "string",
"type": "string",
"originalDataType": "string",
"original_field_name": "string",
"java_type": "string"
}
],
"table_name": "string",
"tableId": "string"
}
],
"scripts": [
{
"field": "string",
"tableName": "string",
"scriptType": "string",
"script": "string"
}
],
"joinTables": [
{
"joinType": "string",
"joinPath": "string",
"stageId": "string",
"joinKeys": [
{
"property1": "string",
"property2": "string"
}
],
"arrayUniqueKey": "string",
"manyOneUpsert": true,
"array": true
}
],
"inputLanes": [
"string"
],
"outputLanes": [
"string"
],
"aggregations": [
{
"filterPredicate": "string",
"aggFunction": "string",
"aggExpression": "string",
"groupByExpression": [
"string"
],
"name": "string"
}
],
"expression": "string",
"action": "string",
"includeTables": [
"string"
],
"fieldFilter": "string",
"fieldFilterType": "string",
"initialSyncOrder": 0,
"enableInitialOrder": true,
"collectionAggregate": true,
"collectionAggrPipeline": "string",
"cacheKeys": "string",
"tableNameTransform": "string",
"fieldsNameTransform": "string",
"tableOperations": [
{
"type": "string",
"originalTableName": "string",
"tableName": "string"
}
],
"cacheName": "string",
"maxRows": 0,
"maxSize": 0,
"syncObjects": [
{
"type": "string",
"objectNames": [
"string"
],
"tableNameRelation": {
"property1": "string",
"property2": "string"
},
"sort": 0
}
],
"logCollectorSettings": [
{
"connectionId": "string",
"includeTables": [
"string"
],
"selectType": "string"
}
],
"logTtl": 0,
"syncPoint": {
"nodeId": "string",
"nodeName": "string",
"connectionId": "string",
"connectionName": "string",
"pointType": "string",
"timeZone": "string",
"dateTime": 0
},
"disabled": true,
"maxTransactionLength": 0,
"redisKey": "string",
"redisKeyPrefix": "string",
"dropType": "string",
"statsStatus": "string",
"aggCacheMaxSize": 0,
"fileProperty": {
"include_filename": "string",
"exclude_filename": "string",
"file_type": "string",
"file_schema": "string",
"sheet_start": "string",
"sheet_end": "string",
"excel_header_type": "string",
"excel_header_start": "string",
"excel_header_end": "string",
"excel_value_start": "string",
"excel_value_end": "string",
"excel_header_concat_char": "string",
"excel_password": "string",
"seperate": "string",
"data_content_xpath": "string",
"json_type": "string",
"file_upload_mode": "string",
"gridfs_header_type": "string",
"gridfs_header_config": "string"
},
"aggregateProcessorInitialInterval": 0,
"keepAggRet": true,
"aggrCleanSecond": 0,
"aggrFullSyncSecond": 0,
"kafkaPartitionKey": "string",
"partitionId": "string",
"chunkSize": 0,
"index": "string",
"table_type": "string",
"pbProcessorConfig": {
"property1": {},
"property2": {}
},
"distance": 0,
"freeTransform": true,
"readBatchSize": 0,
"readCdcInterval": 0,
"database_type": "string",
"table_prefix": "string",
"table_suffix": "string",
"field_process": [
{
"operations": [
{
"color": "string",
"field": "string",
"id": "string",
"label": "string",
"op": "string",
"operand": "string",
"primary_key_position": 0,
"tableName": "string",
"type": "string",
"originalDataType": "string",
"original_field_name": "string",
"java_type": "string"
}
],
"table_name": "string",
"tableId": "string"
}
]
}
]
}curl --location 'https://m1.apifoxmock.com/m1/1293445-0-default/api/Dataflows/tranModelVersionControl' \
--header 'Content-Type: application/json' \
--data '{
"stageId": "string",
"stages": [
{
"id": "string",
"name": "string",
"type": "string",
"sourceOrTarget": "string",
"connectionId": "string",
"tableName": "string",
"sql": "string",
"filter": "string",
"isFilter": true,
"initialOffset": "string",
"dataQualityTag": true,
"dropTable": true,
"script": "string",
"primaryKeys": "string",
"operations": [
{
"operations": [
{
"color": "string",
"field": "string",
"id": "string",
"label": "string",
"op": "string",
"operand": "string",
"primary_key_position": 0,
"tableName": "string",
"type": "string",
"originalDataType": "string",
"original_field_name": "string",
"java_type": "string"
}
],
"table_name": "string",
"tableId": "string"
}
],
"scripts": [
{
"field": "string",
"tableName": "string",
"scriptType": "string",
"script": "string"
}
],
"joinTables": [
{
"joinType": "string",
"joinPath": "string",
"stageId": "string",
"joinKeys": [
{
"property1": "string",
"property2": "string"
}
],
"arrayUniqueKey": "string",
"manyOneUpsert": true,
"array": true
}
],
"inputLanes": [
"string"
],
"outputLanes": [
"string"
],
"aggregations": [
{
"filterPredicate": "string",
"aggFunction": "string",
"aggExpression": "string",
"groupByExpression": [
"string"
],
"name": "string"
}
],
"expression": "string",
"action": "string",
"includeTables": [
"string"
],
"fieldFilter": "string",
"fieldFilterType": "string",
"initialSyncOrder": 0,
"enableInitialOrder": true,
"collectionAggregate": true,
"collectionAggrPipeline": "string",
"cacheKeys": "string",
"tableNameTransform": "string",
"fieldsNameTransform": "string",
"tableOperations": [
{
"type": "string",
"originalTableName": "string",
"tableName": "string"
}
],
"cacheName": "string",
"maxRows": 0,
"maxSize": 0,
"syncObjects": [
{
"type": "string",
"objectNames": [
"string"
],
"tableNameRelation": {
"property1": "string",
"property2": "string"
},
"sort": 0
}
],
"logCollectorSettings": [
{
"connectionId": "string",
"includeTables": [
"string"
],
"selectType": "string"
}
],
"logTtl": 0,
"syncPoint": {
"nodeId": "string",
"nodeName": "string",
"connectionId": "string",
"connectionName": "string",
"pointType": "string",
"timeZone": "string",
"dateTime": 0
},
"disabled": true,
"maxTransactionLength": 0,
"redisKey": "string",
"redisKeyPrefix": "string",
"dropType": "string",
"statsStatus": "string",
"aggCacheMaxSize": 0,
"fileProperty": {
"include_filename": "string",
"exclude_filename": "string",
"file_type": "string",
"file_schema": "string",
"sheet_start": "string",
"sheet_end": "string",
"excel_header_type": "string",
"excel_header_start": "string",
"excel_header_end": "string",
"excel_value_start": "string",
"excel_value_end": "string",
"excel_header_concat_char": "string",
"excel_password": "string",
"seperate": "string",
"data_content_xpath": "string",
"json_type": "string",
"file_upload_mode": "string",
"gridfs_header_type": "string",
"gridfs_header_config": "string"
},
"aggregateProcessorInitialInterval": 0,
"keepAggRet": true,
"aggrCleanSecond": 0,
"aggrFullSyncSecond": 0,
"kafkaPartitionKey": "string",
"partitionId": "string",
"chunkSize": 0,
"index": "string",
"table_type": "string",
"pbProcessorConfig": {
"property1": {},
"property2": {}
},
"distance": 0,
"freeTransform": true,
"readBatchSize": 0,
"readCdcInterval": 0,
"database_type": "string",
"table_prefix": "string",
"table_suffix": "string",
"field_process": [
{
"operations": [
{
"color": "string",
"field": "string",
"id": "string",
"label": "string",
"op": "string",
"operand": "string",
"primary_key_position": 0,
"tableName": "string",
"type": "string",
"originalDataType": "string",
"original_field_name": "string",
"java_type": "string"
}
],
"table_name": "string",
"tableId": "string"
}
]
}
]
}'{
"reqId": "string",
"ts": 0,
"code": "string",
"message": "string",
"data": {
"property1": true,
"property2": true
}
}