Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [rest]

The REST (Representational State Transfer) interface in provides access to lists and libraries as a relational data service. A core concept of any RESTful interface is the resource, and in SharePoint Foundation, lists and items are represented as HTTP resources that can be addressed by remote URLs.

-1 votes
0 answers
17 views

I'm getting a 'List does not exist' error when trying to access a SharePoint list through REST API. How can I troubleshoot this?

I'm encountering a 'List does not exist' error when attempting to access a SharePoint list through the REST API. Here's what I'm doing: I have a SharePoint Online site with a list named 'Projects'. I'...
Mr.UNIcode's user avatar
0 votes
0 answers
11 views

I'm having reliability issues with using C# REST Sharepoint API for bulk updates on a list

My calls to the Sharepoint REST API with my C# application are working. Some of the time. Other times I will call ExecuteQuery and they throw exceptions with unhelpful messages like "Could not ...
Inglonias's user avatar
  • 101
0 votes
0 answers
21 views

Rest API to list contents of a directory

There are a series of documents that get uploaded to a SharePoint instance. These documents need to be uploaded elsewhere and quite a few places. Currently this is a manual action that is error prone ...
Bryan Abrams's user avatar
0 votes
0 answers
23 views

Metadata / schemas for HtmlContent1

I am struggling to find an official schema/metadata/EDMX description of the data contained in a SharePoint page's HtmlContent1 or JsonContent1, for example: { "controlType": 4, "...
Jonathan's user avatar
0 votes
1 answer
38 views

Creating SharePoint folder with "title" property via Boomi

How would I populate the "title" property of a SharePoint folder when creating the folder via Boomi (with an HTTP request)? I can't seem to find the full JSON to do this. This is all I have ...
Paul S.'s user avatar
0 votes
1 answer
18 views

What exactly does the error "LookupTableSortOrderMustComeAfterParentSortOrder" mean?

I'm trying to create an enterprise lookup table in Project Server using the REST API. If I use the following code (some stuff omitted for brevity and clarity): const lookupDef = { name: 'My Table ...
Dylan Cristy's user avatar
  • 12.8k
1 vote
2 answers
229 views

How Can I Use Site ID To Make API Calls?

Problem I'd like to use the SharePoint API (cannot be the Graph API) to get information from site resources, and I would like to do this in one call to avoid problems with URL changes to the site in ...
influentialeliot's user avatar
0 votes
2 answers
33 views

REST Call Returns Tons of Unnecessary Metadata. How do I Just Get the Column Values?

I want to get the values stored in my List. Is there a way to make a call that only returns a string like: [ item1 [ID, Title ...] ,item2 [ID, Title ...] ,item3 [ID, Title ...] ... ] When I make ...
amsackett's user avatar
  • 379
0 votes
1 answer
13 views

GetSiteDesign Does not retrieve Document Sets Content Type

I am using CSOM, trying to create a template where the site already has document sets enabled. However, when I get the site script from the template site and I apply it to a different site, applying ...
Rodrigo Campos's user avatar
0 votes
1 answer
101 views

How to get published version of site pages in SharePoint online

Is there any way to get the all site pages last published version using rest api camlquery. Thank you in advance
Dev Joshi's user avatar
0 votes
1 answer
375 views

How to get items from Personal Microsoft Lists (Not Sharepoint Lists) using Graph REST API?

I'm trying to query my personal Microsoft Lists with Microsoft Graph API without success. My list is a Microsoft List located in https://lists.live.com/. My list's URL shown in my browser is https://...
Jose R's user avatar
  • 105
0 votes
1 answer
34 views

Add custom properties in a SharePoint list template (.stp)?

I am using a custom list template in SharePoint Server (2019). How can I add a custom property (with a default/fixed value) in the manifest.xml file that will be available for all the lists that are ...
steedwmax's user avatar
0 votes
0 answers
181 views

Opening a SharePoint file or folder in a browser, by its GUID

In my app, outside of SharePoint, I want to construct a URL to take me straight to a SharePoint file or folder in a browser. My app's database has a table containing the unique IDs (GUIDs) of some SP ...
Nick Williamson's user avatar
1 vote
1 answer
189 views

Getting an item with image field not working

I wrote this code to get items from a SharePoint list that contains an image field: private _getApps(): Promise<void> { if (this.properties.listId) { return this.context.spHttpClient....
Lucas Bee's user avatar
0 votes
1 answer
176 views

Sharepoint REST api HTTP Error 403: Forbidden getting versions

I'm able to get the value of the file: url = sharepoint_app_url + "_api/web/GetFileByServerRelativeUrl('" + file_path + "')/$value" However when I want to get the versions or a ...
Maroun Sassine's user avatar

15 30 50 per page
1
2 3 4 5
156