Extra Methods
List of all entities (get_entities)
$params = [ 'key' => '---', 'username' => 'admin', 'password' => 'admin', 'action' => 'get_entities', ];
List of fields of a given entity (get_entity_fields)
$params = [ 'key' => '---', 'username' => 'admin', 'password' => 'admin', 'action' => 'get_entity_fields', 'entity_id' => 21, //ID сущности ];
List of values for a given field (get_field_choices)
$params = [ 'key' => '---', 'username' => 'admin', 'password' => 'admin', 'action' => 'get_field_choices', 'entity_id' => 21, //ID сущности 'field_id' => 157, //ID поля ];
List of global lists (get_global_lists)
$params = [ 'key' => '---', 'username' => 'admin', 'password' => 'admin', 'action' => 'get_global_lists', ];
List of global list values (get_global_list_choices)
$params = [ 'key' => '---', 'username' => 'admin', 'password' => 'admin', 'action' => 'get_global_list_choices', 'list_id' => 2, //ID списка ];
Get all automation buttons for a specific entity (get_process_buttons)
$params = [ 'key' => '---', 'username' => 'admin', 'password' => 'admin', 'action' => 'get_process_buttons', 'entity_id' =>21, //ID сущности 'item_id' =>1, //ID записи (опционально) ];
Run an automation process (run_process)
$params = [ 'key' => '---', 'username' => 'admin', 'password' => 'admin', 'action' => 'run_process', 'entity_id' =>21, //ID сущности 'item_id' =>1, //ID записи 'process_id' => 7, //ID процесса ];
Change user password
$params = [ 'key' => '---', 'username' => 'admin', 'password' => 'asdasd', 'action' => 'change_user_password', 'new_password'=>'admin', ];