Summary
          Save a Generated Form
          Description
          Save a generated form with its data.
          Route
          POST /formbuilder/saveForm
          Roles
          
            admin
apiwrite
          
          Parameters
          
            DetailsExampleSchema
          
          
            
              
                | Name | 
                Type | 
                Required | 
                Description | 
              
            
            
              
    | formData | 
    object | 
    yes | 
    Form data to be saved. | 
  
            
          
          
            Copied to Clipboard
            
            {
  "formData": {
    "name": "Form 123",
    "children": [
      {
        "type": "field",
        "name": "ipaddress",
        "properties": {
          "type": "string",
          "prefix": ""
        },
        "description": "IP address",
        "element": "{\"type\":\"method\",\"id\":{\"name\":\"method_name_1\"}}",
        "source_type": "method",
        "source": "method_name_1",
        "id": "a40044c2-f378-4b2b-a81a-41d78979e583",
        "yangkey": "",
        "key": "method_name_1.ipAddress"
      },
      {
        "type": "field",
        "name": "ipaddress",
        "properties": {
          "type": "string",
          "prefix": ""
        },
        "description": "IP address",
        "element": "{\"type\":\"method\",\"id\":{\"name\":\"method_name_1\"}}",
        "source_type": "method",
        "source": "method_name_1",
        "id": "a40044c2-f378-4b2b-a81a-41d78979e583",
        "yangkey": "",
        "key": "method_name_1.ipAddress"
      },
      {
        "type": "field",
        "name": "ipaddress",
        "properties": {
          "type": "string",
          "prefix": ""
        },
        "description": "IP address",
        "element": "{\"type\":\"method\",\"id\":{\"name\":\"method_name_1\"}}",
        "source_type": "method",
        "source": "method_name_1",
        "id": "a40044c2-f378-4b2b-a81a-41d78979e583",
        "yangkey": "",
        "key": "method_name_1.ipAddress"
      },
      {
        "type": "field",
        "name": "ipaddress",
        "properties": {
          "type": "string",
          "prefix": ""
        },
        "description": "IP address",
        "element": "{\"type\":\"method\",\"id\":{\"name\":\"method_name_1\"}}",
        "source_type": "method",
        "source": "method_name_1",
        "id": "a40044c2-f378-4b2b-a81a-41d78979e583",
        "yangkey": "",
        "key": "method_name_1.ipAddress"
      }
    ],
    "elements": [
      {
        "type": "method",
        "id": {
          "name": "method_name_1"
        }
      }
    ],
    "_id": "1f5d1453-8128-3889-3a9d-9e77a471fc75",
    "groups": [
      "e44d01f8bb8e289c0f164514"
    ],
    "created": "1982-10-02T17:55:54.709Z",
    "created_by": "67ea75762f97ddfe3c7888e3",
    "last_updated": "1953-01-09T08:12:56.188Z",
    "last_updated_by": "be1849a93a2aecee793f55d8"
  }
}
           
          
            Copied to Clipboard
            
            {
  "type": "object",
  "properties": {
    "formData": {
      "title": "formData",
      "$ref": "formDocument"
    }
  },
  "required": [
    "formData"
  ],
  "additionalProperties": false
}
           
          Return
          
            DetailsExampleSchema
          
          
            
              
                | Name | 
                Type | 
                Description | 
              
            
            
              
                | reply | 
                object | 
                Status of save form | 
              
            
          
          
            Copied to Clipboard
            
            {
  "name": "Form 123",
  "children": [
    {
      "type": "field",
      "name": "ipaddress",
      "properties": {
        "type": "string",
        "prefix": ""
      },
      "description": "IP address",
      "element": "{\"type\":\"method\",\"id\":{\"name\":\"method_name_1\"}}",
      "source_type": "method",
      "source": "method_name_1",
      "id": "a40044c2-f378-4b2b-a81a-41d78979e583",
      "yangkey": "",
      "key": "method_name_1.ipAddress"
    },
    {
      "type": "field",
      "name": "ipaddress",
      "properties": {
        "type": "string",
        "prefix": ""
      },
      "description": "IP address",
      "element": "{\"type\":\"method\",\"id\":{\"name\":\"method_name_1\"}}",
      "source_type": "method",
      "source": "method_name_1",
      "id": "a40044c2-f378-4b2b-a81a-41d78979e583",
      "yangkey": "",
      "key": "method_name_1.ipAddress"
    },
    {
      "type": "field",
      "name": "ipaddress",
      "properties": {
        "type": "string",
        "prefix": ""
      },
      "description": "IP address",
      "element": "{\"type\":\"method\",\"id\":{\"name\":\"method_name_1\"}}",
      "source_type": "method",
      "source": "method_name_1",
      "id": "a40044c2-f378-4b2b-a81a-41d78979e583",
      "yangkey": "",
      "key": "method_name_1.ipAddress"
    }
  ],
  "elements": [
    {
      "type": "method",
      "id": {
        "name": "method_name_1"
      }
    }
  ],
  "_id": "cfd297f4-e493-8080-92bc-dc063d9f080a",
  "groups": [
    "5c9305006d40028fcba95163",
    "1f4c5041c514a23a8aa9c559",
    "fc71885e3277279b2ddb1967"
  ],
  "created": "2005-08-06T02:16:43.271Z",
  "created_by": "3d8cc6aa7f11bb80a52598f4",
  "last_updated": "1949-01-19T19:02:28.883Z",
  "last_updated_by": "bfab41516aa88730edcc1956"
}