Hi,
we are working on an interface with a system that has a rather stubborn API. At the moment I am trying to get qoutes as PDF and store them under a sale. The API has an endpoint for this and returns a json with base64 encoded PDF which is nice.
However the method used is PRINT. In RestSharp a request would look something like
var client = new RestClient("https://server/api/rest/data/offerte/43");
var request = new RestRequest(Method.PRINT);
IRestResponse response = client.Execute(request);
In CRMScript I only have delete, patch, post and get as far as I know. Like
HTTP httpClass;
httpClass.addHeader("Content-Type", "application/json");
NSStream responseAsStream = httpClass.getAsStream(url); //here's a problem...
String rawJSONResponse = String(responseAsStream);
Is there something I missed or is this not possible?
Thanks,
Rob Jansen