Terug naar de indexpagina

SOAP API methode Collection_createConstraint

Beschrijving

Create a new constraint on the collection

Parameters

Naam Type Beschrijving
id * int Unique identifier (id) of the object Collection. The method only applies to the collection with this id.
name * string Name of the new constraint
login Structure of type 'login' Optional login data (soon deprecated)
access_token string Optional api access token
* verplichte parameters

Resultaat

Naam Type Beschrijving
collectionconstraint Structure of type 'collectionconstraint'
databaseconstraint Structure of type 'databaseconstraint'

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 'collectionconstraint'

Naam Type Beschrijving
id int The ID of the constraint.
name string The name of the constraint.
description string Description of the constraint
disabled boolean Is this constraint disabled?

Structuur 'databaseconstraint'

Naam Type Beschrijving
id int The ID of the constraint.
name string The name of the constraint.
description string Description of the constraint
disabled boolean Is this constraint disabled?