v1

latestOpenAPI 3.0.02026-07-1717466209.0 KB
Data Structures

Import components from CSV mapping

Add components to an existing draft data structure using a CSV file and column mapping. Multipart form with file (CSV) and payload (JSON string), or JSON body with upload_id (completed resumable upload) plus mapping fields. Payload shape: { delimiter, dry_run?, overwrite?, components: [{ name, label, column_type, csv_column, codelist?: { mode: global|from_csv, ... } }] }. Codelists created from CSV use maintainable id CL_{component_name} under the structure agency.

post/data_structures/import_components_csv/{id}

Path parameters

idinteger required

Request body

upload_idstring
delimiterstring
dry_runboolean
overwriteboolean
componentsobject[] required

Response

Import or dry-run summary