SOAP API method SubProfile_move

Back to API references

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

Return values
Return value 'value' : boolean

Structure 'subprofile'
This structure subprofile was mentioned above. This structure has the following properties:
Property 'id' : int
The ID of the subprofile.
Property 'code' : string
The code of the subprofile.
Property 'created' : timestamp
The timestamp when the subprofile was created.
Property 'modified' : timestamp
The timestamp when the subprofile was last modified.
Property 'lastexport' : timestamp
The last timestamp when the subprofile was exported.
Property 'fields' : Map
Map of all fields of the subprofile, 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