Hello,
I m getting the following error while calling an action in Dynamics 365 9.0 version
Request message has unresolved parameters
Here is the code.
var parameters = {
"entityRecordId" : "4232901b-2fc5-e711-a898-0022480173bb",
"entityLogicalName" : "opportunity"
};
var req = new XMLHttpRequest();
req.open("POST", "https://org.crm.dynamics.com/.../Microsoft.Dynamics.CRM.new_OpportunityUpdate", true);
req.setRequestHeader("OData-MaxVersion", "4.0");
req.setRequestHeader("OData-Version", "4.0");
req.setRequestHeader("Accept", "application/json");
req.setRequestHeader("Content-Type", "application/json; charset=utf-8");
req.onreadystatechange = function () {
if (this.readyState === 4) {
req.onreadystatechange = null;
if (this.status === 204) {
} else {
var errorText = this.responseText;
}
}
};
req.send(JSON.stringify(parameters));
*This post is locked for comments