1 Reply Latest reply on Dec 6, 2019 3:44 AM by Cristian Matei

    Rest API: Assigning Multiple Users to Subscriptions

    Kevin Doherty

      In PostMan I was wondering if there was a way via the Tableau REST API to add multiple users to a Subscriptions.. below is failing with Bad Request of "Payload is either malformed XML/JSON or incomplete" when attempting to run. Not sure if it is more complex than what I am attempting below:

       

      <tsRequest>

        <subscription

      subject="subscription-subject"

      attachImage="attach-image-flag"

      >

        <content type="Workbook" id="xxxx" />

        <schedule id="exxxx" />

        <users>

        <user id="xxx" />

        <user id="xx" />

        </users>

      </subscription>

      </tsRequest>