You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Why the created pdf file attachment is not opening which is created using REST...

Received Response
23
Views
2
Comments
edited May 8, 2018 12:04PM in Integrations and APIs 2 comments

Content

Hi All,



I am trying to add pdf attachment against the existing incident using REST API. I referred https://cloudcustomerconnect.oracle.com/posts/fe78356531 post.



URLhttps://my_site--tst1.custhelp.com/services/rest/connect/v1.3/incidents/1059/fileAttachments



Request: {

       "contentType":"application/pdf",

        "fileName":"SamplePdfFile.pdf",

        "data":"c2FtcGxlIGNvbnRlbnQgZm9yIGZpbGUgYXR0YWNobWVudA=="

}



Response: Success Response



When I tried to open the created attachment file against incident (incident worksapce) its showing "failed to load pdf document".



 



Can I create PDF file from REST API?



Please let me know what could be the issue? 



 



Thanks in advance,



~S.Saravanan

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!