Questions tagged [api]

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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
4 views

API does not return updated date for calendar event

Situation A user creates calendar events in SPO. We use PowerAutomate to send an email once a week with a listing of the events that will take place in the next two weeks. Problem Sometimes, the date ...
jasotastic's user avatar
0 votes
0 answers
6 views

Is there a client (JS) API for interacting with PWA permissions? Namely, PWA Groups and Categories

We're starting to play around with Project Server (on-prem) using Project Server permission mode (as opposed to SharePoint permission mode). We need to be able to segregate the .mpp files so that ...
Dylan Cristy's user avatar
  • 12.6k
1 vote
0 answers
21 views

Calling HTTP endpoints via On-premises data gateway

I have a requirement to get information from an old legacy system thats on premise. If they have an API that is exposed can I use data gateway and a custom connector? I need to use Power Automate to ...
naijacoder's user avatar
  • 4,226
0 votes
0 answers
14 views

How to find documents about SPO classes and properties, such as the ClientFormCustomFormatter property?

I found the follow PowerShell code. It works. As one of learners of SharePoint Online, I would like to know how to find these new properties and methods for SharePoint Online objects. It appears that ...
SharePointLearnerguys's user avatar
0 votes
0 answers
16 views

How to use http Call or REST enabled API in PowerApps form to do Post Call

I have a PowerApps form. I want to do Post operation through external API call upon one button click over the PowerApps Form. I don't want to use the PowerApps triggered Power Automate for this. So, ...
Kailash Sahoo's user avatar
0 votes
2 answers
38 views

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

I am trying to find the best way to get files inside a specific sub folder in the sharepoint website, but the only links I find relate to the root folders. I have a Sharepoint site which is really ...
JMZ's user avatar
  • 1
0 votes
0 answers
31 views

Querying, analyzing, and displaying data from external API in SharePoint

I am a new SharePoint developer and I am tasked with displaying trends in data from Zendesk in SharePoint. I have been reading the Microsoft documentations and from what I have been reading the ...
Gnome-Improvement713's user avatar
0 votes
0 answers
21 views

How to know if I can trust an SPFX webpart?

I am in the process of implementing an spfx webpart but before I need to make sure it is not a security threat. From researching I was not able to find if there is any way to run a check or provide a ...
Santiare's user avatar
0 votes
0 answers
15 views

Problem making 3rd party react API POST calls using SPFx

I am having same issue as posted this in post How to Call 3rd party API using Azure function and display in SharePoint online Site using SPFx?. Did any one find a solution? Here is the sample code: ...
Sruthi's user avatar
  • 1
0 votes
1 answer
245 views

Update SharePoint List item using Rest API in C#

I am writing an API in Web API 2.0 on C# to perform various Actions with SharePoint List items. I have tried the following code to update the Status Column of a List item: HttpWebRequest ...
Alina Anjum's user avatar
0 votes
0 answers
25 views

CRUD actions in a SharePoint MsLists

We are trying to automate some actions, which are now handled manually. The thing we try to achieve is to insert automatically data from a webform into a new MsLists line. For this we need to connect ...
Duikboot's user avatar
  • 101
0 votes
1 answer
384 views

Get Items from SharePoint is raising this error :- "The attempted operation is prohibited because it exceeds the list view threshold."

I have this Get All Items where i define the threshold to be 100,00 as follow:- now on runtime >> i will get this error , any advice how to fix this error? The attempted operation is prohibited ...
microsoftdeveloperdesigner's user avatar
0 votes
1 answer
86 views

SharePoint API - ItemCount shows something but empty list of files and folders

I'm accessing a SharePoint folder that contains two files and a subfolder. I'm getting back a correct ItemCount but no list of items. Using a made-up path of /sites/sitename/folder1/folder1, and ...
Terminologist's user avatar
0 votes
0 answers
33 views

Accessing the marketplace API in SPFX

There is sufficient documentation on how the Marketplace API can resolve, activate, list,etc subscriptions (here for instance). However, now that I'm forming an understanding of how that works, I ...
JJD's user avatar
  • 493
0 votes
1 answer
401 views

Read large lists with Office365-REST-Python-Client

I am currently trying to read only the last week's entries of a few lists, and I accomplish this by using filter("Modified gt datetime{date_in_isoformat}') or order_by("Modified desc")....
TwoPointNo's user avatar
0 votes
0 answers
29 views

How to write web API to consume SharePoint list data to expose it to other platforms

I need to write a webapi to consume data and doing CRUD operation in SharePoint list.I am little bit confused about how to to that. Please give some suggestions or reference for this one.
user2915027's user avatar
1 vote
0 answers
46 views

How to mark a page as a language copy?

I have a SharePoint Online site, where I need to translate some pages into different target languages. My site's default language is English, thus the source language of a page is always English. The ...
privm's user avatar
  • 23
0 votes
1 answer
77 views

Azure function inside Sharepoint site redirects to login window

I put on a Sharepoint site an ajax request to my azure function. This azure function requires authentication because its logic depends on which user is using my sharepoint site. All users who test my ...
Mike79's user avatar
  • 11
0 votes
1 answer
247 views

Sharepoint Microsoft Graph API limit

I am trying to make a an application that will use the Microsoft graph API to connect to Sharepoint to do various tasks. Recently I have found that there is a throttling/blocking limit for the API, ...
yousif fayed's user avatar
0 votes
1 answer
540 views

CSOM vs PnP Core SDK vs Graph API, which approach is more future proof

We want to start a new project which include creating an azure function (using .net 6.0) that runs on timely basis to create folder structure as follow:- we have a SharePoint custom list which allows ...
John John's user avatar
0 votes
0 answers
104 views

KeyError with Sharepoint API - For a list

We are using Shareplum to call Sharepoint SOAP API and ingest data from Sharepoint Lists. We are doing this for ~20 different Sharepoint Lists. However, for one of the Sharepoint List, the API ...
sachinxe's user avatar
0 votes
1 answer
262 views

use rest api to search a specific folder inside of shared documents

I have added to the HelloWorld web part starting example to include a search, and I have successfully limited it to my site instead of the entire tenant. const here = this.context.pageContext.web....
Mark's user avatar
  • 101
0 votes
1 answer
365 views

how fix CORS policy when I call an API?

How can I fix this error? I can't call my API from the backend
SiCaMa's user avatar
  • 15
0 votes
1 answer
944 views

403 Forbidden when uploading file to sharepoint using REST API. Permission issue or missing header?

I am new to Sharepoint and REST APIs and am currently having an issue uploading a file using REST API. I am getting error System.UnauthorizedAccessException","message":{"lang":...
ecc07's user avatar
  • 1
0 votes
1 answer
2k views

SharePoint REST API _api/web/currentuser Attempted to perform an unauthorized operation

I'm doing Office365 account-based login functionality through SharePoint on PHP. After doing that I was able to login and get the SPAppToken and SPSiteUrl I use them to get the refreshToken, then I ...
tranthaihoang's user avatar
0 votes
1 answer
189 views

How to create a specific language copy of a page with REST API?

I came across this article, which states that a language copy can be created with an API call like this: POST https://tenant.sharepoint.com/sites/sitename/_api/sitepages/pages(<Source page ID>)/...
privm's user avatar
  • 23
0 votes
1 answer
136 views

Can someone please guide me how to download the release of phpSPO?

I want to retrieve data from sharepoint via API but I can't install phpSPO. Composer method is relatively easy but is very complex for me. So, please share the link so I can download the release and ...
Amir Mureed's user avatar
0 votes
1 answer
486 views

get sharepoint public image using graph api

I want to get a public URL to get the images of a list column using the graph API When using the sharepoint REST API I could do it this way: https://mysite.sharepoint.com/sites/namesite/_api/web/lists/...
shadowsa7x07's user avatar
0 votes
0 answers
42 views

How do I set a person or group field via the API V1 using Rails with Faraday?

I've seen several similar questions and the crux of the answer seems to be that I should add "Id" to the field name and pass the user's id. Here for instance: How to update "Person or ...
Matt Jordan's user avatar
0 votes
1 answer
176 views

SharePoint Online Managed Path

Does anyone know how to get this information through rest API or PowerShell? I wanted to know if the tenant I am working with is using "/teams/" or "/sites/". I am creating an ...
Billy P's user avatar
  • 236
0 votes
0 answers
19 views

SharePoint 2019 Production farm started having struggle load Font File/Random PNG File/Random API call

We have a SharePoint Farm (7 WFEs and 1 DB), last code deployment was weeks ago. Since Friday, when we load the web portal that is hosted on the farm via browser and via any location (worldwide), ...
Tasos's user avatar
  • 101
0 votes
0 answers
73 views

Get thumbnailRenderer on all rest api responses?

I have a list with a column of images, I always want to get the thumbnailRenderer parameter in the sharepoint rest api response sometimes i get. my query is: https://testttr.sharepoint.com/sites/...
shadowsa7x07's user avatar
0 votes
1 answer
1k views

Is there a way to export a list as a csv file with the Rest API?

Via the user interface in Sharepoint there is the possibility to export a list as .csv. Unfortunately, you can only load the items from the list via the Rest API, but not download the entire list as a ...
Vincent Jobs 's user avatar
1 vote
1 answer
317 views

Ajax call to SharePoint API returns '403 - Forbidden'

I need to access data on a SharePoint Online site from a php application. I'm using SharePoint API with JavaScript trying to achieve this. I already succeeded in accessing the SharePoint site with ...
Emmanuel Ingelaere's user avatar
0 votes
1 answer
105 views

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

In my situation, I have a site collection `/sites/mysitecol` - site collection - `/sites/mysitecol/test1` - sub-site - my user has access to this site. - `/sites/mysitecol/test2` - sub-site - my ...
Nicholas DiPiazza's user avatar
1 vote
2 answers
1k views

Incorrect API Endpoint URL

I'm very VERY new to SharePoint and am currently working on a project with needs a react SPFx Web Part to be developed which can be put on any site/page to read data from Document Libraries. However, ...
Bentura's user avatar
  • 37
0 votes
2 answers
139 views

Which columns are being returned from an AJAX call?

I know the names of some columns - FirstName, LastName, JobTitle, SAMAccountName, Department that an API serves out but I would like to know all the columns that are returned. How do I find out the ...
Pete Whelan's user avatar
1 vote
1 answer
79 views

Access files via autogenerated ID through REST API

what I'm currently doing is accessing the files in my Document Library through the REST API like this: [baseURL]/_api/Web/GetFileByServerRelativeUrl('[relativeURL]'). To collect these relativeURLs, I ...
nanoxid's user avatar
  • 13
0 votes
1 answer
68 views

Grant permission to a sharpoint-online subsite

I'd like to grant permission to a subsite of sharepoint-online using the Sharepoint API. The subsite is created using the following parameters (I was using Power Automate - but in the end it is a API ...
Christoph's user avatar
  • 101
0 votes
1 answer
266 views

How to get the page count of a PDF document stored in sharepoint through REST API?

From a salesforce site, we want to retrieve the page count of pdf documents stored in a SharePoint site, How to get this through REST or some alternative way?
Akshay Poddar's user avatar
0 votes
2 answers
4k views

List all the members of SharePoint groups with Graph API

Is there any endpoint in the Microsoft Graph API fore SharePoint Online to list all the groups and members of SharePoint groups? It must also be possible to manage the users from those groups. As ...
H. Pauwelyn's user avatar
0 votes
1 answer
820 views

Help with post request from SPFx secured by AD

https://docs.microsoft.com/en-us/sharepoint/dev/spfx/use-aadhttpclient-enterpriseapi < I have a few GET requests working in my SPFx app, but the guide here doesen't show you how to do a POST ...
BennKingy's user avatar
  • 416
0 votes
1 answer
166 views

REST API: upload a file to a Docset

Similar to this (Upload multiple files using rest api) I want to upload files to an existing Docset. I am using the pure REST API as I am on Java. I asked myself, how to control where the uploaded ...
Oliver Busse's user avatar
0 votes
1 answer
486 views

Using Send an HTTP request to SharePoint to send requests to Non-SharePoint sits

I was really surprised that the Send an HTTP request to SharePoint action in Power Automate can be used to send requests to https://presence.teams.microsoft.com: I was really intregued to try it ...
Denis Molodtsov's user avatar
0 votes
1 answer
126 views

How do I create a page in SharePoint and manage its content?

I would like to set up a system for deploying content into a SharePoint (O365) site using C# code. I would be reading text files in Markdown format and either converting them into HTML for publishing, ...
Mark's user avatar
  • 101
1 vote
0 answers
163 views

Manipulate sharepoint group membership using REST API from external app

I have an application that is secured via OpenID Connect / Azure AD. It is a webapp that is not running as part of the Sharepoint Framework. However, the app does need to interact with SharePoint in ...
ddewaele's user avatar
  • 111
0 votes
1 answer
57 views

Send email to users with expired documents

I want to be able to send email to each user which has expired documents and be able to know when the expiry date email was sent. The item contains worker name, their expiry date, and the heading of '...
user7878's user avatar
1 vote
1 answer
189 views

Static IP address for custom SPFx App and SharePoint Online

I have a custom web part that I'm building using SharePoint Framework to go on my SharePoint Online tenant. The application will be hitting a third-party API to fetch data. The complication is that ...
Ushka's user avatar
  • 277
1 vote
1 answer
996 views

Full Text Search Across Document Library

I am attempting to build a powerapp on top of a sharepoint list that can do both full text searching of documents and filter by metadata in the document library. I am currently stuck on being able to ...
MindingData's user avatar
0 votes
1 answer
1k views

Sharepoint API creating folder 403

I am new to the SharePoint API. I am trying to create folders in a customer SharePoint solution. Problem is i'm getting a 403 return. My request.: POST https://companyname.sharepoint.com/sites/Test/...
JNA's user avatar
  • 23

1
2 3 4 5 6