SOAP API methode Database_createProfile
Beschrijving
The parameter is an associative array of fields should be supplied. Returns the newly created profile
Parameters
| Naam | Type | Beschrijving |
|---|---|---|
| id * | int | Unique identifier (id) of the object Database. The method only applies to the database with this id. |
| fields * | Collection of type 'fields' | An associative array containing key => value pairs |
| 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 |
|---|---|---|
| profile | Structure of type 'profile' |
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 'profile'
| Naam | Type | Beschrijving |
|---|---|---|
| id | int | The ID of the profile. |
| code | string | The code of the profile. |
| extra | string | The extra data of the profile. |
| created | timestamp | The timestamp when the profile was created. |
| modified | timestamp | The timestamp when the profile was last modified. |
| lastexport | timestamp | The last timestamp when the profile was exported. |
| fields | Map | Map of all fields of the profile, this property is only returned when the parameter 'allproperties' is set to true |
| interests | Map | Map of all interests of the profile, this property is only returned when the parameter 'allproperties' is set to true |