Bitrix24 Community

Support » Forum » Максим Малин
Select date in calendarSelect date in calendar

Pages: 1
CRM: adding custom fields
Hello.
[CODE]We have found numerous solution to add lead via rest api like followong:
$queryUrl = 'https://ourbitrixname.bitrix24.ru/rest/16/apikeynumbershere/crm.lead.add.json';
$queryData = http_build_query($basebitrix24 = array(
'fields' => array(
"TITLE" => $_REQUEST['name'].' '.$_REQUEST['last_name'],
"NAME" => $_REQUEST['name'],
"LAST_NAME" => $_REQUEST['last_name'],
"STATUS_ID" => "NEW",
"OPENED" => "Y",
"ASSIGNED_BY_ID" => 16,
'SOURCE_ID' => $_SERVER['REMOTE_ADDR'],
"PHONE" => array(array("VALUE" => $_REQUEST['phone'], "VALUE_TYPE" => "WORK" )),
"EMAIL" => array(array("VALUE" => $_REQUEST['email'], "VALUE_TYPE" => "WORK" )),
),
'params' => array("REGISTER_SONET_EVENT" => "Y")[/CODE]How to create custom utm_fileds in bitrix via rest api?

Regards,
Maksym
Pages: 1
2,000,000+
organizations
are already using Bitrix24