Parametro Tipo di dato Richiesto Definizione
SessionID string Session ID which is needed to authenticate the access. It's optional and required for desktop applications only
Command string The API Command sended to the console
ResponseFormat JSON | XML Response format
JSONPCallBack bool Send this parameter for cross-domain. More info about JSONP can be found here: http: //
CustomFieldID integer ID of custom field to be updated
FieldName string Name of new custom field
FieldType string

{Single line | Paragraph text | Multiple choice | Drop down | Checkboxes | Hidden field}

The type of the custom field

FieldDefaultValue string Default value of the custom field
OptionLabel[n] string Label of nth option
OptionValue[n] string Value of nth option
OptionSelected array An array of selected option ids (Option ids are n)
ValidationMethod string

{Disabled | Numbers | Letters | Numbers and letters | Email address | URL | Date | Time | Custom}

Validation method of the custom field

ValidationRule string Validation rule of the custom field
Visibility string

{Public | User Only}

Whether to show custom field in subscriber area or not

IsRequired string

{Yes | No}

Whether to make the custom field mandatory to fill in or not

IsUnique string

{Yes | No}

Whether to force custom field entry to be unique or not

IsGlobal string

{Yes | No}

/If this parameter is set to 'Yes', custom field will be valid for all lists in the user account


Parametro Tipo di dato Definizione
Success bool States if an error has been generated during last command execution or not
ErrorCode integer The ErrorCode number, if an error has occurred. ErrorCode = 0 means no error has occurred.


Codice Definizione
1 Subscriber list id is missing
2 Field name is missing
3 Field type is missing
4 Validation rule is missing
7 Field type is invalid
8 Validation method is invalid
9 Invalid visibility method
10 Invalid IsRequired value
11 Invalid IsUnique value
12 Invalid IsGlobal value
99998 Authentication failure or session expired
99999 Not enough privileges
6 Custom Field is invalid