Summary
          Import Form
          Description
          Import a single Form
          Route
          POST /formbuilder/forms/import
          Roles
          
            admin
apiwrite
          
          Parameters
          
            DetailsExampleSchema
          
          
            
              
                | Name | Type | Required | Description | 
            
            
              
    | form | object | yes | A form payload object | 
    | options | object | yes | Import options: adapterMap (optional) | 
            
          
          
            Copied to Clipboard
            
            {
  "form": {
    "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": "113b76eb-9ba1-d005-5941-2f9911a221dc",
    "groups": [
      "3ca880222b75eeac967fd1d9"
    ],
    "created": "1975-01-29T01:19:30.155Z",
    "created_by": "85368ed35e15c898c284269d",
    "last_updated": "1947-02-03T23:27:11.59Z",
    "last_updated_by": "29065377850dd59bc70ca358"
  },
  "options": {}
}
           
          
            Copied to Clipboard
            
            {
  "type": "object",
  "properties": {
    "form": {
      "title": "form",
      "$ref": "formDocument"
    },
    "options": {
      "title": "options",
      "type": "object",
      "properties": {
        "adapterMap": {
          "type": "object"
        }
      }
    }
  },
  "required": [
    "form",
    "options"
  ],
  "additionalProperties": false
}
           
          Return
          
            DetailsExampleSchema
          
          
            
              
                | Name | Type | Description | 
            
            
              
                | result | boolean | Import status | 
            
          
          
          
            Copied to Clipboard
            
            {
  "title": "result",
  "type": "boolean"
}