Terug naar de indexpagina

SOAP API methode Profile_createSubProfile

Beschrijving

Creates and returns a subprofile, based on a collection name or ID and a assoc array of fields witch should be filled in the subprofile.

Parameters

Naam Type Beschrijving
id * int Unique identifier (id) of the object Profile. The method only applies to the profile with this id.
timestamp string The timestamp for the historic profile
collection * Structure of type 'collection'
fields * Collection of type 'fields' Is the same as an assoc array
caller Structure of type 'caller' The caller object (or null if called by old code)
login Structure of type 'login' Optional login data (soon deprecated)
access_token string Optional api access token
* verplichte parameters

Resultaat

Naam Type Beschrijving
subprofile Structure of type 'subprofile'

Structuur 'collection'

Naam Type Beschrijving
id int The ID of the collection.
name string The name of the collection.
weight int The weight of the collection.
created string The date and time when the account was created.
unsubscribebehavior string Get the unsubscribe behavior of the collection. Possible values are 'nothing', 'remove' or 'update'.
countsubprofiles int The number of subprofiles.

Structuur 'pair'

Naam Type Beschrijving
key string
value string

Structuur 'fields'

Naam Type Beschrijving
pair Structure of type 'pair'

Structuur 'caller'

Naam Type Beschrijving
followups boolean Are the follow-ups enabled
caller string The name of the caller
identity string The identity of the caller, this is the name that is accepted by the webcaller

Structuur 'login'

Naam Type Beschrijving
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

Structuur 'subprofile'

Naam Type Beschrijving
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