Hi @Gopalan
We are not getting any error message.
RESULT:
{
"@odata.context": "https://test.com/api/data/v8.0/$metadata#emails(statecode,_regardingobjectid_value,statuscode,description,createdon,subject,directioncode,_ownerid_value,modifiedon,prioritycode,_transactioncurrencyid_value,_modifiedby_value,actualstart,activitytypecode,deliveryprioritycode,_createdby_value,sw_actiontypeid,activityid,actualdurationminutes,email_activity_parties)",
"value": [
{
"@odata.etag": "W/\"21162999\"",
"statecode@OData.Community.Display.V1.FormattedValue": "Open",
"statecode": 0,
"_regardingobjectid_value@Microsoft.Dynamics.CRM.associatednavigationproperty": "regardingobjectid_incident_email",
"_regardingobjectid_value@Microsoft.Dynamics.CRM.lookuplogicalname": "incident",
"_regardingobjectid_value@OData.Community.Display.V1.FormattedValue": "SM CT June05 Test012 SHIELD ",
"_regardingobjectid_value": "762f3fd2-ea49-e711-80fd-5065f38bc301",
"statuscode@OData.Community.Display.V1.FormattedValue": "Draft",
"statuscode": 1,
"description": "sfsfsdfsdfsd",
"createdon@OData.Community.Display.V1.FormattedValue": "06/06/2017 11:56",
"createdon": "2017-06-06T06:26:45Z",
"subject": "Email test",
"directioncode@OData.Community.Display.V1.FormattedValue": "Outgoing",
"directioncode": true,
"_ownerid_value@Microsoft.Dynamics.CRM.lookuplogicalname": "systemuser",
"_ownerid_value@OData.Community.Display.V1.FormattedValue": "Swapna Manoj",
"_ownerid_value": "490fab75-dcf1-e611-80fe-5065f38b0491",
"modifiedon@OData.Community.Display.V1.FormattedValue": "06/06/2017 11:57",
"modifiedon": "2017-06-06T06:27:16Z",
"prioritycode@OData.Community.Display.V1.FormattedValue": "Normal",
"prioritycode": 1,
"_transactioncurrencyid_value@Microsoft.Dynamics.CRM.associatednavigationproperty": "transactioncurrencyid_email",
"_transactioncurrencyid_value@Microsoft.Dynamics.CRM.lookuplogicalname": "transactioncurrency",
"_transactioncurrencyid_value@OData.Community.Display.V1.FormattedValue": "UK Pound Sterling",
"_transactioncurrencyid_value": "901c0ef6-140e-e411-b46d-2c59e541ad14",
"_modifiedby_value@Microsoft.Dynamics.CRM.lookuplogicalname": "systemuser",
"_modifiedby_value@OData.Community.Display.V1.FormattedValue": "Swapna Manoj",
"_modifiedby_value": "490fab75-dcf1-e611-80fe-5065f38b0491",
"actualstart@OData.Community.Display.V1.FormattedValue": "06/06/2017",
"actualstart": "2017-06-06T06:26:45Z",
"activitytypecode@OData.Community.Display.V1.FormattedValue": "Email",
"activitytypecode": "email",
"deliveryprioritycode@OData.Community.Display.V1.FormattedValue": "Normal",
"deliveryprioritycode": 1,
"_createdby_value@Microsoft.Dynamics.CRM.lookuplogicalname": "systemuser",
"_createdby_value@OData.Community.Display.V1.FormattedValue": "Swapna Manoj",
"_createdby_value": "490fab75-dcf1-e611-80fe-5065f38b0491",
"sw_actiontypeid@OData.Community.Display.V1.FormattedValue": "Acknowledgement of Chase",
"sw_actiontypeid": 266880001,
"activityid": "1d71a518-814a-e711-80fe-5065f38bc341",
"actualdurationminutes@OData.Community.Display.V1.FormattedValue": "30",
"actualdurationminutes": 30,
"email_activity_parties": [
{
"@odata.etag": "W/\"21162990\"",
"_partyid_value@Microsoft.Dynamics.CRM.associatednavigationproperty": "partyid_queue",
"_partyid_value@Microsoft.Dynamics.CRM.lookuplogicalname": "queue",
"_partyid_value@OData.Community.Display.V1.FormattedValue": "VOMain Email",
"_partyid_value": "9d44d103-b9cc-e411-80f6-c4346bad20a4",
"_activityid_value@Microsoft.Dynamics.CRM.associatednavigationproperty": "activityid_activitypointer",
"_activityid_value@Microsoft.Dynamics.CRM.lookuplogicalname": "activitypointer",
"_activityid_value": "1d71a518-814a-e711-80fe-5065f38bc341",
"activitypartyid": "1f71a518-814a-e711-80fe-5065f38bc341",
"participationtypemask@OData.Community.Display.V1.FormattedValue": "Sender",
"participationtypemask": 1,
"_ownerid_value@Microsoft.Dynamics.CRM.lookuplogicalname": "systemuser",
"_ownerid_value": "490fab75-dcf1-e611-80fe-5065f38b0491",
"instancetypecode@OData.Community.Display.V1.FormattedValue": "Not Recurring",
"instancetypecode": 0,
"ispartydeleted@OData.Community.Display.V1.FormattedValue": "No",
"ispartydeleted": false,
"addressusedemailcolumnnumber@OData.Community.Display.V1.FormattedValue": "5",
"addressusedemailcolumnnumber": 5,
"addressused": "voltdev@securitywatchdog.org.uk"
},
{
"@odata.etag": "W/\"21162993\"",
"donotemail@OData.Community.Display.V1.FormattedValue": "Allow",
"donotemail": false,
"_partyid_value@Microsoft.Dynamics.CRM.associatednavigationproperty": "partyid_contact",
"_partyid_value@Microsoft.Dynamics.CRM.lookuplogicalname": "contact",
"_partyid_value@OData.Community.Display.V1.FormattedValue": "BK3 D3",
"_partyid_value": "12c01c16-290e-e711-80f9-5065f38b6471",
"_activityid_value@Microsoft.Dynamics.CRM.associatednavigationproperty": "activityid_activitypointer",
"_activityid_value@Microsoft.Dynamics.CRM.lookuplogicalname": "activitypointer",
"_activityid_value": "1d71a518-814a-e711-80fe-5065f38bc341",
"activitypartyid": "2271a518-814a-e711-80fe-5065f38bc341",
"donotpostalmail@OData.Community.Display.V1.FormattedValue": "Allow",
"donotpostalmail": false,
"participationtypemask@OData.Community.Display.V1.FormattedValue": "BCC Recipient",
"participationtypemask": 4,
"_ownerid_value@Microsoft.Dynamics.CRM.lookuplogicalname": "systemuser",
"_ownerid_value": "490fab75-dcf1-e611-80fe-5065f38b0491",
"instancetypecode@OData.Community.Display.V1.FormattedValue": "Not Recurring",
"instancetypecode": 0,
"donotphone@OData.Community.Display.V1.FormattedValue": "Allow",
"donotphone": false,
"ispartydeleted@OData.Community.Display.V1.FormattedValue": "No",
"ispartydeleted": false,
"addressusedemailcolumnnumber@OData.Community.Display.V1.FormattedValue": "42",
"addressusedemailcolumnnumber": 42,
"donotfax@OData.Community.Display.V1.FormattedValue": "Allow",
"donotfax": false,
"addressused": "g@test.com"
},
If you try to retrieve email records in CRM v8.2, we don't find the CC and BCC Fields data but we can see To and From fields details. This above WEB API result is from CRM V8.0