$leadParam = array("FIELDS"=>array(
"STATUS_ID" => "NEW",
"OPENED" => "Y",
"CURRENCY_ID" => "RUB",
"SOURCE_ID" => 15 // website
));
"SOURCE_ID" => "WEB"
.BX24.callMethod(
"crm.status.list",
{
order: { "SORT": "ASC" },
filter: { "ENTITY_ID": "SOURCE" }
},
function(result)
{
if(result.error())
console.error(result.error());
else
{
console.dir(result.data());
if(result.more())
result.next();
}
}
);