SOAP API method Profile_updateFields
Description
The fields can be updated by given a assoc array of field and values.
Parameters
| Name | Type | Description |
|---|---|---|
| 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 |
| fields * | Collection of type 'fields' | A map 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 |
| * required parameters | ||
Return values
| Name | Type | Description |
|---|---|---|
| value | boolean | true on success else false (when constraints check fails) |
Structure 'pair'
| Name | Type | Description |
|---|---|---|
| key | string | |
| value | string |
Structure 'fields'
| Name | Type | Description |
|---|---|---|
| pair | Structure of type 'pair' |
Structure 'caller'
| Name | Type | Description |
|---|---|---|
| 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 |
Structure 'login'
| Name | Type | Description |
|---|---|---|
| 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 |