SOAP API method DatabaseConstraint_check

Back to API references

Description
Check if the constraint allows the profile into the database with the supplied fields.

Parameters
Parameter 'id' : int
Unique identifier (id) of the object DatabaseConstraint. The method only applies to the databaseconstraint with this id.
Parameter 'fields' : Collection of type 'fields'
The fields to be inserted or updated.
Parameter 'profile' : Structure of type 'profile'
The profile that will be updated.
Parameter 'login' : Structure of type 'login'
Optional login data

Return values
Return value 'value' : boolean

Structure 'pair'
This structure pair was mentioned above. This structure has the following properties:
Property 'key' : string
Property 'value' : string

Structure 'fields'
This structure fields was mentioned above. This structure has the following properties:
Property 'pair' : Structure of type 'pair'

Structure 'profile'
This structure profile was mentioned above. This structure has the following properties:
Property 'id' : int
The ID of the profile.
Property 'code' : string
The code of the profile.
Property 'extra' : string
The extra data of the profile.
Property 'created' : timestamp
The timestamp when the profile was created.
Property 'modified' : timestamp
The timestamp when the profile was last modified.
Property 'lastexport' : timestamp
The last timestamp when the profile was exported.
Property 'fields' : Map
Map of all fields of the profile, this property is only returned when the parameter 'allproperties' is set to true
Property 'interests' : Map
Map of all interests of the profile, this property is only returned when the parameter 'allproperties' is set to true

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