Skip to Content
0

Post a non-boe document in BO BI platform 4.1 using postman

May 06, 2017 at 01:03 PM

71

avatar image

Hello,

It's been a few days and i'm still struggling on BI platform 4.1 API.

I would like to post a Non-BOE document (it's an Excel document) using Postman but it seems that your documentation talks about BI platform 4.2.

https://uacp2.hana.ondemand.com/viewer/db6a17c0d1214fd6971de66ea0122378/4.2.3/en-US/13b5eb029d0b409bb7cb311ff9b94502.html

I want to know how to post a NON-BOE document with postman using BO BI platform 4.1 API.

Can someone gives me an example or a link to an archive? I'm lost.

Sincerely,

Diego

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Daniel Paulsen
Jun 14, 2017 at 12:52 AM
1

Hi Diego,

BI 4.1 Platform REST apis don't exist for uploading agnostic documents.

You can do this in BI4.2 and I've written a blog here: Uploading Agnostic documents with REST

Since you just want to upload an excel file, you can, however, actually do this in BI4.1 SP5 and higher with the Web Intelligence REST API: "POST ...biprws/raylight/v1/spreadsheet"

https://websmp103.sap-ag.de/~sapidb/012002523100011674662015E/sbo41sp6_webi_restws_dg_en.pdf (Page 429).

Use my blog for instructions on how to upload with postman (except use the /spreadsheet url, not the one in the blog) and then capture the response in fiddler to see how to properly build the multipart/form-data request in code. The format of the request is very specific with respect to carriage returns etc. and I try to outline it in detail in the blog.

Dan

Share
10 |10000 characters needed characters left characters exceeded
Julien Bras Jun 09, 2017 at 07:50 PM
0

Hello

You need first to get an auth token for using the REST api : https://uacp2.hana.ondemand.com/viewer/db6a17c0d1214fd6971de66ea0122378/4.2.3/en-US/45f5742c6e041014910aba7db0e91070.html

Then directly create a POST query as described here ; https://uacp2.hana.ondemand.com/viewer/db6a17c0d1214fd6971de66ea0122378/4.2.3/en-US/13b5eb029d0b409bb7cb311ff9b94502.html with the right settings (don't forget the auth token you get from previous step inside the Header X-SAP-LogonToken).

Regards,

Share
10 |10000 characters needed characters left characters exceeded