SharePoint List Item Add
Version 1
This handler creates an item for a given Sharepoint list using the REST API and basic authentication. The item to be created is passed as a JSON string, where the keys are the list item labels (Title, Due Date, etc) and the values are the values to place in those columns when the item is created. The field keys for a list can also be found by using Sharepoint List Items Retrieve to get an already created item, which can then be used to determine which keys match up with what columns. Any errors that happen during the call are caught and re-raised and the handler will return the Id of the new item after the end of a successful call.
- Make sure the SharePoint Web Services database is turned on.
Parameters
Name |
Description |
List Name |
The name of the list that the item will be added to. |
Item (JSON) |
A JSON representation of the item that should be created. |
Sample Configuration
Name |
Description |
List Name |
Sample List |
Item (JSON) |
{"Title": "Sample Title", "Random Number": 15, "Random Date": "2017-12-22"} |
Results
Name |
Description |
Id |
Id of the newly created list item |
Changelog
Sharepoint List Item Add V1 (2017-12-21)
- Initial version. See README for details.
Related Handlers
- Sharepoint Task Create
- This handler creates a new announcement in the SharePoint Tasks list
- Sharepoint Contact Create
- This handler creates a new contact in the SharePoint Contact list
- Sharepoint Discussion Board Post
- This handler creates a new post in a SharePoint Discussion Board
- Sharepoint Document Create
- This handler creates a document and then uploads it to a document library
- Sharepoint Document Upload
- This handler uploads a document to a document library
- Sharepoint Event Create
- This handler creates a new event within a SharePoint Calendar.
- Sharepoint Issue Item Add
- This handler creates a new issue in a SharePoint Issue Tracking list
- Sharepoint Link Item Add
- This handler creates a new link item in the SharePoint Links list
- SharePoint List Item Delete
- Deletes an items on a given list in SharePoint using the REST API.
- SharePoint List Item Update
- Updates an items on a given list in SharePoint using the REST API.
- SharePoint List Items Retrieve
- Retrieves the items from a list SharePoint list using the REST API.
- Sharepoint List Retrieve
- This handler retrieves the contents of a list from the configured Sharepoint site and returns a JSON representation of the data.
- Sharepoint Site Create
- This handler adds a new Site to a SharePoint top level site.
- Sharepoint Task Create
- This handler creates a new task in the SharePoint Tasks list