Create Multiple Document Versions

POST https://{{vaultDNS}}/api/{{version}}/objects/documents/versions/batch

https://developer.veevavault.com/api/24.2/#Create_Document_Versions_Bulk

Create or add document versions in bulk.

  • The maximum CSV input file size is 1GB.
  • The values in the input must be UTF-8 encoded.
  • CSVs must follow the standard format.
  • The maximum batch size is 500.

Request Params

KeyDatatypeRequiredDescription
idParamstringIf you’re identifying documents in your input by their external ID

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring
Acceptstring
Content-Typestring
X-VaultAPI-MigrationModenullMust be set to true. Vault allows you to manually set the name and version number and to create documents in any lifecycle state using the status__v field, but does not allow you to change the document number. Vault also bypasses entry criteria, entry actions, and event actions. You must have the Document Migration permission to use this header. Learn more about <a href="https://platform.veevavault.help/en/gr/54028&quot;&gt;Document Migration Mode in Vault Help.</a>