POST /setting/csv
Parse Setting Csv
Parse a CSV file and return mapped items for preview.
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
file | string | No | — |
idempotency_key | string | No | — |
soft | boolean | No | — |
accept | boolean | No | — |
Response (ParseSettingCsvApiResponse)
| Field | Type | Required | Description |
|---|---|---|---|
upload_id | string | Yes | — |
items | CreateSettingItem[] | Yes | — |
mapped_fields | string[] | Yes | — |
row_count | integer | Yes | — |
idempotency_key | string | No | Server-minted soft-call key (audit call_id). On a soft propose, echo this back with accept to promote/reject the staged raw-CSV upload. NOTE: ack returns no items (the preview is only on the propose). |
Last updated on