title: Yii2 Rest API Batch update and filtering
body: <ol>
  <li><p>I am looking to implement batch insert and update in my Yii2 Rest API.</p>
  
  <p>For single record updation, I am using the Rest API call as</p>
  
  <p><a href="https://xxxxxx.com/api/web/v1/contacts/update/1" rel="nofollow noreferrer">https://xxxxxx.com/api/web/v1/contacts/update/1</a> . It wil update the record with ID = 1</p>
  
  <p>But Now I want to update multiple records with a single API call.How to call the API for that?</p></li>
  <li><p>For data filtering I am using </p>
  
  <p><a href="https://xxxxxx.com/api/web/v1/contacts?filter[contact_name][like]=sa" rel="nofollow noreferrer">https://xxxxxx.com/api/web/v1/contacts?filter[contact_name][like]=sa</a> to filter contact name.
  If I want to filter the data by id like ID in [1,2,3],How can i do that?</p>
  
  <p>Please let me know the work around for these two challenges.</p>
  
  <p>Thank you</p></li>
  </ol>