Skip to main content

Questions tagged [java-api]

Filter by
Sorted by
Tagged with
1 vote
1 answer
1k views

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
0 votes
1 answer
903 views

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
0 votes
0 answers
42 views

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
  • 1
2 votes
2 answers
13k views

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
0 votes
1 answer
4k views

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
0 votes
2 answers
2k views

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

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
1 vote
1 answer
2k views

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
0 votes
1 answer
989 views

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
1 vote
0 answers
143 views

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
3 votes
1 answer
801 views

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
  • 185
1 vote
0 answers
461 views

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
1 vote
0 answers
268 views

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
1 vote
1 answer
3k views

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
0 votes
1 answer
2k views

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
1 vote
0 answers
623 views

I wrote a java code to update(rename) a folder in SharePoint based on the reference in the link ( https://msdn.microsoft.com/en-us/library/office/dn292553.aspx) Example, We are updating(renaming) a ...
Lakshmi's user avatar
  • 31
0 votes
1 answer
2k views

I am using SharePoint account like in screenshot here I am trying to get folder via SharePoint REST API but I am unable to pass access_token because I dont know how to fetch access_token from ...
lakshmi's user avatar
1 vote
1 answer
754 views

I have SharePoint 2013 site mounted as a network drive. I am accessing the document library through Java code, and want to know how to get the unique Document Id that SharePoint maintains for each ...
Puneet's user avatar
  • 95
1 vote
2 answers
7k views

I've been working for a while with SharePoint 2010 via REST API in my Java project. For example, to list items under some directory in my SharePoint storage, I was doing like this: NTCredentials ...
a.kozlenkov's user avatar
3 votes
1 answer
5k views

We have running SharePoint online application and Java API user need to fetch the data of list of SharePoint online. How can we access these data through the Java API?
RajeshSharepointGeek's user avatar
1 vote
0 answers
2k views

I'm quite new to Sharepoint stuff, and currently am trying to interact with the REST API. I have been able to get all kinds of data without much problems by sending GET reuqests, but sending POST ...
Joachim Seminck's user avatar
2 votes
1 answer
7k views

I host my site in asphostportal and I am trying to build a Java clinet that connects to Sharepoint (mysite.sharepoint.com) and grabs an excel file. I used the Excel services WSDL file, however the ...
marqueez's user avatar
3 votes
3 answers
8k views

This is my Sharepoint site http://sp2k13/sites/ifsp/ and I would like to create a folder using Sharepoint RESTFul API with Java. I have already gone through Working with folders and files with REST ...
Sagar Pudi's user avatar
0 votes
0 answers
39 views

I want the user to press a button and this creates or copies documents (Excel) into a document library on the same sharepoint site. There are many examples showing how to do this for a list but how ...
Orange Juice Jones's user avatar
2 votes
2 answers
8k views

We are trying to connect to Sharepoint 2013 using rest based api using a java program. Our code is - DefaultHttpClient httpclient = new DefaultHttpClient(); List<String> authpref = new ...
Tina Agrawal's user avatar