IgorShch
IgorShch

Reputation: 159

BOBJ. RESTful Web Service API. Change Data Source of Data Provider

I'm trying to change a data source of a data provider using the following RESTful API functionality.

Changing the Data Objects of a Data Provider (old link)

I get the proposed mappings and then post a request to change the data source. I get back a message that the document was successfully updated, but the actual data source of the data provider is not changed.

I wonder if I'm missing anything or need to do something else to get the data source updated.

Upvotes: 0

Views: 1286

Answers (1)

DocZerø
DocZerø

Reputation: 8567

I think you still need to save the changes made to the document. This is described here.

After the data source change, your document will have its state changed from Unused or Original to Modified. By issuing a PUT request to <webiURL>/documents/{documentId}, you would save the changes back to the repository.

Upvotes: 3

Related Questions