Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

как добавить телефон к контакту? #3

Closed
zhalil opened this issue Feb 21, 2021 · 0 comments
Closed

как добавить телефон к контакту? #3

zhalil opened this issue Feb 21, 2021 · 0 comments

Comments

@zhalil
Copy link

zhalil commented Feb 21, 2021

Приветствую, пробовал по разному добавить телефон и просто передать телефон в поле phone и массив:

$contactId = $bx24->addContact([
    'NAME'        => 'Иван',
    'SECOND_NAME' => 'Васильевич',
    'LAST_NAME'   => 'Петров',
    'HAS_PHONE'=>'Y',
    'PHONE'=> ["VALUE"=> "555888", "VALUE_TYPE" => "WORK"]
]);

и массив в массиве: [["VALUE"=> "555888", "VALUE_TYPE" => "WORK"]] , никак не выходит, так как же правильно передавать телефон контакту?

@zhalil zhalil closed this as completed Feb 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant