Hello,
I want to download FAX attachment. I got the attachment URI (e.g. http://media.ringcentral.com/.....), but when I call that uri through JS, it give's me some long string (like "JVBERi0xLjMKJeLjz9MKMSAwIG9iaiAKPDwK....."). When I try yo decode that code, It shows me some text and a Unicode. below is the sample code.
platform.get('/account/~/extension/~/message-store?messageType=Fax&dateFrom=2017-03-16T01:00:00.000Z&direction=Inbound').then(function(response) {
var abcd = "";
$records = response.json().records;
platform.get('https://media.ringcentral.com/restapi/v1.0/account/~/extension/[EXT-ID]/message-store/[ATTACHMENT-ID...{
abcd = response1;
});
Please advice ASAP.