Create Multiple Document Versions

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

https://developer.veevavault.com/api/21.2/#create-multiple-document-versions

Create or add document versions in bulk.

Your vault must be in Migration Mode. 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-MigrationModenullWhen set to true, Vault applies Document Migration Mode limitations only to document versions created with the request. This differs from placing your entire vault in Migration Mode, which applies to all documents for the duration of its enablement. You must have the Document Migration permission to use this header.