You can do this by concatenating the URLs of the different lists you want to retrieve data from and making one GET request to that combined URL.
You can also use the $expand query parameter to retrieve data from multiple lists related to a specific list in a single GET request.
For example, if you want to retrieve data from lists A, B, C, and D in one GET request, you can make a GET request to the following URL:
https://your-site-url/_api/web/lists/getbytitle('A')/items?$expand=B,C,D
No comments:
Post a Comment
Thanks!