Skip to main content
1-Visitor
Mar 8, 2022 4:38 PM UTC
Question

Uploading Files to SharePoint via API

Hi Thingworx Community,

 

Has this been achieved by someone via Thingworx? 

 

A few different approaches have already been tested, for example:

1. Using directly the PostImage snippet to generate a POST request to the SharePoint API

2. Uploading a file via Repository, converting to Binary (via snippet service) and using POST service snippet

 

Those approaches didn't yield results as the SharePoint API doesn't return anything meaningful in the RestAPI responses. I wanted to know if someone has achieved that use case and what might be failing in my approach. 

 

 

Regards

2 replies

Support
Mar 10, 2022 8:19 PM UTC

Hi @GBeltramini.

 

What endpoint are you trying to hit?  Have you looked at this information from Microsoft's site? 

 

Regards.

 

--Sharon

 

Translate
Support
Mar 15, 2022 3:20 PM UTC

Hi @GBeltramini.

 

Did you find the link previously provided helpful?  Do you have additional questions?

 

Regards.

 

--Sharon

 

Translate