Skip to content

Retrieve Annotation Reference Type Metadata

Retrieves the metadata of a specified annotation reference type. Learn more about reference types in the Vault Java SDK documentation.

GET/api/{version}/metadata/objects/documents/annotations/references/types/{reference_type}
NameDescription
Acceptapplication/json (default) or application/xml
NameDescription
{reference_type}
required
The name of the reference type. For example, permalink__sys. Learn more about reference types in the Vault Java SDK documentation.
curl -X GET -H "Authorization: {SESSION_ID}" \ https://myvault.veevavault.com/api/v25.1/metadata/objects/documents/annotations/references/types/document__sys \
{ "responseStatus": "SUCCESS", "data": { "name": "document__sys", "fields": [ { "name": "annotation__sys", "type": "String", "system_managed": false, "value_set": [] }, { "name": "document_version_id__sys", "type": "String", "system_managed": false, "value_set": [] }, { "name": "type__sys", "type": "String", "system_managed": true, "value_set": [ "document__sys" ] } ] } }

On SUCCESS, the response includes a list of annotations of the specified type(s) for the document version. Each Annotation object may include some or all of the following fields depending on type: