SOAP API method Profile_updateInterests

Description
The interests can be updated by giving an indexed array to this function. This is non-intuitive method: all interests that are not supplied to this method, are reset. So if you want to only remove the interest 'X' from a profile, you need to do this: $interests = $profile->interests(); $idx = array_search($interests, 'X'); if ($idx !== false) unset($interests[$idx]); $profile->updateInterests($interests); To add an interest to a profile, do this: $interests = $profile->interests(); $interests[] = 'X'; $profile->updateInterests($interests);

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 'interests' : Collection of type 'interests'
Parameter 'runFollowups' : boolean
should followups be executed?
Parameter 'login' : Structure of type 'login'
Optional login data

Structure 'interests'
This structure interests was mentioned above. This structure has the following properties:
Property '' : string

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

Stay up to date

Receive our monthly top tips, the latest news about database marketing, email marketing, mobile and much more!

Try Copernica yourself!

  • Sign up in less than 30 seconds

  • Access to every feature

  • No upfront payment required

Try Copernica for free