Creating custom_field

The request is intended for creating custom_field.

Request example

&svc=create_cf&params={
    "type_object": string,
    "id_object": integer,
    "name_cf": string,
    "value_cf": string,
    "is_visible": boolean
}

Params

Param Value
type_object Type element
id_object Unique id of element
name_cf name custom-field
value_cf Value custom-field
is_visible Visibility custom-field

Ответ сервера

Результат создания custom_field
{
    "id_custom_field": "400625" // ID созданного custom-field 
}