C4C Webs REST service for uploading Attachment toopen-text

Hello Team,

 

I am using Web service integration with REST service for open text communication. Where  we need to  upload  file from C4C to open text. In postman i have used Form-data as a Body and added few of the fields and File with type file and uploading the required file with POST request. Could you please help me , how to maintain my file in Body of C4C . Where i am facing issue because body is asking for string data type and file is in binary format. I have used.Tostring() to convert binary to string but , i am getting an error as “{“error”:”The parameter u0027typeu0027 is required for the u0027createu0027 operation”}” in C4C.

Thanks and Regards,

Harini

Scroll to Top