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"
      },
      {
        "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": "49d9c397-9b59-9606-cfea-7bda3b0f1a68",
    "groups": [
      "2f870d8ac150398eec684e27",
      "dddb59f95d776f1bccf8ab2b"
    ],
    "created": "1968-07-26T06:15:50.725Z",
    "created_by": "16fd48f2153aa0d01614d5bf",
    "last_updated": "2008-06-17T02:31:47.64Z",
    "last_updated_by": "24386da6aa40721398807ec6"
  },
  "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"
}