Purpose
The create RESTful API creates a job using the following URL and method:
Item | Description | ||
---|---|---|---|
URL | /datamover/jobs | ||
Method | POST |
Request Parameters
- jobName
- Description: Name of the job
- uowid
- Description: Unit of work id
- sourceLogin
- Description: Properties of the source system
- targetLogin
- Description: Properties of the target system
- settings
- Description: Properties of the job configuration
- objects
- Description: Objects to be copied
Response Parameters
The create RESTful API does not include specific response parameters.
Status Codes
If the command executes without error, the API returns status code 200 in the response header and nothing in the response body.
If an error occurs during execution, the API returns a non-200 status code in the response header and an error message in JSON format in the response body.
Response Example
{ "error":"job creation failed, table does not exist in source database" }