I'm trying to query an integer field using Sitecore's OData ItemService. This is my data:

"FieldValues": {
                "$count": 3,
                "SiteName": "SiteA",
                "Min": "101",
                "Max": "175"

I used the following queries:

FieldValues/Min eq 101
FieldValues/Min lt 150
FieldValues/Min eq '101'

But neither of those return a result.

  • Try $filter=/FieldValues/field operator 101?field=Min&operator=eq. sitecoreodataitemserviceapi.docs.apiary.io/#reference/0/…
    – x3mxray
    Commented May 8, 2020 at 15:50
  • @x3mxray this threw an error An identifier was expected at position 0
    – Lala
    Commented May 11, 2020 at 4:25
  • I am looking solution for same thing. is it possible to query an integer field in Sitecore OData Commented Aug 26, 2020 at 20:05


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.