A Service of Softnik Technologies

Custom Columns

add     delete    

Login as an administrative user before using any of these API calls.

add

Parameter Notes
c admin
t custom
oper add
name The new column name. Only lowercase and underscores, no spaces, Unicode accepted.
type Field type, can be one of text, date, datetime, integer, float or boolean
default The default value, if any
index Optional indexing mode, can be one of simple or unique. If you specify unique indexing the data for the column has to be unique and no other row can contain the same value.
width Field width, applicable only for string fields and should be 2048 or less.
columns Set it to true to return a list of all existing domain columns.
?c=admin&t=custom&oper=add&name=customer_name&type=string&width=128

delete

Parameter Notes
c admin
t custom
oper del
name The column name to delete.
clear Set this to true to delete all the corresponding data associated with the field. If you set this to false, the column will be only marked as deleted and the the existing rows will continue to hold the data for the column.
columns Set it to true to return a list of all existing domain columns.
?c=admin&t=custom&oper=del&name=customer_name