Quantcast
Channel: SCN : Popular Discussions - RESTful Web Services SDK
Viewing all articles
Browse latest Browse all 1088

How to get raw data from document using RESTful Web Services ?

$
0
0

I tried doing this:

 

From: http://help.sap.com/saphelpiis_sbo41sp4wi-sdk/frameset.htm?45f89e086e041014910aba7db0e91070.html

Get the list of data providers:

GET <webiURL>/documents/{documentId}/dataproviders 

Within the result you'll get the DP IDs that look like:

<id>DP0</id> 

Then get the number of "flows" in the DP:

GET <webiURL>/documents/{documentId}/dataproviders/DP/flows/count 

Then get the flow data:

GET <webiURL>/documents/{documentId}/dataproviders/DP0/flows/0

but it returns an error:

 

{StatusCode: 404, ReasonPhrase: 'Not Found', Version: 1.1, Content: System.Net.Http.StreamContent, Headers: { Date: Wed, 05 Nov 2014 08:57:07 GMT Server: Apache-Coyote/1.1 Content-Length: 60 Content-Type: application/json }}

 

Any suggestions appreciated!

 

Jacek


Viewing all articles
Browse latest Browse all 1088

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>