12 Replies Latest reply on Jun 29, 2016 7:24 AM by Mamady Sylla

    Tableau 10 REST API 2.3- Update Subscription.

    Mamady Sylla

      Hello,

       

      I'm having an issue when invoking the method Update Subscription on the new API, 2.3.

      This is what the XML looks like;

       

      <?xml version="1.0" encoding="UTF-8"?>

      <tsRequest xmlns="http://tableau.com/api">

         <subscription subject="Obesity">

            <schedule id="406f04f9-e97b-42ca-ac40-c4e3eb0a96b6" />

         </subscription>

      </tsRequest>

       

      The error I receive is the following;

      <tsResponse xmlns="http://tableau.com/api" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://tableau.com/api http://tableau.com/api/ts-api-2.1.2.xsd">

          <error code="405000">

              <summary>Method Not Allowed</summary>

              <detail>The HTTP method 'PUT' is not supported for the given resource</detail>

          </error>

      </tsResponse>

       

      I've even attempted to do this through Postman using the PUT method as referenced on the API documentation.

      URI

      PUT /api/api-version/sites/site-id/subscriptions/subscription-id

       

      Has anyone had any similar issues or can point me in the right direction?

       

      Thanks in advance!