This handler returns a list of items for a given Sharepoint list using the REST API and basic authentication. All the items from the specified list are returned in a JSON array with each item being a JSON object with the key/values corresponding to the column labels and values. Any errors that happen during the call are caught and re-raised and the handler return the JSON array upon a successful call.
Make sure the SharePoint Web Services database is turned on.
The username of the Sharepoint account.
The password of the Sharepoint account.
The domain of the Sharepoint server that will be used for authentication.
The location/url of the main sharepoint site
Enable debug logging if the value is set to 'Yes'.
The name of the list that the items will be retrieved from.
An array containing JSON representations of the items contained on the list.