Metadata Keys for Target Column Mapping - 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

Before you create a target, get the metadata keys for mapping columns.

Definition

curl \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer TOKEN" \
  -X GET \
  -i \https://CLUSTER.DOMAIN/listener/appservices/utils/metadata-keys

Example Response

[
    {
        "name": "ls_uuid",
        "supported_column_types": [
            "CHAR",
            "VARCHAR"
        ],
        "description": "Represent unique identifier for each ingest message and is of 36 characters."
    },
    {
        "name": "ls_source_id",
        "supported_column_types": [
            "CHAR",
            "VARCHAR"
        ],
        "description": "Represent source id and is of 36 characters."
    },
    {
        "name": "ls_time",
        "supported_column_types": [
            "TIME",
            "TIMESTAMP",
            "TIMESTAMP WITH TIME ZONE"
        ],
        "description": "Represent time when data provided to target system."
    },
    {
        "name": "ls_data",
        "supported_column_types": [
            "CHAR",
            "VARCHAR",
            "JSON",
            "CLOB",
            "BLOB"
        ],
        "description": "Represent ingest payload."
    }
]

Response Codes

Code Description
200 Metadata keys successfully retrieved.
400 Required property missing from request.