Back to API references

SOAP API method DatabaseConstraintRule_condition

Description

A single condition of this constraint rule.

Parameters

Name Type Description
id * int Unique identifier (id) of the object DatabaseConstraintRule. The method only applies to the databaseconstraintrule with this id.
type * string Type of condition
identifier * int ID of the condition
login Structure of type 'login' Optional login data (soon deprecated)
access_token string Optional api access token
* required parameters

Return values

Name Type Description
constraintrulenondoublecondition Structure of type 'constraintrulenondoublecondition'
databaseconstraintrulevaluecondition Structure of type 'databaseconstraintrulevaluecondition'
constraintrulevaluecondition Structure of type 'constraintrulevaluecondition'

Structure 'login'

Name Type Description
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

Structure 'constraintrulenondoublecondition'

Name Type Description
id int The ID of the condition.
type string The type of the condition.

Structure 'databaseconstraintrulevaluecondition'

Name Type Description
id int The ID of the condition.
type string The type of the condition.

Structure 'constraintrulevaluecondition'

Name Type Description
field string The field this condition operates on
value string The value the field must match
matchMode string Get the match mode of the condition
numericComparison boolean Is the comparison done numeric or not
id int The ID of the condition.
type string The type of the condition.