SOAP API method Profile_changeInterests

Back to API references

Description
Some customers want to do one soap call to update a few interests Some to true and some to false and leave others unchanged

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'
An assoc array the key is the interest name/id and the value is a boolean (true/false)
Parameter 'caller' : Structure of type 'caller'
The caller object (or null if called by old code)
Parameter 'login' : Structure of type 'login'
Optional login data

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

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

Structure 'caller'
This structure caller was mentioned above. This structure has the following properties:
Property 'followups' : bool
Are the follow-ups enabled
Property 'caller' : string
The name of the caller
Property 'identity' : string|null
The identity of the caller, this is the name that is accepted by the webcaller

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