2

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

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... – RajeshSharepointGeek Jul 14 '16 at 9:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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