Download Document Annotations
GET
/api/{version}/objects/documents/{doc_id}/annotationsHeaders
Section link for Headers| Name | Description |
|---|---|
Accept | application/json (default) or application/xml |
URI Path Parameters
Section link for URI Path Parameters| Name | Description |
|---|---|
{doc_id} | The document id field value. |
Response
Section link for ResponseOn SUCCESS, Vault retrieves the specified version document rendition and its associated annotations.
- The HTTP Response Header Content-Type is set to
application/pdf. - The HTTP Response Header
Content-Dispositioncontains afilenamecomponent which can be used when naming the local file.
Request
Section link for Requestcurl -X GET -H "Authorization: {SESSION_ID}" \
https://myvault.veevavault.com/api/v19.3/objects/documents/14/annotations