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": "1710cdb9-5303-b15f-e15a-6e3838dcbb8f",
    "groups": [
      "1946c350ee78244c636e0e1e",
      "3efa63197ff9e50d8923dd01",
      "7b589d71af822586cab75435",
      "b3032f7c2d9ed851bd13e5b0"
    ],
    "created": "1949-05-22T13:09:33.039Z",
    "created_by": "b1bdd27b30635ee213cc5d94",
    "last_updated": "2013-12-25T23:16:52.687Z",
    "last_updated_by": "b2daf389ed831e1f056c2117"
  },
  "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
            
            false
           
          
            Copied to Clipboard
            
            {
  "title": "result",
  "type": "boolean"
}