Skip to main content
Veeva Support EU Holiday: Mar 15th - Limited staff, please plan accordingly

Community

Search

Welcome to Community

Viewable Rendition

Answered

Comments

1 comment

  • Official comment
    Eric Matelyan

    If you are looking to download a rendition, this can be done using the Download Document Renditions API, and the rendition_type__sys value from VQL.

    VQL Query example:
    SELECT rendition_type__sys
    FROM renditions

    Endpoint:
    GET /api/{version}/objects/documents/{doc_id}/renditions/{rendition_type}
    https://developer.veevavault.com/api/22.3/#download-document-rendition-file

    VAPIL example:

    VaultResponse response = Client.getVaultClient().newRequest(DocumentRenditionRequest.class)
    .setOutputPath("C:\\Users\\Eric Matelyan\\Downloads")
    .downloadDocumentRenditionFile(1916, "viewable_rendition__v");

Please sign in to leave a comment.

Powered by Zendesk