cancel
Showing results for 
Search instead for 
Did you mean: 

SAPJam Odata-API: How to up and download different versions of a Document

Former Member
0 Kudos

Dear Support Team,

our application is using the Odata-Api of SapJam to up- and download files.

The Webbased Ui supports the upload of newer versions of a file but the Odata-API seems not.

I've searched the documentation (SAP Jam Developer Guide) and also the $metadata for indicators of how to get or upload versions of ContentItems but I didn't found any.

Is there a way to up- and download versions of a File using the Odata-API?

Kind regards.

Marc Linde

Accepted Solutions (1)

Accepted Solutions (1)

Adam_Stone
Active Contributor
0 Kudos

To be able to upload a new version, you should be able to do a POST to:
/Groups('key')/ContentItems/$value

This is mentioned here in the SAP Jam Developer Guide

As for downloading a specific version, we only provide the ability to download the latest version of the document through the API.  Are you able to provide a specific reason on needing to access the older versions through the API?  If so, we can take this into consideration for future enhancements.

Thanks,
Adam

Former Member
0 Kudos

Thank you for your answer.

We are using SapJam in 2 seperate Teams. The first Team is using SAPJam directly to manipulate Files in a Group. The other Team is using SapJam indrectly through a self developed application that is using the API. The second team isn't able to use SAPJam directly because of network constrains.

For compliance reasons, both teams need to be able to compare the different versions of a file.

Answers (0)