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"
      }
    ],
    "elements": [
      {
        "type": "method",
        "id": {
          "name": "method_name_1"
        }
      }
    ],
    "_id": "92c15677-7e44-e562-afaf-98b6351cacc5",
    "groups": [
      "18ddb6fff89d47373c76f906",
      "3a0aaab90cd08df67237154b",
      "7733133351b6102ef519691c"
    ],
    "created": "1945-06-01T08:06:36.118Z",
    "created_by": "e94e19819b1ba6729bd6dfd0",
    "last_updated": "1973-01-20T16:18:46.903Z",
    "last_updated_by": "4159b4e1c325d5ef81e409a6"
  }
}
           
          
            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": "01a831c8-d23a-ae05-9e36-e6b0faf9b01f",
  "groups": [
    "bab0cf3e8c9389aa66e5923d",
    "d5d8eadc2623dae58a9488e3",
    "b92f3f18fa37bd59b81b964f",
    "30be26f63da9e85a15f7da3c",
    "d1943ada05ffbb9adec20991"
  ],
  "created": "1970-08-22T03:37:38.922Z",
  "created_by": "db8e2a1c95b46df1fcfb1db5",
  "last_updated": "1951-01-27T17:28:20.681Z",
  "last_updated_by": "7da5737680e585c821425cb9"
}