AnsweredAssumed Answered

When passing values in select_fields, it gives null response

Question asked by Ajay Mestry on Jul 27, 2016


I am trying to make Rest Call using get_entry method


my code


  var settings = {
  "async": true,
  "crossDomain": true,
  "url": "",
  "method": "POST",
  "headers": {
  "cache-control": "no-cache",
  "postman-token": "e85b8af0-3234-45c8-f5ec-abe8xx4d6efd",
  "content-type": "application/x-www-form-urlencoded"
  "data": {
  "method": "get_entry",
  "input_type": "json",
  "response_type": "json",
  "rest_data": "{\"session\":\"xxyyxxsmkdemnmdm1212\",\"module_name\":\"Accounts\",\"id\":\"12345-6789-1214-1234\",\"select_fields\":{},\"link_name_to_fields_array\":{ }, \"track_view\":true}"

$.ajax(settings).done(function (response) {



in above code when i pass empty array i get successful response. But when i passed array in select_fields, I get null response..

Note: I have changed my session,id,postman-token in above.. Those are not actual values.