I have multiple itemIds, and I like to get the actual items using these itemids in just a single request, is that possible? I know about getListItem() method but that would use only 1 itemid, hence will return only actual item itself. I'm trying to avoid sending multiple requests per item id.

  • You can post your code what you have tried and we can convert that or provide a better solution then. – harshal gite Oct 28 '19 at 8:12
  • Did you try with below solution? Is that solve your problem? – Md. Nizam Uddin Mahmud Oct 28 '19 at 13:37

You can build a caml query with "IN" operator and pass it to the GetItems method


Operator has a limitation of 500 items but you can use a workaround with ORs:

CAML query limitation of values in IN operator


Yes you can filter with multiple IDs. In your filter, query items like this:
ID eq 1 or ID eq 2 or ID eq 3...
But there is a limitation if you have too many IDs then it will not work.

If the answer is helpful, please upvote and mark as accepted.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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