SOAP API methode Database_createCollection
Beschrijving
The newly created collection object is returned on success, false on failure.
Parameters
| Naam | Type | Beschrijving |
|---|---|---|
| id * | int | Unique identifier (id) of the object Database. The method only applies to the database with this id. |
| name * | string | name |
| login | Structure of type 'login' | Optional login data (soon deprecated) |
| access_token | string | Optional api access token |
| * verplichte parameters | ||
Resultaat
| Naam | Type | Beschrijving |
|---|---|---|
| collection | Structure of type 'collection' |
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 '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. |