Import API

Start with File

Changed on

Create an ETL job, upload CSV data, and start the job in a single step

post/etl/templates/{templateId}/startWithFile

Request

Path parameters

templateIdstring required
Example:123456789012345678

ID of the template

Request body multipart/form-data

filestring binary required

File containing the data to be uploaded

metadatastring required

Metadata with details of the file. Note: All fields in the JSON object below are required

Sample Input:

{
  "input": {
    "partName":"file",
    "fileFormat":"CSV",
    "fileEncoding":"UTF-8",
    "fileName":"data.csv"
  }
}

Example request

{
  "file": "data.csv",
  "metadata": {
    "input": {
      "partName": "file",
      "fileFormat": "csv",
      "fileEncoding": "UTF-8",
      "fileName": "data.csv"
    }
  }
}

Response

Successfully started job, data has been received by Vena

idstring
namestring
status'EDITING' | 'NOT_STARTED' | 'SUBMITTED' | 'RUNNING' | 'COMPLETED' | 'ERROR' | 'CANCELLED' | 'WAITING' | 'QUEUED' | 'EXPIRED'
modelIdstring
modelNamestring
createdDateinteger
updatedDateinteger
userNamestring

Changes