SOAP API methode Callback_setSource
Beschrijving
When the source is set then only callbacks from the source will be run. The source is either a database or collection.
Parameters
| Naam | Type | Beschrijving |
|---|---|---|
| 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 |
| * verplichte parameters | ||
Structuur 'database'
| Naam | Type | Beschrijving |
|---|---|---|
| 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? |
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 '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 |