How to download workbook data using REST API?

3 followers
0
Avatar

 

Hi everyone.

According to the Datameer REST API reference, to download data from workbook (7.x) you have to use the next URI syntax:

curl -u <username>:<password> -X GET 'http://<Datameer-serverIP>:<port-number>/rest/data/workbook/{configuration-id}/{sheet-name}/download

I have been trying with the online demo, with the next URI:

https://online-demo.datameer.com/rest/data/workbook/809/Bank_data/download

 

And datameer present me the message below:

We are sorry. The session is invalid or has timed out.
The current action was aborted, you have to start again.

 

What I am doing wrong? 

 

Here the API reference to download data from workbook.

https://www.datameer.com/documentation/current/REST+API+Workbook#RESTAPIWorkbook-Read_GITReadWorkbook(version2)

 

 

Best,

Ramiro.

 

Ramiro Sandoval

3 comments

  • Avatar
    Ramiro Sandoval

    Actually I have been using Postman to do the request.

     I tried with curl and I have been receiving the same message... See image bellow...  

     

    I believe that something is wrong with my user. The message said "408 - Invalid Session".

     

     

    0
  • Avatar
    Joel Stewart

    There are restricted privileges for users within the Online Demo system. I just double checked and verified that the Download Data privilege is not added to this role in this environment. This explains why you're observing an exception here. 

    0
Please sign in to leave a comment.