Reclassify Document
PUT https://{{vaultDNS}}/api/{{version}}/objects/documents/:{doc_id}
https://developer.veevavault.com/api/21.3/#reclassify-document
Reclassify allows you to change the document type of an existing document or assign a document type to an unclassified document. A document “type” is the combination of the typev, subtypev, and classification__v fields on a document. When you reclassify, Vault may add or remove certain fields on the document. You can only reclassify the latest version of a document and only one document at a time. The API does not currently support bulk reclassify.
Learn more about reclassifying documents in Vault Help.
Request Body
[{"name"=>"type__v", "value"=>"", "datatype"=>"null"}, {"name"=>"subtype__v", "value"=>"", "datatype"=>"null"}, {"name"=>"classification__v", "value"=>"", "datatype"=>"null"}, {"name"=>"lifecycle__v", "value"=>"", "datatype"=>"null"}, {"name"=>"reclassify", "value"=>"true", "datatype"=>"boolean"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | ||
Content-Type | string | ||
Accept | string |