0 Replies Latest reply: Mar 7, 2012 9:53 AM by mrobinson415 RSS

    Question on publishBinaryDocumentInContainer

    mrobinson415

      Hi,

       

      I'm new to using the Jive API and I'm trying to figure out how to do two things:

       

      1. How can I add property/value pairs to a document when publishing it using the Rest API.  I'm using this XML structure (shown below) that I found in the docs and it works, but I'm wondering how can I also pass in additional properties/metadata along with the document.
      2. Where it says "List of...", what goes there?  It's obviously optional, but it's not clear to me what goes there.

       

      <publishBinaryDocumentInContainer>

        <containerType>xs:int</containerType>

        <containerID>xs:long</containerID>

        <userID>xs:long</userID>

        <documentTypeID>xs:long</documentTypeID>

        <documentID>xs:string</documentID>

        <title>xs:string</title>

        <filename>xs:string</filename>

        <contentType>xs:string</contentType>

        <!-- List of ... -->

        <source>xs:base64Binary</source>

      </publishBinaryDocumentInContainer>

       

      Thanks...