POST /jobs
curl \ --request POST 'http://127.0.0.1:8278/api/v1/jobs' \ --header "Content-Type: application/json" \ --data '{"projectId":"string","jdbcConnectionDetails":{"id":"string","type":"ORACLE","url":"string","user":"string","password":"string","savePassword":false,"existingConnectionId":"string","oraclePdbName":"string","isManualUri":false},"mongodbConnectionDetails":{"id":"string","connectionString":"string","projectId":"string","savePassword":false,"projectName":"string","clusterName":"string","existingConnectionId":"string"},"options":{"dropCollections":false,"mode":"SNAPSHOT","errorHandling":"FAIL","errorTolerance":42},"verification":{"enabled":false},"relationalTableFilters":{"schema_1_name":{"table_1_name":{"whereClause":"id \u003e 1000 AND id \u003c= 2000"},"table_2_name":{"rowCount":10,"whereClause":"TRUE"}}}}'
Request examples
{ "projectId": "string", "jdbcConnectionDetails": { "id": "string", "type": "ORACLE", "url": "string", "user": "string", "password": "string", "savePassword": false, "existingConnectionId": "string", "oraclePdbName": "string", "isManualUri": false }, "mongodbConnectionDetails": { "id": "string", "connectionString": "string", "projectId": "string", "savePassword": false, "projectName": "string", "clusterName": "string", "existingConnectionId": "string" }, "options": { "dropCollections": false, "mode": "SNAPSHOT", "errorHandling": "FAIL", "errorTolerance": 42 }, "verification": { "enabled": false }, "relationalTableFilters": { "schema_1_name": { "table_1_name": { "whereClause": "id > 1000 AND id <= 2000" }, "table_2_name": { "rowCount": 10, "whereClause": "TRUE" } } } }
Response examples (200)
{ "id": "string", "projectId": "string", "status": "RUNNING", "cdcStatus": "NOT_STARTED", "verificationJobId": "string", "options": { "dropCollections": false, "mode": "SNAPSHOT", "errorHandling": "FAIL", "errorTolerance": 42 }, "jdbcConnectionString": "string", "mongoDbConnectionString": "string", "atlasMetadata": { "mongoDbProjectName": "string", "mongoDbProjectId": "string", "mongoDbClusterName": "string" }, "submittedAt": "2025-05-04T09:42:00Z", "statistics": { "startedAt": "2025-05-04T09:42:00Z", "elapsedSeconds": 42, "remainingTableCount": 42, "processingTables": [ "string" ], "totalEventsSeen": 0, "snapshotCompleted": false, "totalTableCount": 42, "totalEvents": 42, "totalEventSize": 42 }, "cdcStatistics": { "startedAt": "2025-05-04T09:42:00Z", "lastEventTime": "2025-05-04T09:42:00Z", "eventsInLastHour": 0, "eventsInLastMinute": 0, "totalEventsSeen": 0 }, "jobUpdates": [ { "eventType": "ERROR", "stage": "SNAPSHOTTING", "message": "string", "details": "string", "timestamp": "2025-05-04T09:42:00Z", "stackTrace": "string", "errorCode": "string", "suggestion": "string", "locationType": "TABLE", "locationName": "string", "fieldName": "string", "key": { "additionalProperty1": "string", "additionalProperty2": "string" }, "count": 42, "": { "table": "string" } } ], "failureError": { "errorType": "string", "message": "string", "failureAt": "2025-05-04T09:42:00Z", "setupError": false }, "metadata": { "telemetryUserId": "string", "verificationRequested": false, "verificationStatus": "VERIFYING" }, "relationalTableFilters": { "schema_1_name": { "table_1_name": { "whereClause": "id > 1000 AND id <= 2000" }, "table_2_name": { "rowCount": 10, "whereClause": "TRUE" } } } }
Response examples (440)
{ "jobId": "string", "message": "string", "description": "string", "timestamp": "2025-05-04T09:42:00Z" }
Response examples (470)
{ "jobId": "string", "message": "string", "description": "string", "timestamp": "2025-05-04T09:42:00Z" }
Response examples (500)
{ "jobId": "string", "message": "string", "description": "string", "timestamp": "2025-05-04T09:42:00Z" }