Results 1 to 2 of 2

Thread: Rest API : problems with 6.2 and 6.3

  1. #1
    bluquet is offline Member
    Join Date
    Mar 2009
    Location
    France
    Posts
    7

    Default Rest API : problems with 6.2 and 6.3

    Hi,

    We have been using REST Api successfuly with SugarCRM CE 6.0 an 6.1

    With 6.2 and 6.3 wa have now issues with get_entry_list.

    The query parameters are :
    input_type JSON
    method get_entry_list
    response_type JSON
    rest_data {"session":"eqrp9u9es706rlqhhcvcsnthh1","module_na me":"Contacts","query":" contacts.assigned_user_id = 'seed_max_id'","order_by":"last_name","offset":0," select_fields":["first_name","last_name","account_name","title "],"link_name_to_fields_array":["name":"accounts_contacts","value":["id","name"]],"max_results":20,"deleted":0}

    That worked fine with 6.0 and 6.2. Now, we get "invalid session id" and the error log shows:

    [Thu Jan 19 14:14:31 2012] [error] [client 193.251.72.33] PHP Warning: Missing argument 2 for SugarWebServiceImpl::get_entry_list() in /var/www/html/test/sugar62/service/core/SugarWebServiceImpl.php on line 159, referer: CRM Open Source Business & Social CRM Software - SugarCRM

    [Thu Jan 19 14:14:31 2012] [error] [client 193.251.72.33] PHP Warning: Missing argument 2 for SugarWebServiceImpl::get_entry_list() in /var/www/html/test/sugar62/service/core/SugarWebServiceImpl.php on line 159, referer: CRM Open Source Business & Social CRM Software - SugarCRM
    etc...

    Is it a regression in SugarCRM 6.2/6.3 or should we need to update our code?

    Thanks in advance,

  2. #2
    GregoryCollett is offline Sugar Community Member
    Join Date
    Oct 2011
    Location
    UK, London
    Posts
    15

    Default Re: Rest API : problems with 6.2 and 6.3

    Hello bluqyet,

    Which version of the service are you using?
    Which language are you programming in?

    Regards,
    Greg

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Rest API : problems with 6.2 and 6.3
    By bluquet in forum Developer Help
    Replies: 4
    Last Post: 2012-02-01, 12:05 PM
  2. Rest API and Actionscript 3 example
    By undercoder in forum Developer Help
    Replies: 0
    Last Post: 2011-06-14, 09:30 AM
  3. REST and JSONP
    By AndyMain in forum Developer Help
    Replies: 2
    Last Post: 2011-05-26, 10:13 AM
  4. Using REST
    By bazdgs in forum Developer Help
    Replies: 1
    Last Post: 2011-03-21, 09:08 AM
  5. Rest in C#
    By geraldclark in forum Developer Help
    Replies: 8
    Last Post: 2010-10-26, 02:33 AM

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
  •