Service-REST with excel attachments
Hi,
I am trying to implement a solution where we create Service-REST rule, and in the request, we get Excel file. This excel file should then be read and converted into the work object.
How to read the response of REST service which has excel attachments?
I understand that once I have excel, I can use MSOParseExcel. But how will getting it from service request happen?
From your question looks like you need a Connect-REST at Pega end. Through Integration wizard when we run it for REST integration, I get follwoing error when I test the response. This means only XML or JSON response is supported currently.
"The response was not recognized as JSON or XML and cannot be saved."
Another way would be to use Java Script (ajax) to download the excel in server and then use MSOParseExcel to parse the excel file and create work object.