1 Reply Latest reply on Dec 15, 2016 10:45 AM by Tom W

    Missing attributes in REST response from Tableau server 8.3

    Pavel Mukhanov


      I'm trying to get list of views for specified workbooks via REST. But some attributes in rest responses don't exist.

      Version of Tableau Server is 8.3.3

      For example, the following request:

           curl "http://{server_host}/api/2.0/sites/{site-id}/users/{user-id}/workbooks" -X GET -H "X-Tableau-Auth:{token}" 


          <?xml version="1.0" encoding="UTF-8"?> 
          <tsResponse xmlns="http://tableausoftware.com/api" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://tableausoftware.com/api http://tableausoftware.com/api/ts-api-2.0.xsd">
           <pagination pageNumber="1" pageSize="100" totalAvailable="5"/>
            <workbook id="55d0f314-faae-4b02-8c16-f55b10edf5d9" name="&#x422;&#x435;&#x441;&#x442;">
             <project id="972bcf8c-d7ce-11e3-ac00-0fa50cfedda9" name="default"/>
             <tags> </tags>
              <view id="a64682e7-cb1f-4361-a96b-bec8953ccb9b"/>

      But according to Documentation I should get other parameters such as contentUrl. This also happens if I Query Views - content url is absent.

      When I open in http://{server_host}/workbooks.xml all parameters are there.

      What is the way to solve such problem? May be server is not property configured?

      Is it easier to download workbooks.xml and parse it? How that should be done?