Skip to Content
avatar image
Former Member

POSTing rows to a Transient Report Instance via REST API's OData protocol with JSON?

The documentation defines the REST interface for POSTing Rows to a Transient Report Instance as follows:

POST  http://<baseURI>/infostore/.../rpt/<reportID>/data.svc/Rows 
    POST a row to an instance of a report. 

As the documentation states, I first create a Transient Report Instance with "supressData=true". Once this is data-less report is created, I make a POST request to the above REST endpoint, attempting to pass a list of JSON objects (Row entities, in OData-speak) that will define the transient report's data source.

I had to guess at the structure of this request's body, and all attempts have failed. The documentation shows how to post one Row at time, but only through XML.

In need to post several rows, and to do so via JSON.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers