Hi,
I don’t think this change is necessary.
You have defined your entry as
function custom_setEntry($session, $user_id, $module_name, $nameValueList)
and you call it with
rest_data:{"session":"cl0ki83cnb0r8dd3oqr549aams","user_id":"1","module_name":"Calls_Reschedule","name_value_list":[{"name":"call_id","value":"3e372359-ea80-10f6-a7d5-6576fab952ae"},{"name":"reason","value":"In a Meeting"}],"recordId":"3e372359-ea80-10f6-a7d5-6576fab952ae"}
If you had defined your entry with
function custom_setEntry($session, $user_id, $module_name, $name_value_list)
it is very likely it would have worked