Sample connection with Sharepoint and authication ?

Sample connection with Sharepoint and authication ?

  

Hi there,


Is there any sample application / module / anything where I can see how to connect to Sharepoint and authenticate to use CRUD functionality on a site with a list?

Right now I try to get all rest methods for a site but I when it says my url is not swagger 2.0 specified.

URL is 

'https://[my_server]/[my_site]/_api/' .

For the single method when I put 'https://[my_server]/[my_site]/_api/Lists/getbytitle('tijdsregistratie')/items?

and it does not throw the swagger specifications error.

Hi Lars

I am not familiar with Sharepoint API, but a search online tells me that they don't use Swagger documentation. This means that when Consuming the API you have to select the "Add Single Method" option and each method by hand.



Lars De Pauw wrote:

Hi there,


Is there any sample application / module / anything where I can see how to connect to Sharepoint and authenticate to use CRUD functionality on a site with a list?

Right now I try to get all rest methods for a site but I when it says my url is not swagger 2.0 specified.

URL is 

'https://[my_server]/[my_site]/_api/' .

For the single method when I put 'https://[my_server]/[my_site]/_api/Lists/getbytitle('tijdsregistratie')/items?

and it does not throw the swagger specifications error.

Lars,

Were you able to get connected to SharePoint? I am struggling - I need to connect to SP do access the document library to save and retrieve files via an OutSystems app.

Any luck?


Me too. Looking for how to configure the request headers / response headers, or whatever it takes, to authenticate against SharePoint online when using their ADFS SAML Office 365 authentication



Bruce Buttles wrote:


Lars De Pauw wrote:

Hi there,


Is there any sample application / module / anything where I can see how to connect to Sharepoint and authenticate to use CRUD functionality on a site with a list?

Right now I try to get all rest methods for a site but I when it says my url is not swagger 2.0 specified.

URL is 

'https://[my_server]/[my_site]/_api/' .

For the single method when I put 'https://[my_server]/[my_site]/_api/Lists/getbytitle('tijdsregistratie')/items?

and it does not throw the swagger specifications error.

Lars,

Were you able to get connected to SharePoint? I am struggling - I need to connect to SP do access the document library to save and retrieve files via an OutSystems app.

Any luck?




I created a test app to demonstrate exactly how to connect to sharepoint via REST API within Outsystems.  see here:  http://intrinsicinnovation.com/Articles/2018/08/22/integrating-sharepoint-with-outsystems/


Also, search in the forge for 'Sharepoint Connector' to download the application that connects to SharePoint.


Chris