SOAP API method Profile_move

Back to API references

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
Parameter 'id' : int
Unique identifier (id) of the object Profile. The method only applies to the profile with this id.
Parameter 'timestamp' : string
The timestamp for the historic profile
Parameter 'profile' : Structure of type 'profile'
Parameter 'options' : Collection of type 'options'
Parameter 'login' : Structure of type 'login'
Optional login data

Return values
Return value 'value' : boolean

Structure 'profile'
This structure profile was mentioned above. This structure has the following properties:
Property 'id' : int
The ID of the profile.
Property 'code' : string
The code of the profile.
Property 'extra' : string
The extra data of the profile.
Property 'created' : timestamp
The timestamp when the profile was created.
Property 'modified' : timestamp
The timestamp when the profile was last modified.
Property 'lastexport' : timestamp
The last timestamp when the profile was exported.
Property 'fields' : Map
Map of all fields of the profile, this property is only returned when the parameter 'allproperties' is set to true
Property 'interests' : Map
Map of all interests of the profile, this property is only returned when the parameter 'allproperties' is set to true

Structure 'pair'
This structure pair was mentioned above. This structure has the following properties:
Property 'key' : string
Property 'value' : string

Structure 'options'
This structure options was mentioned above. This structure has the following properties:
Property 'pair' : Structure of type 'pair'

Structure 'login'
This structure login was mentioned above. This structure has the following properties:
Property 'username' : string
The username of the login attempt
Property 'account' : string
The account name of the login attempt
Property 'password' : string
The password for the login attempt