Skip to Content
author's profile photo Former Member
Former Member

RESTful API for Webi Report LatestInstance

Hi,

Old to BO and new to RESTful Technology, I need your expertise 🤪,

My Requirement is refreshing webi report using BO scheduler after completion of job, I will export that report instance to xml format.

I wrote one curl command, that is not returning the latest instance. Please see my below CURL command, am I need to tag any parameter to this Curl to get latest instance.

curl -G -s -H "accept:text/xml" -H "X-SAP-PVL:en_US" -H 'X-SAP-LogonToken:"localhost:6400@{3&2=9388,U3&2v=localhost:6400,UP&66=60,U3&68=secEnterprise:User,UP&S9=5872,U3&qe=100,U3&vz=d3R3QCu2YlHiHM0D9wNGSU8XiSs1rEPpGDAdTtv9PVI,UP}"' "http://localhost:6405/biprws/raylight/v1/documents/8852" >/tmp/exportxml.xml

Thanks in Advance.

Satya

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 13, 2015 at 10:51 PM

    Hi Satya, the call you're doing opens the document with id = 8852.

    If you want to get the last instance of scheduler document 8852, you will have to get the list of schedules from the doc with id 8852, find the id of the last instance with no errors and do a call with this id.

    Regards,

    Rogerio

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.