Rest API parameter

I want to use rest api v4_1. i create new rest api follow this link: http://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_7.9/Integration/Web_Services/v1_-_v4.1/Examples/REST/PHP/Creating_or_Updating_a_Record/ .I create lead module. new lead module was created but, record value; like first_name, last_name,etc. are not submitted in database. How I can fix this?

Did you build the data array correctly?

Ok I use set_entries method and it’s succeed.

But When I use get_entry_list method like php code below(link), the name_value_list array has not shown. How can I fix this?

http://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_7.9/Integration/Web_Services/v1_-_v4.1/Examples/REST/PHP/Retrieving_a_List_of_Records/

Adrian,
how does the array look like that you send?
Val

maretval,
This is array that I send. How can I Fix that? Thank you for your help.

Adrian,
I analyzed the code and found a bug in the default rest service when using PHP7.
I fixed it and pushed changes to public repository.
Please download and overwrite following files:
FixServiceCore_AfterRelease_20170900

Val