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

Как создать задачу? #37

Open
Freerade55 opened this issue Dec 1, 2022 · 0 comments
Open

Как создать задачу? #37

Freerade55 opened this issue Dec 1, 2022 · 0 comments

Comments

@Freerade55
Copy link

В документации у вас написан пример:
$task = $amo->tasks()->create();
$task->text = 'Amoapi v7';
$task->element_type = 1;
$task->element_id = 34762725;
$task->save();

Что такое element type и element_id? Для создания задачи в этой crm достаточно передать text и complete_till, зачем нужны остальные параметры?

@Freerade55 Freerade55 changed the title Как получить задачу? Как создать задачу? Dec 1, 2022
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