Create Document Attachment
POST https://{{vaultDNS}}/api/{{version}}/objects/documents/:{doc_id}/attachments
https://developer.veevavault.com/api/24.1/#Add_Document_Attachment
Create an attachment on the latest version of a document. If the attachment already exists, Vault uploads the attachment as a new version of the existing attachment. Learn more about attachment versioning in Vault Help.
To create a version-specific attachment, or to create multiple attachments at once, use the bulk API.
Request Body
[{"name"=>"file", "value"=>nil, "datatype"=>"null"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string | ||
Authorization | string | ||
Content-Type | string |