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