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?
1 Answer
I guess one option is using JSON where you can access lists and items with calls like
https://company.sharepoint.com/sites/ourSite/_api/web/lists/getbytitle('ourList')/items
- Where
company
is your tenant name - and
ourSite
is your site collection (if not the root SC) - and
ourList
is the list you're trying to get
More to read: Complete basic operations using SharePoint 2013 REST endpoints
If you don't fancy JSON you could always consume web services 'the old fashion way' described in Java Tip: Consuming SharePoint web services with a Java client
-
Thanks for Reply. However, we need use the client ID and secrete ID for authentication to the SharePoint site... Jul 14, 2016 at 9:08