SOAP API method WebDocument_setWebSite
Description
Move this bdocument to an other website. This method returns false if the name already exists in the given website.
Parameters
| Name | Type | Description |
|---|---|---|
| id * | int | Unique identifier (id) of the object WebDocument. The method only applies to the webdocument with this id. |
| personalize_profile | int | Profile ID for which the object should be personalized |
| personalize_subprofile | int | Subprofile ID for which the object should be personalized |
| personalize_timestamp | string | The timestamp for the personalization |
| website * | Structure of type 'website' | |
| login | Structure of type 'login' | Optional login data (soon deprecated) |
| access_token | string | Optional api access token |
| * required parameters | ||
Return values
| Name | Type | Description |
|---|---|---|
| value | boolean |
Structure 'website'
| Name | Type | Description |
|---|---|---|
| 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 |
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 |