cancel
Showing results for 
Search instead for 
Did you mean: 

Change mapping of webi work only once

Former Member
0 Kudos

Hello,

I'd to change the universe of a webi in BO with the get/post/put actions (raylight).

When I use the method to change the universe for the first time, it work pretty well. I can the see update on BO.

But when I tried to do it again, STATUS 404 appears. It's weird because I can still get information about this webi when I do :

GET - biprws/raylight/v1/documents/XXXXX/

My process :

STEP 1 : GET - biprws/raylight/v1/documents/AAAA/dataproviders/mappings?originDataproviderIds=DP0&targetDatasourceId=BBBB

STEP 2 : POST - biprws/raylight/v1/documents/AAAA/dataproviders/mappings?originDataproviderIds=DP0&targetDatasourceId=BBBB

STEP 3 : PUT - biprws/raylight/v1/documents/AAAA

About my BO Version :


SAP BusinessObjects BI 4.1 Support Pack 5


I searched on internet but i didn't find nothing.

Kind regards ,

Cyrille.

Accepted Solutions (1)

Accepted Solutions (1)

daniel_paulsen
Active Contributor
0 Kudos

Hi Cyrille,

after changing the dataproviders, when you call:

GET - biprws/raylight/v1/documents/XXXXX/dataproviders


Has the dataprovider changed to DP1?  Are you using the correct dataprovider identifier when trying the second time?


Dan

Former Member
0 Kudos

Thanks Daniel for your reply,

Here the response when I do :

GET - biprws/raylight/v1/documents/XXXXX/dataproviders


{"dataproviders":{"dataprovider":{"id":"DP1","name":"Requête 1","dataSourceId":XXXX,"dataSourceType":"unx","updated":"2016-04-28T14:58:07.000+02:00"}}}

I think I found my mistake thanks to you, now i must use this commands :

STEP 1 : GET - biprws/raylight/v1/documents/AAAA/dataproviders/mappings?originDataproviderIds=DP1&targetDatasourceId=BBBB

...

...

Thanks Daniel.

Answers (0)