Back to API references

SOAP API method PartCondition_addField


The field is the name or id of the field. This method return true on success and else false. I the position is nog given the fields is placed after the last field in the condition


Name Type Description
id * int Unique identifier (id) of the object PartCondition. The method only applies to the partcondition with this id.
field * Structure of type 'field' The id of the field
sort string Sort type (numeric|string).
order string The sort order used. Possible values are 'asc' end 'desc'
position int The position of the field.This must be a positive number. Is not give the field is paced at the end.
login Structure of type 'login' Optional login data (soon deprecated)
access_token string Optional api access token
* required parameters

Return values

Name Type Description
partconditionfield Structure of type 'partconditionfield'

Structure 'field'

Name Type Description
id int The ID of the field.
name string The name of the field.
big boolean Is this field a big field?.
pixelwidth int The width of this field.
weight int The weight of this field.
type string The type of this field.
value string The default value of this field.
specialcontent string The special content of this field.
ordered boolean Is this the field that we order by by default?
displayed boolean Is this field displayed?
indatatable boolean Is this field added to the data table?
length integer Get the length of the field
lines integer Get the number of lines in this field
hidden boolean Is this field hidden?
index boolean Is this field indexed?

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

Name Type Description
id string The ID of the PartConditionField.
order string The order this field will be sorted on.
sortingtype string The type of sorting.