I am placing a record in the database to be sent by mail using the record insert API, the record is added to the DB but the mail is not sent, which I still need to add for the mail to go out.
Url: https://my.shop.com/web/dataset/call_kw
Json:
{
"jsonrpc":"2.0",
"method":"call",
"params":{
"context":{},
"model":"mail.notification",
"method":"create",
"args":[{
"mail_message_id":1901,
"res_partner_id":21,
"notification_type":"email",
"notification_status":"ready"
}],
"kwargs":{
"context":{}
}
}
}