Surveys input data
post
                    /data-tools/surveys/
Surveys input data
                Request
There are no request parameters for this operation.
Supported Media Types
                            - application/json
 
Nested Schema : survey-request
    
    	Type: 
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
                
                    
                    format: object
                    
                    
                
                
                    format
                
                
                DBMS_CLOUD.COPY_DATA formatting options
 - 
                
                    
                    objects: array
                    
                    
                
                
                    data_load_objects
                
                
                
 - 
                
                    
                    storage_link_name: string
                    
                    
                     
                    
                
                
                Name of Cloud Storage LinkExample:
MY-BUCKET - 
                
                    
                    survey_name: string
                    
                    
                     
                    
                
                
                Name of input data surveyExample:
SALES-SURVEY-20220605-112233-4567 
Nested Schema : format
    
    	Type: 
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectDBMS_CLOUD.COPY_DATA formatting options
    
    
    
    
    
    
    
    
    
    
    Example:
    
    
{
    "delimiter":",",
    "blankasnull":true,
    "characterset":"AL32UTF8"
}Nested Schema : data_load_objects
    
    	
    	Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        
        
    
    
    
    
    
    
    arrayExample:
    
    
[
    {
        "object_name":"sales1976.csv"
    },
    {
        "object_name":"sales2009.csv"
    },
    {
        "object_name":"sales2013.csv"
    }
]Nested Schema : data_load_object
    
    	Type: 
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
                
                    
                    object_name: string
                    
                    
                     
                    
                
                
                Name of object to loadExample:
sales.csv 
Response
201 Response
Surveys of input files
                            
                            
                                Nested Schema : survey
    
    	Type: 
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
                
                    
                    columns: array
                    
                    
                
                
                    columns
                
                
                
 - 
                
                    
                    format: object
                    
                    
                
                
                    format
                
                
                DBMS_CLOUD.COPY_DATA formatting options
 - 
                
                    
                    objects: array
                    
                    
                
                
                    data_load_objects
                
                
                
 - 
                
                    
                    storage_link_name: string
                    
                    
                     
                    
                
                
                Name of Cloud Storage LinkExample:
MY-BUCKET - 
                
                    
                    survey_name: string
                    
                    
                     
                    
                
                
                Name of input data surveyExample:
SALES-SURVEY-20220605-112233-4567 
Nested Schema : columns
    
    	
    	Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        
        
    
    
    
    
    
    
    arrayExample:
    
    
[
    {
        "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: 
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectDBMS_CLOUD.COPY_DATA formatting options
    
    
    
    
    
    
    
    
    
    
    Example:
    
    
{
    "delimiter":",",
    "blankasnull":true,
    "characterset":"AL32UTF8"
}Nested Schema : data_load_objects
    
    	
    	Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        
        
    
    
    
    
    
    
    arrayExample:
    
    
[
    {
        "object_name":"sales1976.csv"
    },
    {
        "object_name":"sales2009.csv"
    },
    {
        "object_name":"sales2013.csv"
    }
]Nested Schema : column
    
    	Type: 
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
                
                    
                    column_name: string
                    
                    
                     
                    
                
                
                Column name in tableExample:
UNITS - 
                
                    
                    columnId: integer
                    
                    
                     
                    
                
                
                Column position in input fileExample:
2 - 
                
                    
                    datatype: string
                    
                    
                     
                    
                
                
                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 columnExample:NUMBER - 
                
                    
                    format: string
                    
                    
                     
                    
                
                
                Data format for certain column typesExample:
YYYY-MM-DD - 
                
                    
                    length: integer
                    
                    
                     
                    
                
                
                Length or precision of columnExample:
40 
Nested Schema : data_load_object
    
    	Type: 
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
                
                    
                    object_name: string
                    
                    
                     
                    
                
                
                Name of object to loadExample:
sales.csv 
204 Response
No content