Sign in to Community
Sign in to view all badges
I am wondering is there a way I can pass the date range through a query string ?
So that I can have bookmarks or auto generated links ?
e.g something like relative dates:
You cannot create custom date ranges using API. However, you may create one in the UI and use it in APIs to pull data for the custom date range.
if there is no way to do this directly can we create custom named date ranges via API ?
You cannot pass date range in query strings. The solution would be to use a relative date (Yesterday, Last Week, This Month etc) and create a book mark for the report. You can also use custom date ranges.