Creates Live Table Feed

post

/data-tools/live-table-feeds/

Creates Live Table Feed

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Nested Schema : live_table_feeds
Type: array
Show Source
Nested Schema : live-table-feed
Type: object
Show Source
Nested Schema : columns
Type: array
Show Source
Example:
[
    {
        "column_name":"RECEIVED_DATE",
        "datatype":"DATE",
        "columnId":"1",
        "format":"YYYY-MM-DD"
    },
    {
        "column_name":"UNITS",
        "datatype":"NUMBER",
        "columnId":"2",
        "length":"38"
    }
]
Nested Schema : loader_format
Type: object
SQL Loader options
Example:
{
    "ignoreblanklines":true,
    "ignoremissingcolumns":true,
    "blankasnull":true,
    "rejectlimit":"10000",
    "trimspaces":"lrtrim",
    "characterset":"AL32UTF8",
    "skipheaders":"1"
}
Nested Schema : sql_statements
Type: array
SQL statements to perform database operation
Show Source
Example:
[
    "CREATE TABLE \"MYSCHEMA\".\"EXAMPLE_TABLE\"(\"ID\" NUMBER, \"DATE_RECV\" DATE);"
]
Nested Schema : column
Type: object
Show Source
Back to Top

Response

Supported Media Types

201 Response

Live Table Feeds were succesfully created
Body ()
Root Schema : schema
Type: object
Show Source
Nested Schema : live_table_feeds
Type: array
Show Source
Nested Schema : live-table-feed
Type: object
Show Source
Nested Schema : columns
Type: array
Show Source
Example:
[
    {
        "column_name":"RECEIVED_DATE",
        "datatype":"DATE",
        "columnId":"1",
        "format":"YYYY-MM-DD"
    },
    {
        "column_name":"UNITS",
        "datatype":"NUMBER",
        "columnId":"2",
        "length":"38"
    }
]
Nested Schema : loader_format
Type: object
SQL Loader options
Example:
{
    "ignoreblanklines":true,
    "ignoremissingcolumns":true,
    "blankasnull":true,
    "rejectlimit":"10000",
    "trimspaces":"lrtrim",
    "characterset":"AL32UTF8",
    "skipheaders":"1"
}
Nested Schema : sql_statements
Type: array
SQL statements to perform database operation
Show Source
Example:
[
    "CREATE TABLE \"MYSCHEMA\".\"EXAMPLE_TABLE\"(\"ID\" NUMBER, \"DATE_RECV\" DATE);"
]
Nested Schema : column
Type: object
Show Source

204 Response

No content

409 Response

Name conflict with existing Live Table Feed
Back to Top