I construct my REST calls in Obj-C (for iOS), using a library called ASIHTTPRequest. So far i had no problems merging all required strings and getting a valid JSON element, which i then send in the POST request.
All I currently try to send is the following:
Code:
[request setPostValue:@"get_entry_list" forKey:@"method"];
[request setPostValue:@"JSON" forKey:@"input_type"];
[request setPostValue:@"JSON" forKey:@"response_type"];
[request setPostValue:jsonData forKey:@"rest_data"];
The jsonData variable contains the JSON formatted string, which, when logged on the server side, equates to the following:
Code:
{"session":"829d471340d621dbd3858ebaf7890f78","module_name":"Accounts","query":"accounts.assigned_user_id = '1'","order_by":"name","limit":"0","select_fields":{"["name","billing_address_city","billing_address_country"]"}} I already tracked the data through the PHP files of the Sugar Rest Service, it definitely gets send over, but is then lost somewhere before the get_entry_list function of the SugarWebServiceImpl gets called.
The main thing I don't get is, what might have changed between version 5.5 and 6.2?
Thanks for your time!
Bookmarks