Forum Discussion

ClaireBear's avatar
ClaireBear
Helper I
4 years ago
Solved

JSON web API change end date (To=) to today

Please assist if possible,
I have connected to an API via the web connecter. When i try to change the "to" date (end date) to "Today" in Advanced Editor, i get an error. 
How would i manipulate the date below to pull in today's date as the end date?

let

    Source = Json.Document(Web.Contents("https://customer-va.call.com/callmetrics/table/jsonStatsApi.do?queues=*&from=2020-01-01.00:00:00&to=2022-04-12.23:59:59&block=Details.Calls1")),

Thank you

1 Reply