AnsweredAssumed Answered

REST API Post request for set-enty fails when using Google REST API Client

Question asked by Sajan Patel on May 19, 2016
Latest reply on May 26, 2016 by Sajan Patel

Trying to use the Google Rest API client to test the REST API for set_entry on a custom module. It fails with no response.

 

Using base url : http://<SERVERNAME>/sugarcrm/service/v4_1/rest.php?method=set_entry&input_type=json&response_type=json

POST Request

{"session":"372bi3huqvjttuoi28l2c377t4","module_name":"LinkedAnswers", "name_value_list":{ "documentid": {"name": "documentid","value": "FAQ860"},"documenttitle": {"name" : "documenttitle","value" : "Test Document"},"documenturl": {"name" : "documenturl","value:" : "http://xxx.com"},"documentversion": {"name" : "documentversion","value" : "1.0"},"name": {"name" : "name","value" : "test"}}}

 

The result is: "The response was empty"

Outcomes