cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
fabianhenzler Frequent Visitor
Frequent Visitor

Pull data from REST API with oAuth-Token in the Header requried

I need to pull data from a SugarCRM v10 REST API and they require a "OAuth-Token" in Header. How can I do this? Is there a M Script necessary? Any introduction or tutorial someone has to offer? 

1 ACCEPTED SOLUTION

Accepted Solutions
fabianhenzler Frequent Visitor
Frequent Visitor

Re: Pull data from REST API with oAuth-Token in the Header requried

So in case of the SugarCRM REST API you can pass the OAuth-Token as URL parameter

bbhttps://company.sugaropencloud.eu/rest/v10/Accounts?OAuth-Token=4efff6d1-41b7-caa2-00c7-5751000905fb&offset=0

4 REPLIES 4
fabianhenzler Frequent Visitor
Frequent Visitor

Re: Pull data from REST API with oAuth-Token in the Header requried

So in case of the SugarCRM REST API you can pass the OAuth-Token as URL parameter

bbhttps://company.sugaropencloud.eu/rest/v10/Accounts?OAuth-Token=4efff6d1-41b7-caa2-00c7-5751000905fb&offset=0

cousinlarry Regular Visitor
Regular Visitor

Re: Pull data from REST API with oAuth-Token in the Header requried

Any idea on how to refresh the token from within PowerBI? It expires after some time....

cactus Frequent Visitor
Frequent Visitor

Re: Pull data from REST API with oAuth-Token in the Header requried

Hi @fabianhenzler, did you manage to connect SugarCRM and PowerBI? Can you share how did you set up the token?

cactus Frequent Visitor
Frequent Visitor

Re: Pull data from REST API with oAuth-Token in the Header requried

Hi @fabianhenzler, can you share how did you set up the token? I couldn't manage the connection to work..

Helpful resources

Announcements
Back to School Contest

Back to School Contest

Engage and empower students with Power BI!

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Summit Australia 2019

Summit Australia 2019

Travel to Melbourne and network with thousands of peers!

Top Ideas
Users Online
Currently online: 175 members 2,552 guests
Please welcome our newest community members: