Hello,
Are the To and From query parameters expected to be passed as UTC datetimes, specifically for this endpoint?
Also, the datetimes which are returned, are these also UTC datetimes?
Thanks,
MArk
Hello,
Are the To and From query parameters expected to be passed as UTC datetimes, specifically for this endpoint?
Also, the datetimes which are returned, are these also UTC datetimes?
Thanks,
MArk
Hi @MarkWalsh, the datetimes in these query params (and in the response) are YYYY-MM-DD, so when converting from full UTC, it should not have H,M,S.
For example, in python:
start = date.today()
to = date.today() - timedelta(30)
query_params = '?' + 'from=' + \
to.strftime("%Y-%m-%d") + '&' + 'to=' + start.strftime("%Y-%m-%d")