SOAP API method CollectionConstraint_createRule

Description
Create a new rule for this constraint.

Parameters
Parameter 'id' : int
Unique identifier (id) of the object CollectionConstraint. The method only applies to the collectionconstraint with this id.
Parameter 'name' : string
name
Parameter 'login' : Structure of type 'login'
Optional login data

Return values
Return value 'collectionconstraintrule' : Structure of type 'collectionconstraintrule'
Return value 'databaseconstraintrule' : Structure of type 'databaseconstraintrule'

Structure 'login'
This structure login was mentioned above. This structure has the following properties:
Property 'username' : string
The username of the login attempt
Property 'account' : string
The account name of the login attempt
Property 'password' : string
The password for the login attempt

Structure 'collectionconstraintrule'
This structure collectionconstraintrule was mentioned above. This structure has the following properties:
Property 'id' : int
The ID of the constraint rule.
Property 'name' : string
The name of the constraint rule.
Property 'disabled' : boolean
Is this rule disabled?

Structure 'databaseconstraintrule'
This structure databaseconstraintrule was mentioned above. This structure has the following properties:
Property 'id' : int
The ID of the constraint rule.
Property 'name' : string
The name of the constraint rule.
Property 'disabled' : boolean
Is this rule disabled?

Stay up to date

Receive our monthly top tips, the latest news about database marketing, email marketing, mobile and much more!

Try Copernica yourself!

  • Sign up in less than 30 seconds

  • Access to every feature

  • No upfront payment required

Try Copernica for free