CAML Query Template

<Where>
   
<Or>
   
<Or>
   
<Or>
   
<Or>
       
<Eq>
           
<FieldRef Name=\"ID\" /><Value Type=\"Counte
\">
1</Value>
       
</Eq>
       
<Eq>
           
<FieldRef Name=\"ID\" /><Value Type=\"Counter\">2</Value>
       
</Eq>
   
</Or>
       
<Eq>
           
<FieldRef Name=\"ID\" /><Value Type=\"Counter\">3</Value>
       
</Eq>
   
</Or>
       
<Eq>
           
<FieldRef Name=\"ID\" /><Value Type=\"Counter\">4</Value>
       
</Eq>
   
</Or>
       
<Eq>
           
<FieldRef Name=\"ID\" /><Value Type=\"Counte
\">
6</Value>
       
</Eq>
   
</Or>

</
Where>

Next Recommended Reading SharePoint REST API - CAML Query