3

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 1

1

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

1
  • 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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.