Rest API Batch Update

developer sp1 461 Reputation points
2021-03-09T08:09:08.197+00:00

Currently, I'm passing Item Id into Rest to update a single list item.

But is there any way to update multiple list items together in one request ?

Is this possible ?

SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,575 questions
0 comments No comments
{count} votes

Accepted answer
  1. Jerryzy 10,566 Reputation points
    2021-03-10T02:23:17.763+00:00

    Hi @developer sp1 ,

    Yes, there is a BatchUtils library in GitHub which could support bacth update in SharePoint Online(SharePoint On-Premise 2016 or later On-Premise version):

    BatchUtils.ts

    You can save as the library as .js file and store into a library, then use the code snippet below:

    76072-snipaste-2021-03-10-10-22-22.png

    76073-code.txt

    Reference:

    SharePoint Online Batch API Request For Bulk CRUD Operation

    Thanks
    Best Regards

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful