SOAP API methode WebSite_copy
Beschrijving
Copy a website, with all its pages
Parameters
| Naam | Type | Beschrijving |
|---|---|---|
| id * | int | Unique identifier (id) of the object WebSite. The method only applies to the website with this id. |
| name * | string | Name of the new website |
| login | Structure of type 'login' | Optional login data (soon deprecated) |
| access_token | string | Optional api access token |
| * verplichte parameters | ||
Resultaat
| Naam | Type | Beschrijving |
|---|---|---|
| website | Structure of type 'website' |
Structuur 'login'
| Naam | Type | Beschrijving |
|---|---|---|
| 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 |
Structuur 'website'
| Naam | Type | Beschrijving |
|---|---|---|
| id | int | The ID of the website. |
| name | string | The name of the website. |
| created | timestamp | The date and time when the website was created. |
| description | string | The description of the website. |
| sessionTimeout | int | Get the session timeout, in minutes. |
| forceHttps | boolean | Get whether this website can use only https |