Received this on another forum:
I've been messing about with the getAccountStatementfunction lately trying to work out why it always goes back 90 days when I just want the last 24 hrs worth of activity. It seems that the function isn't passing the date range I specify as the correct variable. In the function there are these two lines to set the date range:
Received this on another forum: I've been messing about with the
getAccountStatement
function lately trying to work out why it always goes back 90 days when I just want the last 24 hrs worth of activity. It seems that the function isn't passing the date range I specify as the correct variable. In the function there are these two lines to set the date range:But according to the API docs the parameter should be called
itemDateRange
notdaterange.
Changing the parameter name speeds up the call by a lot!