Reclassify Multiple Documents
PUT https://{{vaultDNS}}/api/{{version}}/objects/documents/batch/actions/reclassify
https://developer.veevavault.com/api/23.2/#ReclassifyMultipleDocuments
Reclassify allows you to change the document type of an existing document or assign a document type to an unclassified document. This endpoint is analogous to the Reclassify action in the Vault UI.
A document type
is the combination of the type__v
, subtype__v
, and classification__v
fields on a document. When you reclassify, Vault may add or remove certain fields on the document. Add these new fields and values to the body of this request. If a new required field is missing, the error response will list the name of the required field. The API does not currently support bulk reclassify.
Not all documents are eligible for reclassification. For example, you can only reclassify the latest version of a document and you cannot reclassify a checked out document. Learn more about
reclassifying documents in Vault Help
.
- The maximum CSV input file size is 1GB.
- The values in the input must be UTF-8 encoded.
CSVs must follow the
The maximum batch size is 1,000.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | ||
Content-Type | string | ||
Accept | string | ||
X-VaultAPI-MigrationMode | boolean | When set to true, use with the status__v and document_number__v body parameters to reclassify documents to any document lifecycle state and with any document number. You must have the Document Migration permission to use this header. Learn more about <a href="https://platform.veevavault.help/en/gr/54028">Document Migration Mode in Vault Help.</a> |