dataset

Import a CSV into a DataSet

post/dataset/import/{dataSetId}

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/dataset/import/{dataSetId}
  • Auth
    none declared

Path parameters

dataSetIdinteger required

The DataSet ID to import into.

Request body multipart/form-data

filesstring binary required

The file

csvImport_{dataSetColumnId}integer required

You need to provide dataSetColumnId after csvImport_, to know your dataSet columns Ids, you will need to use the GET /dataset/{dataSetId}/column call first. The value of this parameter is the index of the column in your csv file, where the first column is 1

overwriteinteger

flag (0,1) Set to 1 to erase all content in the dataSet and overwrite it with new content in this import

ignorefirstrowinteger

flag (0,1), Set to 1 to Ignore first row, useful if the CSV file has headings

Response

successful operation

Changes