Connection string to a REST API

Stimulsoft Reports.NET discussion
Post Reply
Jennypi
Posts: 361
Joined: Mon Nov 17, 2008 7:13 am
Location: France

Connection string to a REST API

Post by Jennypi »

Hi there,

I'm trying to setup Stimulsoft so that it connects to a REST API.
Problem: I don't know how to write the connection string.

I have the url, the login and password, the token required... but I don't know how to use them!

Can you please help me by providing me with a example?

Thank you.
Lech Kulikowski
Posts: 6197
Joined: Tue Mar 20, 2018 5:34 am

Re: Connection string to a REST API

Post by Lech Kulikowski »

Hello,

Please try to use the OData data source.

Thank you.
Jennypi
Posts: 361
Joined: Mon Nov 17, 2008 7:13 am
Location: France

Re: Connection string to a REST API

Post by Jennypi »

Hi Lech,

Thank you for your reply.
That's what I'm doing, but then I'm asked to enter the connection string, which I don't know how to set up.

Can you please help me for that part?

Thank you.
Lech Kulikowski
Posts: 6197
Joined: Tue Mar 20, 2018 5:34 am

Re: Connection string to a REST API

Post by Lech Kulikowski »

Hello,

Please try to check the Build option.

Thank you.
Attachments
Annotation 2020-07-14 130805.png
Annotation 2020-07-14 130805.png (33.54 KiB) Viewed 3048 times
Jennypi
Posts: 361
Joined: Mon Nov 17, 2008 7:13 am
Location: France

Re: Connection string to a REST API

Post by Jennypi »

Much easier indeed, thanks!
Lech Kulikowski
Posts: 6197
Joined: Tue Mar 20, 2018 5:34 am

Re: Connection string to a REST API

Post by Lech Kulikowski »

Hello

We are always glad to help you!

Thank you.
Jennypi
Posts: 361
Joined: Mon Nov 17, 2008 7:13 am
Location: France

Re: Connection string to a REST API

Post by Jennypi »

Hi again,

I successfully built the connection string thanks to the wizard, but I'm getting an "401 Unauthorized" error message.
My IT departement says that this API requires a NTLM protocol authentification. Is stimulsoft able to do that? If yes, how can I set it up?

Thanks
Lech Kulikowski
Posts: 6197
Joined: Tue Mar 20, 2018 5:34 am

Re: Connection string to a REST API

Post by Lech Kulikowski »

Hello,

At the current moment, is not supported.

If you provide a test connection string, we will try to add NTLM protocol authentication supporting. You can provide it ion support@stimulsoft.com

Thank you.
navnathkalhatkar
Posts: 7
Joined: Tue Aug 24, 2021 9:28 am

Re: Connection string to a REST API

Post by navnathkalhatkar »

Hello,

I'm using a java REST API which gives me a Simple JSON response but Stimulsoft not showing any table of my requested API.
pls give a solution on how to use Odata in JAVA REST API

Thank you
Lech Kulikowski
Posts: 6197
Joined: Tue Mar 20, 2018 5:34 am

Re: Connection string to a REST API

Post by Lech Kulikowski »

Hello,

Please send your JSON for analysis.

Thank you.
Post Reply