Quantcast
Channel: Power Query topics
Viewing all articles
Browse latest Browse all 31265

Parameters for SON API data - Maintain Query daily

$
0
0

How can I maintain a report from a JSON API service when the JSON URL I am using is parameterized and needs to be updated to retrieve new data.

 

The current working URL I have is Source = Json.Document(Web.Contents("https://api.tatts.com/sales/vmax/web/data/racing/2017/4/12/sr/full")),

 

The api as described here(http://media.tatts.com/documentations/IData/IData.html#Data/Racing) follows this pattern

 

data/racing/{year}/{month}/{day}/{meetingcode}/full

 

where I need the users to be able to put in a date or choose from available dates and supply or use a dropdown (like excel data validation lists) to choose the meeting code.

 

Manually editing the query in the advanced editor didn't work how do I achieve this?

data/racing/{year}/{month}/{day}/{meetingcode}/full


Viewing all articles
Browse latest Browse all 31265

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>