0

Is it possible to convert complex CAML query to OData filters so that I can use them in REST APIs? Some CAML queries have nested condition and multiple values to be passed in IN operator. Also, sometimes, these CAML queries will have to be dynamically generated. How can we convert these queries to OData filters?

1 Answer 1

0

You can pass your CAML query to this endpoint:

http://<sitecollection>/<site>/_api/web/lists(listid)/getItems(query)

For low level details, refer this answer

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.