I am using Services module with Services Entity to provide access to ubercart orders. I have need to retrieve order list in given date range. So I am using something like this:

/rest/entity_uc_order?fields=order_id,order_status,created,uid,modified&parameters[order_status]=Completed&parameters[created]=gt:1440846679&parameters[created]=lt:1440967444&page=0&pagesize=30

All works fine except parameters[created]=lt:1440967444 and parameters[created]=gt:1440846679. I also saw issue https://www.drupal.org/node/1910294 related to RESTful Web Services, so looks like they need to provide extra support for this.

Question is, does Services support comparison parameters at all?

Comments

rakun created an issue. See original summary.

kylebrowning’s picture

Status: Active » Closed (fixed)

No, but you can use Services Views to accomplish this.