Validate a Target - Teradata Listener

Teradata® Listener™ User Guide

Product
Teradata Listener
Release Number
2.03
Published
September 2018
Language
English (United States)
Last Update
2018-10-01
dita:mapPath
kum1525897006440.ditamap
dita:ditavalPath
ft:empty
dita:id
B035-2910
lifecycle
previous
Product Category
Analytical Ecosystem

Validate the target connection settings before saving.

Definition

POST https://listener-app-services.teradata.com/v1/targets
validate HTTP/1.1

Example Request

curl \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer TOKEN" \
  -X POST \
  -d '{
    "system_id": "f62bcf50-4cce-450d-be47-ca837918fdbd",
    "target_type": "teradata",
    "data_path": {
      "schema": "listener",
      "table": "demo"
    },
    "system_info": {
      "username": "dbc",
      "password": "dbc"
    }
  }'\
  -i \
  https://listener-app-services.teradata.com/v1/targets/validate

Example Response

HTTP/1.1 200 OK

Response Codes

Code Description
200 Target details are valid.
400 Validation failed due to missing or incorrect details.
401 Authorization header not found.