SAP Knowledge Base Article - Preview

3472917 - Issues while creating email interactions over the REST API email-service

Symptom

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental. 

  • The Service Cloud V2 (SCV2) Admin using the "/sap/c4c/api/v1/email-service/emails" REST API service to post replication data to SCV2.
  • The intent is to create email interactions of emails that were already handled in other external systems.
  • Business would like for said email interactions to show up in the corresponding timelines (for example, Business Partner timelines, Agent Desktop Customer Hub timelines etc)
  • Problem - Two potential issues can occur:
    1. If the administrator is using a Technical User to send the post message to the REST API, the system returns the error:
      {
        "error": {
          "code": "emailInteraction.10040",
          "message": "No employee associated with User",
          "details": null,
          "target": null
        }
    2. In the customer's timeline in the Service Cloud UI, the Sent On date and time of emails is shown as the time of the post message, not the actual time of the "sentOn" date and time included/defined in the JSON or XML content.


Read more...

Environment

  • SAP Service Cloud Version 2 1.0
  • SAP Sales Cloud Version 2 1.0

Product

SAP Sales Cloud and SAP Service Cloud Version 2 1.0

Keywords

/sap/c4c/api/v1/email-service/emails , KBA , CEC-CRM-EML , Emails for SAP Sales/Service Cloud , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.