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": "7ba172f0-2aee-90b3-0728-48df67b25fdf",
    "groups": [
      "efac0808ce3c937e8c58f141",
      "7b068658f9ca426247d134a2",
      "9c12d8551932f3abbc3e7b46"
    ],
    "created": "1981-10-30T18:04:26.123Z",
    "created_by": "fda43556245d4aed95e2343f",
    "last_updated": "2001-11-14T15:13:50.432Z",
    "last_updated_by": "6ab2d7ac1147b38776f46c2c"
  },
  "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"
}