New answers tagged sharepoint-rest-api
1
vote
Accepted
SharePoint Rest API: MoveViewFieldTo syntax error
This syntax is wrong, field and index must be part of the body, not the path:
POST https://your-webapp/sites/your-site/_api/web/lists/getByTitle('zTestList')/views/getByTitle('All%20Items')/viewFields/...
1
vote
Accepted
SP 2013 REST API: set list view column order
Yes, you can edit your view to add, move or remove fields with SharePoint REST API. It's working for both on-premise, including SharePoint Server 2013 and later, and SharePoint Online in Microsoft 365....
0
votes
Sharepoint REST api HTTP Error 403: Forbidden getting versions
Does your permission level has the checkbox "View versions"
enabled?/_layouts/15/editrole.aspx?role=Edit
0
votes
Azure Sharepoint Application API Key generation
See this MS learn page. When connecting to SharePoint api you need to use a certificate. This example creates a .NET core app. But configuring the Azure AD app is the same for every code base you want ...
1
vote
Azure ACS retirement in Microsoft 365 - legacy SharePoint REST API impacted?
I think these api's will continue to work because they don't authenticate using ACS. Only SharePoint add-in model apps making use of clientid/secret use ACS for authentication. "/_api/" in ...
0
votes
SharePoint Search REST API does not return custom columns values
during my test i had the same issue and i found out that the way to retrieve these fields is by putting them in the query, try changing your query to this
(IsDocument:true) AND (MGS_Hierarchy:*)
...
0
votes
I want to retrieve SharePoint report using API & JSON. For example for getting the number of Applications between a set time period from list
If you are trying to fetch the SharePoint list items using the SharePoint REST API, you can use the code like below.
Example - JavaScript/JQuery:
<script type="text/javascript" src="/...
1
vote
Retrieving files from sharepoint returns empty value array
I had the same issue when I used "siteAbsoluteUrl".
let siteUrl = _spPageContextInfo.siteAbsoluteUrl;
let url = siteUrl + "/_api/web/getFolderByServerRelativeUrl('<relative path to ...
Top 50 recent answers are included
Related Tags
sharepoint-rest-api × 1742sharepoint-online × 858
rest × 359
javascript × 212
sharepoint-server × 166
2013 × 130
sharepoint-enterprise × 127
list × 114
document-library × 76
spfx × 71
sharepoint-designer × 64
jquery × 61
development × 59
power-automate × 55
jsom × 54
error × 49
api × 49
spfx-webparts × 42
flow × 41
modern-experience × 40
lookup-column × 38
microsoft-graph × 38
office-365 × 37
2016 × 37
jquery-ajax × 37