AnsweredAssumed Answered

Get list of all Boomi process using Apex in salesforce

Question asked by fpardeep455682 on Apr 12, 2016
Latest reply on Apr 21, 2016 by fpardeep455682

I want to pull name of my boomi processes using Apex code in Salesforce.

 

I am using Httprequest but getting the 401 response. 

 

       Http httpProtocol = new Http();

        HttpRequest request = new HttpRequest();

        String body='';

        String query;

        query = '';

        request.setMethod('POST');

        //request.setEndPoint(System.Label.Sales_sb2+ '/getProcess');

        request.setEndPoint('https://api.boomi.com/account/MYACCOUNTID/container/ATOMID/processes');

        request.setBody(query);

        request.setTimeout(20000);

        HttpResponse response = httpProtocol.send(request);

        system.debug('response =='+response );

 

I would appreciate if you anyone share the steps to access Boomi from salesforce.

Outcomes