Я использую Vtiger API для создания нового лида. Теперь мне нужно создать новую задачу или новое событие для моего лида.
Кто может мне помочь и у кого есть пример?
Это мой код :
{
"operation":"create",
"format":"json",
"sessionName":"221747465d9f2d70a76e9",
"elementType":"Leads",
"element": {
"firstname":"test",
"lastname":"test", //mandatory
"email":"email@example.com",
"phone":"123456789",
"country":"Oman",
"website":"https://test.com/",
//list of mandatory fields is unique to your crm
"assigned_user_id":"19x97" // this is parameter from authorisation response
}
}
Я использую Vtiger API для создания нового лида. Теперь мне нужно создать новую задачу или новое событие для моего лида. Кто может мне помочь и у кого есть пример? Это мой код : [code]{ "operation":"create", "format":"json", "sessionName":"221747465d9f2d70a76e9", "elementType":"Leads", "element": { "firstname":"test", "lastname":"test", //mandatory "email":"email@example.com", "phone":"123456789", "country":"Oman", "website":"https://test.com/", //list of mandatory fields is unique to your crm "assigned_user_id":"19x97" // this is parameter from authorisation response } } [/code] Понятия не имею...