View REST Samples | RESTful API | Teradata Data Mover - Viewing Data Mover REST Samples - Teradata Data Mover

Teradata® Data Mover User Guide

Product
Teradata Data Mover
Release Number
17.12
Published
January 2022
Language
English (United States)
Last Update
2022-01-18
dita:mapPath
ptl1635805434108.ditamap
dita:ditavalPath
mpm1591127278842.ditaval
dita:id
B035-4101
lifecycle
previous
Product Category
Analytical Ecosystem
The following table lists the REST samples added as part of the Data Mover REST package. If an input file is required, the name is provided.
Data Mover Command REST Sample Script File Input File Used by Script
cleanup cleanup.py
create createjob_td2td.py createjob_td2td.json
delete_job delete_job.py
edit edit_job.py createjob.json
list_agents list_agents.py
list_job_definition listjobdefinition.py
list_jobs listjobs.py
list_job_steps list_job_steps.py
list_tasks list_tasks.py
restart restart_job.py
save_configuration saveconfiguration.py saveconfiguration.json
start startjob_td2td.py startjob_td2td.json
status jobstatus.py
stop stop_job.py
update_job_steps update_job_steps.py
  1. On the Data Mover server, locate the /opt/teradata/datamover/rest/tdmrest/samples directory.
  2. Run the sh get_cert command to get the public key of the self-signed Data Mover host.
  3. Run the python runsamples.py command and enter the script name you want, such as createjob_td2td.py, when prompted.

For additional information, refer to the README file found in the /opt/teradata/datamover/rest/tdmrest/samples directory.