SOAP API - getDocumentContent

The table summarizes the SOAP API - getDocumentContent.

Request Uses the GetDocumentContentRequest element (from the DocumentService schema)
Parameter notes reference - The document reference be obtained using getFolderContent.
Response Returns a GetDocumentContentResponse element (from the DocumentService schema).
Example

Request: 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:doc="http://document.api.bds.tibco.com">
<soapenv:Header/>
<soapenv:Body>
<doc:GetDocumentContentRequest>
<reference>DocumentID-3f60b024-d604-43cb-881d-b111cf279700;1.0</reference>
</doc:GetDocumentContentRequest>
</soapenv:Body>
</soapenv:Envelope>
 

Response:

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<GetDocumentContentResponse xmlns="http://document.api.bds.tibco.com">
<content xmlns="">
.
.
.
</content>
<mime-type xmlns="">application/pdf</mime-type>
</GetDocumentContentResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>