SOAP API methode CollectionConstraint_createRule
Beschrijving
Create a new rule for this constraint.
Parameters
Naam | Type | Beschrijving |
---|---|---|
id * | int | Unique identifier (id) of the object CollectionConstraint. The method only applies to the collectionconstraint 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 |
---|---|---|
databaseconstraintrule | Structure of type 'databaseconstraintrule' | |
collectionconstraintrule | Structure of type 'collectionconstraintrule' |
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 'databaseconstraintrule'
Naam | Type | Beschrijving |
---|---|---|
id | int | The ID of the constraint rule. |
name | string | The name of the constraint rule. |
disabled | boolean | Is this rule disabled? |
Structuur 'collectionconstraintrule'
Naam | Type | Beschrijving |
---|---|---|
id | int | The ID of the constraint rule. |
name | string | The name of the constraint rule. |
disabled | boolean | Is this rule disabled? |