There are two ways to specify the time using Traverse Web Services.
startTime
and endTime
parameters of applicable requests.-
). This is typically used in the startTimeExp
and endTimeExp
parameters of applicable requests. The format is:
number-unit-direction
where:
number
= any positive integerunit
= minutes, hours, days, weeks, months, yearsdirection
= ago
or fromnow
For example, to run a report for the last 24 hours:
startTimeExp = 24-hours-ago endTimeExp = now