Surveys input data

post

/data-tools/surveys/

Surveys input data

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 : surveys
Type: array
Show Source
Nested Schema : survey-request
Type: object
Show Source
Nested Schema : format
Type: object
DBMS_CLOUD.COPY_DATA formatting options
Example:
{
    "delimiter":",",
    "blankasnull":true,
    "characterset":"AL32UTF8"
}
Nested Schema : data_load_objects
Type: array
Show Source
Example:
[
    {
        "object_name":"sales1976.csv"
    },
    {
        "object_name":"sales2009.csv"
    },
    {
        "object_name":"sales2013.csv"
    }
]
Nested Schema : data_load_object
Type: object
Show Source
Back to Top

Response

201 Response

Surveys of input files
Body ()
Root Schema : surveys
Type: object
Show Source
Nested Schema : surveys
Type: array
Show Source
Nested Schema : survey
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 : format
Type: object
DBMS_CLOUD.COPY_DATA formatting options
Example:
{
    "delimiter":",",
    "blankasnull":true,
    "characterset":"AL32UTF8"
}
Nested Schema : data_load_objects
Type: array
Show Source
Example:
[
    {
        "object_name":"sales1976.csv"
    },
    {
        "object_name":"sales2009.csv"
    },
    {
        "object_name":"sales2013.csv"
    }
]
Nested Schema : column
Type: object
Show Source
  • Column name in table
    Example: UNITS
  • Column position in input file
    Example: 2
  • Allowed Values: [ "VARCHAR2", "CLOB", "NUMBER", "INTEGER", "FLOAT", "BINARY_FLOAT", "BINARY_DOUBLE", "DATE", "TIMESTAMP", "TIMESTAMP WITH TIME ZONE", "TIMESTAMP WITH LOCAL TIME ZONE", "NVARCHAR2", "NCLOB" ]
    Data type of column
    Example: NUMBER
  • Data format for certain column types
    Example: YYYY-MM-DD
  • Length or precision of column
    Example: 40
Nested Schema : data_load_object
Type: object
Show Source

204 Response

No content
Back to Top