Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
marjan_it
Creator III
Creator III

get data from api with qv rest connector

Hi

I have a api that I want that get a static date range 

module=API&method=MultiSites.getAll&period=range&date=2020-3-20,2020-3-21&format=JSON&token_auth=USER_TOKEN

I want to change the date range to a dynamic date with date(now()-2) and date(now())

what should I do?

Labels (2)
1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

You can use variables to store the dates and use the variables in Query parameters. You can find an example here: https://community.qlik.com/t5/New-to-Qlik-Sense/How-to-make-URL-dynamic-in-REST-connection/m-p/16651...


talk is cheap, supply exceeds demand

View solution in original post

1 Reply
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

You can use variables to store the dates and use the variables in Query parameters. You can find an example here: https://community.qlik.com/t5/New-to-Qlik-Sense/How-to-make-URL-dynamic-in-REST-connection/m-p/16651...


talk is cheap, supply exceeds demand