Hi folks
Does anyone know how, when making a lead, to set the "Do not e-mail" flag via the SOAP interface?
Hi folks
Does anyone know how, when making a lead, to set the "Do not e-mail" flag via the SOAP interface?
hi
The following code will be used to insert the "do not call" value in leads via soap.
$set_entry_params = array(
'session' => $session_id,
'module_name' => 'Leads',
'name_value_list'=>array(
array('name'=>'first_name','value'=>"test"),
array('name'=>'last_name','value'=>"test1"),
array('name'=>'do_not_call','value'=>"1")
)
);
$result = $soapclient->call('set_entry',$set_entry_params);
"Do Not Call" filed type tinyint so it will accept 0 or 1
1 - true
0 - false
Last edited by crmbalah; 2009-05-08 at 02:15 PM.
Thanks for the quick reply. Looks like the right track, but do you know where to find the do not email? I assume it's a similar format.
Hi
1. Go to admin->studio -> leads-> Fields
2. Click the “do_not_call”, it will be displayed Edit Field sub tab.
3. It will show the filed name
Field Name: do_not_call
4. In the field Name specify the “database field” Name
5. So the soap will be insert the values
Regard,
bala
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks