iref2010
08-06-2016, 04:38 AM
Hi Guys,
I am writing to create new topic and user from python script. I am able to get the user and topic info using API's but I am facing issue with POST API namely "user.save"(INSERT or UPDATE
user). The error which I am getting is "[["fieldmissing_email"]]" and my
parameters looks like
{"userid": 0, "password": "test123","user[]":[{"username": "test", "email":"test.test@test.com"}], "options[]": [ {"showAvatar": 1}], "adminoptions[]": [{"canviewmembers":True}], "userfield[]":[{"showavatars": 1}], "notificationOptions[]": [], "hvinput[]": [], "extra[]": [] }
I am not familiar with php so can anyone help me how to pass parameters to API's to get this task done. One example will do.
Also, when I try to update title in node table from mysql, it is not reflected on forum. I have updated title,htmltitle, description in node table and also rawtext in text table but still no success.
I am writing to create new topic and user from python script. I am able to get the user and topic info using API's but I am facing issue with POST API namely "user.save"(INSERT or UPDATE
user). The error which I am getting is "[["fieldmissing_email"]]" and my
parameters looks like
{"userid": 0, "password": "test123","user[]":[{"username": "test", "email":"test.test@test.com"}], "options[]": [ {"showAvatar": 1}], "adminoptions[]": [{"canviewmembers":True}], "userfield[]":[{"showavatars": 1}], "notificationOptions[]": [], "hvinput[]": [], "extra[]": [] }
I am not familiar with php so can anyone help me how to pass parameters to API's to get this task done. One example will do.
Also, when I try to update title in node table from mysql, it is not reflected on forum. I have updated title,htmltitle, description in node table and also rawtext in text table but still no success.