Bulk Import Endpoint
The Bulk Import Endpoint can be used to transmit an import file to the server in order to request that it be processed by an ETL (Extract/Transform/Load) module.
Note that this page only describes the JSON Admin API method for invoking the ETL Import module. See the ETL Importer Documentation for more information on how this module actually works.
This method will return a simple JSON document containing summary information.
To invoke:
POST http://localhost:9000/bulk-import/process-etl-file/{module_id}
Content-Type: text/plain
(file contents)
You may also add the following URL parameters:
filename=[filename]
– The name of the file being uploaded. This value will be passed to mapping scripts if provided.The server will produce a response resembling the following:
{
"message" : "Processed 2 rows in 19ms"
}
You can also upload csv bulk using smileutil. For more information, see Upload CSV Bulk Import File.