SOAP API method Profile_move
Description
be removed, and all data and the history of the current profile is moved to the other profile. Note that the current object no longer exists after the call to this method. The second parameter holds an array with optional move options: - fields Copy the value of the fields to the other profile, default is true - interests Copy the interests to the other profile, default is true - extra Copy the extra additional data, default is true - code Copy the secret access code, default is true - ignoreempty Ignore empty fields in the current profile (do not copy those fields), default is false - onlyempty Only copy fields that are currently empty in the target profile, default is false - subprofiles Copy the subprofiles as well, default is true - contacts Copy the contact and task history as well, default is true - mailings Copy mailing history and mailing results, default is true - files Copy files and directories, default is true - surveys Copy the results of surveys
Parameters
Name | Type | Description |
---|---|---|
id * | int | Unique identifier (id) of the object Profile. The method only applies to the profile with this id. |
timestamp | string | The timestamp for the historic profile |
profile * | Structure of type 'profile' | |
options | Collection of type 'options' | |
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 'profile'
Name | Type | Description |
---|---|---|
id | int | The ID of the profile. |
code | string | The code of the profile. |
extra | string | The extra data of the profile. |
created | timestamp | The timestamp when the profile was created. |
modified | timestamp | The timestamp when the profile was last modified. |
lastexport | timestamp | The last timestamp when the profile was exported. |
fields | Map | Map of all fields of the profile, this property is only returned when the parameter 'allproperties' is set to true |
interests | Map | Map of all interests of the profile, this property is only returned when the parameter 'allproperties' is set to true |
Structure 'pair'
Name | Type | Description |
---|---|---|
key | string | |
value | string |
Structure 'options'
Name | Type | Description |
---|---|---|
pair | Structure of type 'pair' |
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 |