# Post a new migration job **POST /jobs** Post a new migration job ## Servers - http://127.0.0.1:8278/api/v1: http://127.0.0.1:8278/api/v1 () ## Parameters ### Body: application/json (object) - **projectId** (string) - **jdbcConnectionDetails** (object) - **mongodbConnectionDetails** (object) - **options** (object) - **verification** (object) - **relationalTableFilters** (object) An object where each key represents a schema name. Each schema contains tables you can apply table filters on. - **collectionFilters** (object) Include or exclude collections for this migration. - include only: Only collections matching the specified include filter will be migrated. - exclude only: All collections will be migrated, except those matching the exclude filter. - include and exclude: Migrate collections that match the include filter, excluding those that also match the exclude filter. - No filters: All collections will be migrated. ## Responses ### 200 OK #### Body: application/json (object) - **id** (string) - **projectId** (string) - **status** (string) - **cdcStatus** (string) - **verificationJobId** (string) - **options** (object) - **jdbcConnectionString** (string) - **mongoDbConnectionString** (string) - **submittedAt** (string(date-time)) - **statistics** (object) - **cdcStatistics** (object) - **failureError** (object) - **metadata** (object) - **relationalTableFilters** (object) An object where each key represents a schema name. Each schema contains tables you can apply table filters on. ### 440 Invalid as connection string did not contain a database name #### Body: application/json (object) - **jobId** (string) - **message** (string) - **description** (string) - **timestamp** (string(date-time)) ### 470 Migration job already running #### Body: application/json (object) - **jobId** (string) - **message** (string) - **description** (string) - **timestamp** (string(date-time)) ### 471 Migration Job could not be started for error building the job context example - Mode not recognised or No mappings exist. #### Body: application/json (object) - **jobId** (string) - **message** (string) - **description** (string) - **timestamp** (string(date-time)) ### 500 Internal server error #### Body: application/json (object) - **jobId** (string) - **message** (string) - **description** (string) - **timestamp** (string(date-time)) [Powered by Bump.sh](https://bump.sh)