Toggle menu

getListItem

Description

Retrieves a specific list item in a SharePoint list.

Parameters

NameTypeDescription
listTitleStringThe title of the list that contains the list item. Exactly one of listTitle or listUrl must be specified
listUrlStringThe relative server URL of the list that contains the list item. Exactly one of listTitle or listUrl must be specified
listItemIdInteger, requiredThe ID of the list item to retrieve
authDetailsObject, optionalThe authDetails set in the worker configuration to use. If not set the request will use the default authDetails
authDetails.identifierStringThe identifier of authDetails set in the worker configuration
authDetails.authTypeStringThe authType of authDetails set in the worker configuration
returnPropertiesArray <strings>, optionalAn array of strings containing the properties you want to retrieve. If this isn't specified, then all properties will be returned

Example

{
    "id": "123",
    "jsonrpc": "2.0",
    "method": "getListItem",
    "params": {
        "listTitle": "GossTest",
        "listItemId": 25,
        "returnProperties": ["Name", "Organisation"]
    }
}

Last modified on 27 June 2023

Share this page

Facebook icon Twitter icon email icon

Print

print icon