AnsweredAssumed Answered

Is time considered when filtering by date using Sugar API?

Question asked by Yury Voloshin on Oct 22, 2018
Latest reply on Oct 25, 2018 by Yury Voloshin

I'm trying to filter records by date using an API call like this:

"/rest/v11/RevenueLineItems?filter[0][date_modified][$gte]=" + date

The date variable is originally a timestamp, but so far I've had to separate out the time part and only use the date because the filter would not consider the time when making comparisons. Can anyone tell me if the most recent versions of the API (11.1 and 11.2) can filter by timestamp (taking hours and minutes into account), instead of just by date? Where can I find this information?

Thanks,

 

Yury

Outcomes