Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 111

Application Programming Interface (API) is a set of functions and procedures allowing the creation of applications that access the features or data of an operating system, application, or other service. When used as a question tag, please be sure to describe in your question which APIs are being used.

0 votes

Grant permission to a sharpoint-online subsite

I tried to find a sample or some documentation that showed how to add a role assignment to a subsite using the REST API but I came up empty. …
Rob Windsor's user avatar
  • 12.7k
1 vote

How to insert selected Checkboxes via Sharepoint 2016 API

metadata": { "type": "SP.Data.NewSiteRequestListItem" }, "Departments": selectedDepartmentNames }; } I go into more detail on how to update multiSelect choice field values using the REST API … in this YouTube video: Update MultiSelect Choice and Lookup Field Values from JavaScript CSOM and REST API
Rob Windsor's user avatar
  • 12.7k
0 votes

Get a list of files in a sub folder in the Documents Library of Sharepoint site

You can use the CamlQuery.FolderServerRelativeUrl property to indicate the target folder. Screen capture from Complete basic operations using SharePoint client library code | Retrieve items from a Sha …
Rob Windsor's user avatar
  • 12.7k
2 votes
Accepted

Listing all sub-sites that you have access to in a site collection

input id="Button1" type="button" value="Run Code" onclick="runCode()" /> </asp:Content> Update: It appears getSubwebsForCurrentUser works with the JavaScript Client Object Model but not with the REST API … For the REST API you need to instead use getSubwebsFilteredForCurrentUser. I wasn't able to find documentation on this method so I can't provide detailed guidance on the use of the parameters. …
Rob Windsor's user avatar
  • 12.7k
0 votes

Which columns are being returned from an AJAX call?

Examining the data returned from the web service call will get you the information you're looking for. There are a couple relatively easy ways to do this. Use the web browser debugging tools. Put a d …
Rob Windsor's user avatar
  • 12.7k
3 votes

$batch operations on SharePoint 2013 on-premise not working

As far as I know REST API batching is only supported in SharePoint Online and SharePoint 2016. Support for REST API batching did not get pushed down to SharePoint 2013. …
Rob Windsor's user avatar
  • 12.7k
3 votes
Accepted

Access Graph API from localhost (SharePoint extension)

The Leverage the Microsoft Graph & 3rd Party APIs training module shows how to configure your project to use the Microsoft Graph. The training module shows how to do so in a web part project, but the …
Rob Windsor's user avatar
  • 12.7k
1 vote

Sharepoint API creating folder 403

You can find the documentation on working with folders using the REST API here: https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/working-with-folders-and-files-with-rest According to the documentation … I discuss alternative code you can use to create both the folder and the associated list item in this blog post: SharePoint REST API and Lists with Folders. …
Rob Windsor's user avatar
  • 12.7k