2.05.2.05 - 2.05 - Validate a Target - Teradata Listener

Teradata® Listener™ User Guide

prodname
Teradata Listener
vrm_release
2.05
category
User Guide
featnum
B035-2910-039K

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.