Skip to main content

Questions tagged [java-api]

1vote
1answer
1kviews

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 ...
Duong Dam's user avatar
0votes
1answer
892views

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.
kishore p's user avatar
0votes
0answers
42views

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/...
Ram's user avatar
2votes
2answers
13kviews

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 ...
user3296535's user avatar
0votes
1answer
4kviews

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 ...
Franjo Pintarić's user avatar
0votes
2answers
2kviews

Remove all files using REST

Is there a way I could remove all files from given folder using SharePoint REST api?
Krzysztof Majewski's user avatar
4votes
2answers
66kviews

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. ...
User1203's user avatar
1vote
1answer
2kviews

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 ...
Anish Anushang's user avatar
0votes
1answer
953views

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 ...
Anish Anushang's user avatar
1vote
0answers
140views

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 ...
Anand's user avatar
  • 1,755
3votes
1answer
789views

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>...
mikipero's user avatar
1vote
0answers
458views

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 ...
Prasad.Shelke's user avatar
1vote
0answers
266views

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-...
Prasad.Shelke's user avatar
1vote
1answer
3kviews

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%...
Prasad.Shelke's user avatar
0votes
1answer
2kviews

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 ...
Prasad.Shelke's user avatar

153050per page
close