Import API

Load File to Specific Input

Changed on

Upload CSV data to a single ETL step of a job without executing the job

put/etl/jobs/{jobId}/inputs/{inputId}/file

Request

Path parameters

jobIdstring required
Example:1234567890123456789

ID of the ETL Job (18 or 19 digits)

inputIdstring required

The Id of the ETL step. Can be found from the Get ETL template endpoint.

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

No Content

Changes