Hi Experts,
Need your help in understanding how to get the value of 'email_config' input parameter which is mandatory in "/Mail POST" API.
We couldn't find a way to get the value of 'email_config'.
Thanks,
Venkat
Hi Experts,
Need your help in understanding how to get the value of 'email_config' input parameter which is mandatory in "/Mail POST" API.
We couldn't find a way to get the value of 'email_config'.
Thanks,
Venkat
You have to call a GET on the endpoint OutboundEmailConfiguration/list and the ID will be in the result. For example, using sidecar you can call it like this:
App.api.call('get', App.api.buildURL('OutboundEmailConfiguration/list'), null, {success: function (result) {
var emailConfig = result[0].id;
}});
You have to call a GET on the endpoint OutboundEmailConfiguration/list and the ID will be in the result. For example, using sidecar you can call it like this:
App.api.call('get', App.api.buildURL('OutboundEmailConfiguration/list'), null, {success: function (result) {
var emailConfig = result[0].id;
}});
Hi Venkat,
You can check email_config IDs for your system from `outbound_email` table in your DB.
SELECT * FROM `outbound_email` where `name` = 'system' AND (`type` = 'system-override' OR `type` = 'system')
By running following SQL above you can reach these records. You would need to use `id` fields of them.
This way you would be able to send and create the records.
Hope this helps.
Best Regards
Tevfik Tümer
Developer Support Engineer
Hi Alan,
Thanks a lot for quick response !!
Request you to also help in understand what is "teams" input parameter and how do I get the primary and other teams IDs.
Regards,
Venakt