Description
Updates a list item in a SharePoint list.
Parameters
Name | Type | Description |
---|---|---|
listTitle | String | The title of the list that contains the list item. Exactly one of |
listUrl | String | The relative server URL of the list that contains the list item. Exactly one of |
listItemId | Integer, required | The ID of the list item to update |
listItemDetails | Object, required | An object containing the updated details for the list item. Only the values being updated need to be set |
authDetails | Object, optional | The authDetails set in the worker configuration to use. If not set the request will use the default authDetails |
authDetails.identifier | String | The identifier of authDetails set in the worker configuration |
authDetails.authType | String | The authType of authDetails set in the worker configuration |
Example
{
"id": "123",
"jsonrpc": "2.0",
"method": "updateListItem",
"params": {
"listTitle": "GossTest",
"listItemId": 27,
"listItemDetails": {
"Title": "Updated Title",
"Name": "Updated via the SharePoint worker"
}
}
}
Last modified on 27 June 2023