SOAP API method CollectionConstraintRule_createCondition
Description
Create a new condition for this constraint rule.
Parameters
- Parameter 'id' : int
- Unique identifier (id) of the object CollectionConstraintRule. The method only applies to the collectionconstraintrule with this id.
- Parameter 'type' : string
- type of the condition
- Parameter 'login' : Structure of type 'login'
- Optional login data
Return values
- Return value 'constraintrulevaluecondition' : Structure of type 'constraintrulevaluecondition'
- Return value 'constraintrulenondoublecondition' : Structure of type 'constraintrulenondoublecondition'
- Return value 'databaseconstraintrulevaluecondition' : Structure of type 'databaseconstraintrulevaluecondition'
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 'constraintrulevaluecondition'
This structure constraintrulevaluecondition was mentioned above. This structure has the following properties:
- Property 'field' : string
- The field this condition operates on
- Property 'value' : string
- The value the field must match
- Property 'matchMode' : string
- Get the match mode of the condition
- Property 'numericComparison' : boolean
- Is the comparison done numeric or not
- Property 'id' : int
- The ID of the condition.
- Property 'type' : string
- The type of the condition.
Structure 'constraintrulenondoublecondition'
This structure constraintrulenondoublecondition was mentioned above. This structure has the following properties:
- Property 'id' : int
- The ID of the condition.
- Property 'type' : string
- The type of the condition.
Structure 'databaseconstraintrulevaluecondition'
This structure databaseconstraintrulevaluecondition was mentioned above. This structure has the following properties:
- Property 'id' : int
- The ID of the condition.
- Property 'type' : string
- The type of the condition.