Results 1 to 4 of 4

Thread: SOAP - Do Not Email API

  1. #1
    InstantHousecall is offline Junior Member
    Join Date
    May 2009
    Posts
    3

    Default SOAP - Do Not Email API

    Hi folks

    Does anyone know how, when making a lead, to set the "Do not e-mail" flag via the SOAP interface?

  2. #2
    crmbalah is offline A Prolific Poster
    Join Date
    Mar 2009
    Location
    chennai
    Posts
    418

    Default Re: SOAP - Do Not Email API

    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.

  3. #3
    InstantHousecall is offline Junior Member
    Join Date
    May 2009
    Posts
    3

    Default Re: SOAP - Do Not Email API

    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.

  4. #4
    crmbalah is offline A Prolific Poster
    Join Date
    Mar 2009
    Location
    chennai
    Posts
    418

    Default Re: SOAP - Do Not Email API

    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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Soap Record/send email
    By mlh in forum Developer Help
    Replies: 5
    Last Post: 2010-12-29, 04:53 AM
  2. soap and notification email
    By gpence in forum Developer Help
    Replies: 2
    Last Post: 2010-03-16, 03:03 PM
  3. SOAP - setting email for contact via soap
    By darcy.rippon in forum Developer Help
    Replies: 3
    Last Post: 2008-09-22, 08:13 PM
  4. email through SOAP
    By mapi33 in forum Developer Help
    Replies: 0
    Last Post: 2008-06-18, 09:24 AM
  5. Email Addresses and soap
    By anztenney in forum Developer Help
    Replies: 1
    Last Post: 2008-06-09, 08:55 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •