Target Validate - Teradata Listener

Teradata® Listener™ User Guide

Product
Teradata Listener
Release Number
2.06
Published
August 2019
Language
English (United States)
Last Update
2019-08-30
dita:mapPath
yng1555531055816.ditamap
dita:ditavalPath
boe1555608925945.ditaval
dita:id
B035-2910
Product Category
Analytical Ecosystem

Validate the target connection settings before saving.

Definition

POST https://CLUSTER.DOMAIN/listener/appservices/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://CLUSTER.DOMAIN/listener/appservices/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.