on 05-06-2017 2:03 PM
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.
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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/45f5742c6e041014...
Then directly create a POST query as described here ; https://uacp2.hana.ondemand.com/viewer/db6a17c0d1214fd6971de66ea0122378/4.2.3/en-US/13b5eb029d0b409b... with the right settings (don't forget the auth token you get from previous step inside the Header X-SAP-LogonToken).
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.