Back to API references

SOAP API method SubProfile_move

Description

be removed, and all data and the history of the current subprofile is moved to the other subprofile. 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 subprofile, default is true - code Copy the secret access code, default is true - ignoreempty Ignore empty fields in the current subprofile (do not copy those fields), default is false - onlyempty Only copy fields that are currently empty in the target subprofile, default is false - mailings Copy mailing history and mailing results, default is true - surveys Copy the results of surveys

Parameters

Name Type Description
id * int Unique identifier (id) of the object SubProfile. The method only applies to the subprofile with this id.
timestamp string The timestamp for the historic subprofile
subprofile * Structure of type 'subprofile'
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 'subprofile'

Name Type Description
id int The ID of the subprofile.
code string The code of the subprofile.
created timestamp The timestamp when the subprofile was created.
modified timestamp The timestamp when the subprofile was last modified.
lastexport timestamp The last timestamp when the subprofile was exported.
fields Map Map of all fields of the subprofile, 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