Veeva Vault - Create document relationship action

The Create document relationship action creates a relationship on a source document version, linking it to a target document, in Veeva Vault.

Input

Input fieldDescription
Source document typeSelect the source document type. This list is populated dynamically from your Vault. Select this first, since it determines the available Relationship type options.
Relationship typeSelect the relationship type. Options depend on the Source document type you select. This list is populated dynamically from your Vault. Standard system types, such as Based On, might not be creatable through the API.
Source document IDEnter the internal Vault document ID of the source document, for example 776.
Source major versionEnter the major version of the source document, for example 0.
Source minor versionEnter the minor version of the source document, for example 1.
Target document IDEnter the internal Vault document ID of the target document.
Target major versionOptional. Enter the major version of the target document. Required for target version-specific relationship types.
Target minor versionOptional. Enter the minor version of the target document. Required for target version-specific relationship types.

Output

Output fieldDescription
Response statusThe status of the relationship creation operation.
Response messageA message describing the result of the operation.
Relationship IDThe ID of the created relationship. If the relationship already exists, Vault returns 0, which is expected and not a failure.

Last updated: