REST Call with template id — Oracle Analytics

Oracle Analytics Cloud and Server

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

REST Call with template id

Received Response
21
Views
1
Comments

Summary

REST Call with template id

Content

Hello,

I'm using BiPublisher 12.2.1.3 on linux.

I want to run a report through a REST call and passing:

  • the templateName/id to use
  • the data to use

I already have the default template working correctly.  Now I want to specify the template name/id to use.

This is the body of my request, I have so far:

--Boundary_1_1153447573_1465550731355Content-Type: application/jsonContent-Disposition: form-data; name="ReportRequest"{"byPassCache":true,"flattenXML":false}--Boundary_1_1153447573_1465550731355Content-Type: application/xmlContent-Disposition: form-data; filename="MyData.xml"; modification-date="Tue, 01 Jan 2000 07:35:28 GMT"; size=24700; name="ReportData"<?xml version="1.0" encoding="UTF-8"?><MYDATA><G_BASE><NAME>Rob</NAME><ORGANISATION>COMPANY</ORGANISATION><JOB>Developer</JOB><EMAIL>rob.huysmans@company.be</EMAIL><RESPONSABLE>William</RESPONSABLE></G_BASE><G_WERKNEMERS><G_WERKNEMER><NAME>Huysmans</NAME><FIRSTNAME>Filip</FIRSTNAME><JOB>Consultant</JOB><EMAIL>filip.huysmans@contribute.be</EMAIL></G_WERKNEMER><G_WERKNEMER><NAME>Huysmans</NAME><FIRSTNAME>Rob</FIRSTNAME><JOB>Sales</JOB><EMAIL>rob.huysmans@oracle.be</EMAIL></G_WERKNEMER><G_WERKNEMER><NAME>De Cat</NAME><FIRSTNAME>Josee</FIRSTNAME><JOB>Bemiddelaar</JOB><EMAIL>josee.decat@gmail.be</EMAIL></G_WERKNEMER></G_WERKNEMERS></MYDATA>--Boundary_1_1153447573_1465550731355--

All information is welcome.

Thx

Filip

Answers

  • Filip Huysmans
    Filip Huysmans Rank 2 - Community Beginner

    So the question is: how can I pass the template name or id to the rest call?

    I need to pass also the result output, like pdf, somehow.  How can this be done?