Hi I want to connect Aware to an Multitenant system.
In the REST service you need to enter an base urel like: https://prd.learnlinq.com/WebAPI/v1/Cultures
But in my case, the base url can vary like:
https://CustomerA.learnlinq.com/WebAPI/v1/Cultures
https://CustomerB.learnlinq.com/WebAPI/v1/Cultures
https://CustomerC.learnlinq.com/WebAPI/v1/Cultures
Is there a way to change the base URL form within a process each time I run the process? So depending on the user it has to write or read data from different Base URL's..
Tia Rob
REST Service Base URL
REST Service Base URL
Using 8.7 Professional 3025 on MySQL/Windows
Re: REST Service Base URL
is it really learnlinq ?
I can't find info about their API
the REST setup makes you enter a BASE URL, and you can only alter stuff AFTER it (via parameters).
I was trying to find another method in their docs to help you, but cant find the docs.
Hopefully they have a v2
jaymer...
I can't find info about their API
the REST setup makes you enter a BASE URL, and you can only alter stuff AFTER it (via parameters).
I was trying to find another method in their docs to help you, but cant find the docs.
Hopefully they have a v2
jaymer...
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.
Jaymer
Aware Programming & Consulting - Tampa FL
Jaymer
Aware Programming & Consulting - Tampa FL
Re: REST Service Base URL
Using 8.7 Professional 3025 on MySQL/Windows
Re: REST Service Base URL
i see.
Set your BASE URL = "https:/" <-- notice only 1 slash
and then in your parameter string, build the entire required URL.
Using a new feature in the latest 2466 build, AIM no longer inserts the "?" divider between the BaseURL and the Parameters
.... IF your parameter starts with a "/"
So, you'll need to build a string like:
"/CustomerA.learnlinq.com/WebAPI/v1/Cultures"
then it should combine at runtime and be fine.
Set your BASE URL = "https:/" <-- notice only 1 slash
and then in your parameter string, build the entire required URL.
Using a new feature in the latest 2466 build, AIM no longer inserts the "?" divider between the BaseURL and the Parameters
.... IF your parameter starts with a "/"
So, you'll need to build a string like:
"/CustomerA.learnlinq.com/WebAPI/v1/Cultures"
then it should combine at runtime and be fine.
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.
Jaymer
Aware Programming & Consulting - Tampa FL
Jaymer
Aware Programming & Consulting - Tampa FL
Re: REST Service Base URL
Thanks Jaymer, this works and solved a showstopper for me.
Rob
Rob
Using 8.7 Professional 3025 on MySQL/Windows
Re: REST Service Base URL
In the next day or so, the next Build will allow us to use a variable as the BASE URL, so if you DO have to use the parameter string in the future, you'll be able to calculate the URL (based on your tenant) AS WELL AS dynamically building the Parms. Right now, you can't do both if you need to send the data from an object (like a JSON string).
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.
Jaymer
Aware Programming & Consulting - Tampa FL
Jaymer
Aware Programming & Consulting - Tampa FL
Re: REST Service Base URL
Hi Jaymer,
Ok thanks for your info. What do you exactly mean with 'a day or so'? Is this really a few days?
That I cannot use it both is a showstopper for me...
Ok thanks for your info. What do you exactly mean with 'a day or so'? Is this really a few days?
That I cannot use it both is a showstopper for me...
Using 8.7 Professional 3025 on MySQL/Windows
Re: REST Service Base URL
Like now. Build has been released
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.
Jaymer
Aware Programming & Consulting - Tampa FL
Jaymer
Aware Programming & Consulting - Tampa FL
Re: REST Service Base URL
Ok, thats super ! Thanks and I will download this version
Using 8.7 Professional 3025 on MySQL/Windows