Results 1 to 2 of 2

Thread: SOAP problm with get_entry_list

  1. #1
    itsjsaim is offline Junior Member
    Join Date
    Aug 2009
    Posts
    1

    Question SOAP problm with get_entry_list

    I have sugarcrm instance and want to fetch some data from it using a raw php using SOAP

    I am using nusoap client. I am able fetch the data but want to select data of particular id only. what i am doing is

    $response = $client->call('get_entry_list',array('session'=>$session_i d , 'module_name'=>'itf_Apartments', 'where'=>'itf_Apartments.id=2', 'order_by'=>'','offset'=>'','select_fields'=>array ('name')));

    but iam not getting any results. is ther any problem with my code???

  2. #2
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: SOAP problm with get_entry_list

    This approach should works:

    PHP Code:
            $response $client->call(
                
    'get_entry',
                array(
                    
    $session_id
                    
    'itf_Apartments'
                    
    '2'
                    array(
    'name')
                )
            ); 
    Cheers
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 2
    Last Post: 2008-11-19, 11:25 PM
  2. Soap-get_entry_list
    By crmqwerty in forum Developer Help
    Replies: 1
    Last Post: 2008-05-30, 02:10 PM
  3. Did SOAP get_entry_list() change?
    By dvancamp in forum Developer Help
    Replies: 7
    Last Post: 2008-03-07, 11:05 PM
  4. SOAP API: get_entry_list help
    By TheWiredMind in forum Developer Help
    Replies: 1
    Last Post: 2006-04-14, 12:36 AM
  5. BUG: Soap Call get_entry_list()
    By StephaneZ in forum Developer Help
    Replies: 2
    Last Post: 2005-10-30, 03:37 AM

Tags for this Thread

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
  •