POST v1/forms/{id}/clone?name={name}

Use this method to clone a form, where the id is a Form Unique Identifier and the name is an optional parameter that specifies the name of the cloned form, if a name is not given then the original form name will be used along with the current clone number in parenthesis, ex. MyForm (1).

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Form Unique Identifier

string

Required

name

The optional name of the destination form.

string

None.

Body Parameters

None.

Response Information

Resource Description

Returns a Dynamic Form structure

DynamicForm
NameDescriptionTypeAdditional information
id

Form unique identifier.

string

None.

type

Form Type (Used by MDU solutions only)

string

None.

name

Form Name

string

None.

description

Form Description

string

None.

items

Form Items

Collection of FormElement

None.

emailActionSettings

Use this property to modify action settings. Action settings can not be deleted or added, only updated as they are pointers to underlaying form associated actions and not actual settings of the element themselves. When editing a Submit Button Form element, the settings related to email come from this collection of settings.

Collection of EntityTemplateActionSetting

None.

Response Formats

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "type": "sample string 2",
  "name": "sample string 3",
  "description": "sample string 4",
  "items": [
    {
      "id": "sample string 1",
      "name": "sample string 2",
      "label": "sample string 3",
      "formUUID": "sample string 4",
      "help": "sample string 5",
      "required": true,
      "type": {
        "id": "sample string 1",
        "type": "sample string 2",
        "name": "sample string 3",
        "description": "sample string 4"
      },
      "order": 7,
      "prompt": "sample string 8",
      "textType": 1,
      "minLength": 1,
      "maxLength": 1,
      "preFill": true,
      "preFillTag": "sample string 9",
      "width": 1,
      "height": 1,
      "alignment": "sample string 10",
      "defaultOption": "sample string 11",
      "minuteInterval": 1,
      "defaultDate": "sample string 12",
      "minDate": "sample string 13",
      "maxDate": "sample string 14",
      "defaultCheck": true,
      "errorColor": "sample string 15",
      "choices": [
        {
          "id": "sample string 1",
          "name": "sample string 3",
          "internalName": "sample string 4",
          "order": 1
        },
        {
          "id": "sample string 1",
          "name": "sample string 3",
          "internalName": "sample string 4",
          "order": 1
        }
      ]
    },
    {
      "id": "sample string 1",
      "name": "sample string 2",
      "label": "sample string 3",
      "formUUID": "sample string 4",
      "help": "sample string 5",
      "required": true,
      "type": {
        "id": "sample string 1",
        "type": "sample string 2",
        "name": "sample string 3",
        "description": "sample string 4"
      },
      "order": 7,
      "prompt": "sample string 8",
      "textType": 1,
      "minLength": 1,
      "maxLength": 1,
      "preFill": true,
      "preFillTag": "sample string 9",
      "width": 1,
      "height": 1,
      "alignment": "sample string 10",
      "defaultOption": "sample string 11",
      "minuteInterval": 1,
      "defaultDate": "sample string 12",
      "minDate": "sample string 13",
      "maxDate": "sample string 14",
      "defaultCheck": true,
      "errorColor": "sample string 15",
      "choices": [
        {
          "id": "sample string 1",
          "name": "sample string 3",
          "internalName": "sample string 4",
          "order": 1
        },
        {
          "id": "sample string 1",
          "name": "sample string 3",
          "internalName": "sample string 4",
          "order": 1
        }
      ]
    }
  ],
  "emailActionSettings": [
    {
      "id": "sample string 1",
      "name": "sample string 3",
      "value": "sample string 4"
    },
    {
      "id": "sample string 1",
      "name": "sample string 3",
      "value": "sample string 4"
    }
  ]
}