assets

Preview Asset Import

Changed on

Read the file and say what importing it would do. Writes nothing.

Read-gated on purpose, like the transaction preview: a viewer may look at a file without being able to commit it.

post/api/assets/import/preview

Request

Headers

X-Workspace-Idstring nullable

Request body multipart/form-data

filestring binary required
column_mappingstring nullable
date_formatstring nullable
group_idstring uuid nullable

Response

Successful Response

csv_columnsstring[]
parse_errorstring nullable
holdings_createdinteger
holdings_matchedinteger
skippedinteger

Changes