Sunday, 16 June 2019

Send Emails using WebApi in MS CRM

Send Emails using WebApi in MS CRM




This blog explains how to Send Emails using WebApi in MS CRM.

Request:

Post URL:  <your instance url>/api/data/v9.1/ emails (<guid of the email record>)/Microsoft.Dynamics.CRM.SendEmail

Header:

Content-Type: application/json

Parameter To be send in body:

ParameterValueComment
IssueSendFalseIf value is set as false, then email is market as sent only in MS CRM.
IssueSendTrueIf value is set as true, then email is sent and as well as marked as sent in MS CRM.

Body:

 {
       "IssueSend": "true"
 }

Response:

How to Fulfill Sales Order using WebApi

  You can use following code to Fulfill Sales Order using JavaScript and WebApi: JavaScript      var orderclose = {          "subjec...