Create a Job with Swagger | Teradata Data Mover - Creating a Job with Swagger - Teradata Data Mover

Teradata® Data Mover Quick Start Guide

Product
Teradata Data Mover
Release Number
17.20
17.12
17.11
17.10
17.05
17.00
16.20
16.10
16.00
Published
June 2022
Language
English (United States)
Last Update
2022-06-27
dita:mapPath
hrb1591036655292.ditamap
dita:ditavalPath
ft:empty
dita:id
egl1581345448335
  1. Go to https://dm-host:1443/datamover/swagger-ui.html.
  2. Select the POST /jobs create API underneath Jobs API.

    POST /jobs create window
  3. Select the Try it out button to view the parameters for the API.
  4. Edit the example createParam JSON or modify it using the following template:
    {
      "jobName": "examplejob",
      "sourceLogin": {
        "teradata": {
          "username": "username",
          "tdpid": "tdsys1",
          "password": "abc123"
        }
      },
      "targetLogin": {
        "teradata": {
          "username": "username",
          "tdpid": "tdsys2",
          "password": "abc123"
        },
        "useTargetUserIdPool": false
      },
      "settings": {
        "priority": "HIGH",
        "overwriteExistingObjects": true,
        "freezeJobSteps": true,
        "logLevel": "0"
      },
      "objects": {
        "database": [
          {
            "name": "db1",
            "selection": "UNSELECTED",
            "table": [
              {
                "name": "table1",
                "useSourceStagingTable": false,     
                "forceTargetStagingTable": false,
                "validateRowCount": "NONE",
                "selection": "INCLUDED",
                "teradataParameters": {
                  "allowTPTLoadMultiset": false,
                  "overrideLockAccess": false
                }
              }
            ]
          }
        ]
      }
    }
  5. Select Execute.
  6. Review the Responses section to confirm the job was successful.