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"
      }
    ],
    "elements": [
      {
        "type": "method",
        "id": {
          "name": "method_name_1"
        }
      }
    ],
    "_id": "a6d60327-1646-4a4d-f8e8-92a9455ac4df",
    "groups": [
      "bc87551f051f53e529cab4ad"
    ],
    "created": "1986-09-12T13:11:00.108Z",
    "created_by": "a32e55c5d5740687f8db980e",
    "last_updated": "2000-09-15T22:46:36.477Z",
    "last_updated_by": "57a8236f5bdede28bdd0b6a2"
  }
}
           
          
            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": "24b17d1c-3365-c7a8-c725-803a576e7adf",
  "groups": [
    "62b5538830c31f532bb488f7",
    "13d876e5061e3efe5e51c5d9",
    "b3fb779a36fa7355b9f56b89",
    "715fc46b0f125b30e682fef6",
    "c8c41636641d00e1c7e1c5e7"
  ],
  "created": "1984-12-21T11:00:51.737Z",
  "created_by": "f9e211a9380ec887b7a2d6f9",
  "last_updated": "1941-07-11T12:05:20.842Z",
  "last_updated_by": "98d286ca6791ccfdfc86f287"
}