Create Multiple Document Versions
POST https://{{vaultDNS}}/api/{{version}}/objects/documents/versions/batch
https://developer.veevavault.com/api/22.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
Key | Datatype | Required | Description |
---|---|---|---|
idParam | string | If you’re identifying documents in your input by their external ID |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | ||
Accept | string | ||
Content-Type | string | ||
X-VaultAPI-MigrationMode | null | When 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. | |