0

Vault API Question

Is there a way to retrieve the file meta fields e.g - file_meta_duration__v through API, potentially VQL?

1 comment

  • Avatar
    John Tanner Official comment

    Hi,

    A list of all the available fields can be found using the API - https://developer.veevavault.com/api/18.3/#retrieve-all-document-fields

    It's then possible to construct a VQL query to return all of the desired fields, providing the "queryable" is set to true for each field.

    The VQL API call would be a GET and would look something like: 

    https://{{your_vault_server}}/api/v18.3/query?q=SELECT id, name__v, status__v, source_owner__v FROM documents

    In this example the desired fields would be "id", "name__v", "status__v" and "source_owner__v"

    Regards

    John

     

     

Please sign in to leave a comment.