$queryData = array(
'fields' => array(
"TITLE" => 'first_name',
"NAME" => 'first_name',
"PHONE" => array(
array( "VALUE" => 'phone', "VALUE_TYPE" => "WORK" )),
),
),
'params' => array("REGISTER_SONET_EVENT" => "Y"
)
);
const queryData = {
'filds':
[{'TITLE': data.name},
{'NAME': data.name},
{'PHONE':[
{'value': data.phone},
]}
],
'params': {
'REGISTER_SONET_EVENT': 'Y'
}
};