Skip to content

Save the form view.​

POST
/erupt-api/data/form-view/{erupt}

Runs field-level validation (which also fires DataProxy.validate) and then delegates the entire persistence action to DataProxy.formSave. No database CRUD is invoked by the framework, so file-backed or API-backed form views are first-class. Throwing EruptException from formSave aborts the save with a user-visible message.

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
string
Required
Format
"string"

Path Parameters

erupt*

Simple class name of the @Erupt model

Type
string
Required
Format
"string"

Request Body​

application/json
JSON
{
  
"any object": {
  
}
}

Responses​

OK

*/*
JSON
{
  
"data": {
  
},
  
"message": "string",
  
"success": true,
  
"status": "SUCCESS",
  
"promptWay": "DIALOG"
}

Playground​

Server
Authorization
Headers
Variables
Key
Value
Body

Samples​

Released under the Apache-2.0 License.