how to create ticket using vtiger CRM web service -


i trying use docreate method in vtiger crm web services using java ws client.

when have tried create faq

map valuemap = new hashmap();     valuemap.put("faqstatus", "draft");     valuemap.put("question", "this ws client question");     valuemap.put("faq_answer", "this ws client answer");      jsonobject result = client.docreate("faq", valuemap); 

no error return in console result null..

what may issue. how resolve null.

try adding element faqcategories hashmap. json representation works me:

{ "faqcategories" : "general", "faqstatus" : "draft", "question" : "how that?", "faq_answer" : "this how that" }

without adding faqcategories, postman result creation request of new entity "malformed json"


Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -