Genesys Cloud - Main

 View Only
Discussion Thread View
  • 1.  Not allowed to add attachments to newly created email

    Posted 08-14-2019 09:31
    Hi

    I'm have successfully created a copy of an email conversation but when I try to add the attachments (all stored in the cloud as I can see) from the original to the new copy, I get the following error:

    {
    "status": 403,
    "code": "forbidden",
    "message": "This feature is not enabled for this organization.",
    "contextId": "4caa4520-f4b8-4078-a5a1-5e6ef690bcdf",
    "details": [],
    "errors": []
    }

    I'm using our own ORG: NetDesign (Ireland)

    I'm calling this function:



    with this body:

    {
    "to": [
    {
    "email": "demo@tdcnetdesign.mypurecloud.ie",
    "name": ""
    }
    ],
    "from": {
    "email": "avej@netdesign.dk",
    "name": ""
    },
    "subject": "",
    "attachments": [
    {
    "attachmentId": "dbc38caa-c12e-4b65-a331-f2bbb269363c",
    "name": "Penguins.jpg",
    "contentUri": "https://api.mypurecloud.ie/api/v2/downloads/6db10c49",
    "contentType": "image/jpeg",
    "contentLength": 777835
    },
    {
    "attachmentId": "4c770fa9-c249-4fa4-add4-6349d520df2f",
    "name": "Tulips.jpg",
    "contentUri": "https://api.mypurecloud.ie/api/v2/downloads/30f699ab",
    "contentType": "image/jpeg",
    "contentLength": 620888
    }
    ],
    "textBody": ...,
    "htmlBody": ...,
    "historyIncluded": true
    }
    #DigitalChannels
    #Integrations
    #Unsure/Other

    ------------------------------
    Anders Vejen
    TDC Netdesign
    ------------------------------


  • 2.  RE: Not allowed to add attachments to newly created email

    GENESYS
    Posted 08-15-2019 13:48
    You would be better off, and more likely to get a valid response, posting this question in the Developer Forum at https://developer.mypurecloud.com.

    ------------------------------
    George Ganahl GCP (PureCloud) ICCE CCXP
    Principal Technology Consultant
    Genesys
    ------------------------------



Need Help finding something?

Check out the Genesys Knowledge Network - your all-in-one access point for Genesys resources