AnsweredAssumed Answered

Adding email to a Leads via REST

Question asked by joenineo on Feb 2, 2016
Latest reply on Feb 2, 2016 by joenineo

Hi

 

I can successfully add data into Leads Module via REST but it won't add email address.  The code below adds to other fields but not email, and I can't see why.  Any help or pointers much appreciated.

 

$record_arguments = array(

  "salutation" => 'Mr',

  "first_name" => 'Joe',

  "last_name" => 'Bloggs',

    "lead_source" => "Employee",

  "description" => 'This is a test',

  "phone_home" => '123345',

  "phone_mobile" => '678900',

  "email" => "test@test.com",

);

Everything above goes into the Leads module except the email!

 

Please any ideas?

Outcomes