SOAP API method WebForm_copy
Description
Copy a webform, to a new webform with the name given as parameters
Parameters
Name | Type | Description |
---|---|---|
id * | int | Unique identifier (id) of the object WebForm. The method only applies to the webform with this id. |
new_name * | string | Name for the copied webform |
database | Structure of type 'database' | The database that should be linked |
link | boolean | The database that should be linked |
login | Structure of type 'login' | Optional login data (soon deprecated) |
access_token | string | Optional api access token |
* required parameters |
Return values
Name | Type | Description |
---|---|---|
webform | Structure of type 'webform' |
Structure 'database'
Name | Type | Description |
---|---|---|
id | int | The ID of the database. |
name | string | The name of the database. |
description | string | The description of the database. |
archived | boolean | The database is archived. |
created | timestamp | The date and time when the account was created. |
unsubscribebehavior | string | Get the unsubscribe behavior of the database. Possible values are 'nothing', 'remove' or 'update'. |
countprofiles | int | The number of profiles. |
lastbuilt | timestamp | When was the item rebuilt for the last time? |
Structure 'login'
Name | Type | Description |
---|---|---|
username | string | The username of the login attempt |
account | string | The account name of the login attempt |
password | string | The password for the login attempt |
Structure 'webform'
Name | Type | Description |
---|---|---|
id | int | The ID of the document. |
name | string | Get the name of the webform. |
login | string | Is this webform used for a login check? |
archived | boolean | Get if the webform is archived. |
modified | string | The last modification time of the webform. |
created | string | The creation time of the webform. |
buttontext | string | The text that appears on the button in the default xslt. |
nexturl | string | The url/page where the webform returns after handling the process. |
timezone | string | Get the timezone of the webform |
htmlEscaping | string | Check if the webform is escaping HTML code |