ODBC Driver for Veeva Vault

Build 24.0.9062

CreateDocument

Create a single document.

To find the API names of the Documents table, get the Description column for the table Documents:

SELECT Description FROM [sys_tablecolumns] WHERE TableName = 'Documents'

The Description column will contain the API names of the Documents table. Now, use these API names to update a document, for example:

EXEC CreateDocument File = 'C:/Users/Public/document1.docx', Type__v = 'Promotional Piece', Subtype__v = 'Advertisement'

Input

Name Type Required Description
File String False Optional. The filepath of the source document. For example, C:/Users/Public/Desktop/document.docx . The maximum allowed file size is 4GB.
FileName String False The file name including extension to be used for File or Content input. FileName is optional for File input, and required for Content input.
* String False In the stored procedure's parameters, add the API name of any field values that are required to create a document.

Result Set Columns

Name Type Description
ResponseStatus String Whether the document was created successfully.
ResponseMessage String The message of the response.
Id String The Id of the document.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9062