Import rows from an Excel file.
POST
/erupt-api/excel/import/{erupt}
Multipart form field "file", in the layout of the template. Every row is validated and inserted through the normal add pipeline inside one transaction; the first failing row aborts the whole import. Needs import permission.
Authorizations
tokenHeader
Login token from POST /erupt-api/login, or from /erupt-api/open-api/create-token for server-to-server calls.
Type
API Key (header: token)
Parameters
Header Parameters
erupt*
Name of the @Erupt class the request is scoped to. Must match the {erupt} path segment, or name the parent erupt when the path addresses a nested erupt (tab, sub-form, reference).
Type
Requiredstring
Format
"string"Path Parameters
erupt*
Simple class name of the @Erupt model
Type
Requiredstring
Format
"string"Request Body
multipart/form-data
Excel file
Format
"binary"Responses
OK
*/*
JSON "data": { }, "message": "string", "success": true, "status": "SUCCESS", "promptWay": "DIALOG"
{
}