Skip to main content

Sp.Sites.Lists.Items.createOneItem

POST 

/clients/:clientId/sp/sites/:siteId/lists/:listId/items

This function creates a new item in a SharePoint list using the provided properties.

Request

Responses

The createOneItem function is returning a Promise that resolves to a Sp.ListItemAddResult object. This object represents the result of adding a new item to a SharePoint list using the openSpClient and the provided properties.