Validate a new child row.
POST
/erupt-api/data/modify/tab-add/{erupt}/{tabName}
Nothing is persisted here: the child rows are saved together with the parent record. This call validates the row against the child erupt and runs its DataProxy.beforeAdd/afterAdd, returning the possibly adjusted row.
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 parent @Erupt model
Type
Requiredstring
Format
"string"tabName*
Field name with edit type TAB_TABLE_ADD
Type
Requiredstring
Format
"string"Request Body
application/json
JSON "any object": { }
{
}
Responses
OK
*/*
JSON "data": { }, "message": "string", "success": true, "status": "SUCCESS", "promptWay": "DIALOG"
{
}