Extract time entries within a daterange
I am attempting to extract all time entries within a date range using the API. I am following the instructions on the page/location (http://apideveloper.dovico.com/TimeEntries#Date Range Filter (with Get Time Entries)) but it throws an error of version is not recognised. When I switch the params daterange and version I get daterange is not recognised.
I have tried to use %20, + and a space to delimit the date but in all cases the Curl failes. Anyone got any ideas what I'm doing wrong?
curl -H "Authorization: WRAP accesstoken=""client=xyz&usertoken=xyz""" -k https://api.dovico.com/TimeEntries/?daterange=2013-01-01%202013-01-31&version=2
All you have to do to fix the issue is surround the following web address with double quotes. (“https://api.dovico.com/TimeEntries/?daterange=2013-01-01%202013-01-31&version=2”)