Oracle Analytics Publisher

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

Run report using Rest API - /services/rest/v1/reports/{reportPath}/run

Accepted answer
365
Views
15
Comments
Radhika Sharma
Radhika Sharma Rank 3 - Community Apprentice

We are trying to run report using Rest API - /services/rest/v1/reports/{reportPath}/run.

But we are facing an error - 404 Not found.

URL used:

https://host.com:port/xmlpserver/services/rest/v1/reports/Custom%252FServices%252FInterface%252FReports%252FFXX_TECHNICIAN_PROFILE_RPT/run

Headers:

Content-Type:multipart/form-data; boundary="Boundary_1_1153447573_1465550731355"

Accept:multipart/form-data

Body:

--Boundary_1_1153447573_1465550731355
Content-Type: application/json
Content-Disposition: form-data; name="ReportRequest"
{
"byPassCache":true,
"flattenXML":false,
"attributeFormat":"xml"
}
--Boundary_1_1153447573_1465550731355
Content-Type: application/xml
Content-Disposition: form-data;
filename="Technician.xml";
name="ReportData"

<Report XML Data Content>
--Boundary_1_1153447573_1465550731355--

Please let me know what is wrong.

Thanks!

Best Answer

«1

Answers