SOAP API method Callback_setSource
Description
When the source is set then only callbacks from the source will be run. The source is either a database or collection.
Parameters
| Name | Type | Description |
|---|---|---|
| id * | int | Unique identifier (id) of the object Callback. The method only applies to the callback with this id. |
| database | Structure of type 'database' | |
| collection | Structure of type 'collection' | |
| login | Structure of type 'login' | Optional login data (soon deprecated) |
| access_token | string | Optional api access token |
| * required parameters | ||
Structure 'database'
| Name | Type | Description |
|---|---|---|
| id | int | The ID of the database. |
| name | string | The name of the database. |
| description | string | The description of the database. |
| archived | boolean | The database is archived. |
| created | timestamp | The date and time when the account was created. |
| unsubscribebehavior | string | Get the unsubscribe behavior of the database. Possible values are 'nothing', 'remove' or 'update'. |
| countprofiles | int | The number of profiles. |
| lastbuilt | timestamp | When was the item rebuilt for the last time? |
Structure 'collection'
| Name | Type | Description |
|---|---|---|
| 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. |
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 |