email_mp = Map();
email_mp.put("from",{"user_name":"xyz","email": zoho.loginuserid});
email_mp.put("template",{"id":"3205780000169019326"});
info email_mp;
email_mp_list = List();
email_mp_list.add(email_mp);
final_mp = {"data":email_mp_list};
esp = invokeurl
[
type :POST
parameters:final_mp + ""
connection:"zohocrmnew"
];
info Resp ;
However, it return an error that
Now, the template that I am trying to send is from emails, like shown in the picture below:
Can somone please tell me a way on how can I do this?
I have been following this link but its so confusing and I am unable to understand it at all.
Many Thanks,
Maaz Ansari