Questions tagged [java-api]
The java-api tag has no summary.
25 questions
1
vote
1
answer
1k
views
How to get members of Root Site and Communication Site with Graph API
I could get members of Site base on the Group (https://graph.microsoft.com/v1.0/groups/{id}/members). But I could not get the members of Root Site and Communication Site because these sites have not ...
0
votes
1
answer
903
views
creating folder in Sharepoint document library using java code and NTLM authentication?
How to create a folder in Sharepoint document library using java code and NTLM authentication? I am able to create a file but not folder.
0
votes
0
answers
42
views
Paging in sharepoint 2013 for JAVA REST API [duplicate]
I'm trying to implement sharepoint pagination in a way that you send how many items to skip and retrieve the next n number of items. Is there a way to go about it?
https://sharepoint.com/_api/web/...
2
votes
2
answers
13k
views
How to call the SharePoint rest API using Java web application?
I have developed one of the web based Java Application in which one of the page containing the form for uploading a files, as of now uploaded file stored on the Application server, but instead of this ...
0
votes
1
answer
4k
views
Aquire access token via HTTP request
I'm writing a Java app that aquires a token via the provided MS utility lib called adal4j.
It provides finished methods, I just need to provide the username, password, authority and my clientid. The ...
0
votes
2
answers
2k
views
Remove all files using REST
Is there a way I could remove all files from given folder using SharePoint REST api?
4
votes
2
answers
67k
views
Connect to Sharepoint Online REST API using Java
I'm trying to connect Sharepoint online REST API using Java. Retrieved cookies -rtfa and fedAuth. Also got xForm Digest value and trying to authenticate.
But it always throws Authentication error.
...
1
vote
1
answer
2k
views
How could I get all root level sites (excluding sub site) using Microsoft Graph API?
I could get all site (including root level site as well as sub site) by using the following url : https://graph.microsoft.com/v1.0/sites?search=*
Is there a better way to get all the root level sites ...
0
votes
1
answer
989
views
How could I get items present inside Site Asset of a Team Site?
Through the following url :
https://graph.microsoft.com/v1.0/sites/{siteId}/drives
I could get all user created document libraries and Documents (a system created document library), but I could not ...
1
vote
0
answers
143
views
Java Library to fetch User Details from SharePoint User Profiles
I am trying to perform automation testing on a SharePoint add-in which has the same functionality as of a Staff Directory.
I am using TestNG Framework on Selenium Tool with Java Language.
For ...
3
votes
1
answer
801
views
Authentication to online Sharepoint
I am authenticating with cookie to online Sharepoint, as answered here:
REST - Authentication to online Sharepoint
When I try to authenticate I get 401 error.
This is my code:
List<String>...
1
vote
0
answers
461
views
Getchanges() rest api fetching only 1000 records
I am using sharepoint rest api to fetch all change logs of a sub site using
https://XXXXXX.sharepoint.com/sites/XXXX-Test-SharePoint/_api/web/getchanges
But it is fetching only 1000 records
I want ...
1
vote
0
answers
268
views
Retrieving Sub Site data Rest Api is not working for java code
I am trying to get last modified Sub-Sites from sharepoint site using Sharepoint rest api and executing rest calls using Java
I am using below url:
https://XXXXX.sharepoint.com/sites/XXXX-Test-...
1
vote
1
answer
3k
views
Share document to multiple users using REST api in SharePoint 2013
I am using SharePoint 2013 rest api. I want to share SharePoint document among multiple users
Here is my rest endpoint
https://XXXXXX.sharepoint.com/sites/XXXX-Test-SharePoint/_api/web/Lists(%27%...
0
votes
1
answer
2k
views
Access denied. You do not have permission to perform this action or access this resource. for getUserpermissions
I am trying to get permissions of user by consuming REST api from Java Client and after executing code . it shows
Access denied. You do not have permission to perform this action or access this ...