Back to API references

SOAP API method PartMiniCondition_addField

Description

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 minicondition

Parameters

Name Type Description
id * int Unique identifier (id) of the object PartMiniCondition. The method only applies to the partminicondition 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
partminiconditionfield Structure of type 'partminiconditionfield'

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

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