Sugar SOAP set_entry

Posted by Brian on Stack Overflow See other posts from Stack Overflow or by Brian
Published on 2010-06-16T05:33:09Z Indexed on 2010/06/16 5:42 UTC
Read the original article Hit count: 442

Filed under:
|

I am trying to add entries to a Sugar Contacts database with the following SOAP code in PHP.

$set_entry_params = array(
'session' => $result_array->id,
'module_name' => 'Contacts',
'name_value_list'=>array(
    array('name'=>'Name','value'=>'Brian')
)
);

    $result = $soapClient->__soapCall('set_entry', $set_entry_params);

An entry is made in the sugar db, but the name field is left blank and the Role field is labelled: Pre Sugar Roll Out

does anyone know what is wrong here?

© Stack Overflow or respective owner

Related posts about php

Related posts about soap