** Solution : Case sensitive of custom module name **
Hi All,
I tried to use of API to establish LEAD / ACCOUNT modules and success to receive the insert the records in there.
However, when I use the API to insert the data to custom module but return the JSON error as the below.
{"name":"Module Does Not Exist","number":20,"description":"This module is not available on this server"}
suiteCRM version : Version 7.11.22
Platform : XAMPP + Win10Pro
API version : V4_1
[Custom module information]
Package: z_master
key: ZDT
module name : in_mscode
field: name, z_curr, z_curr_value
Status : Deployed
Which part is wrong for the statement?
[Syntax 1]
http://xxx.xxx.xxx.xxx/xxxx/service/v4_1/rest.php?method=set_entry&input_type=JSON&response_type=JSON&rest_data={"session":"xxxxxxxxx","module_name":"in_mscode","name_value_list":{"name":"20220808-J-AZ","z_curr":"CNY","z_curr_value":15.283}
[Syntax 2]
http://xxx.xxx.xxx.xxx/xxxx/service/v4_1/rest.php?method=set_entry&input_type=JSON&response_type=JSON&rest_data={"session":"xxxxxxxxx","module_name":"zdt_in_mscode","name_value_list":{"name":"20220808-J-AZ","z_curr":"USD","z_curr_value":12.345}
[CORRECTION]
http://xxx.xxx.xxx.xxx/xxxx/service/v4_1/rest.php?method=set_entry&input_type=JSON&response_type=JSON&rest_data={"session":"xxxxxxxxx","module_name":"ZDT_in_mscode","name_value_list":{"name":"20220808-J-AZ","z_curr":"USD","z_curr_value":12.345}