AddDocumentToBinder
Add a document to a binder.
Input
| Name | Type | Required | Description |
| BinderId | String | True | The binder id field value |
| DocumentId | String | True | ID of the document being added to the binder. |
| ParentId | String | False | Section ID of the parent section, if the document will be in a section rather than top-level. Note: the section ID is unique no matter where it is in the binder hierarchy. Blank means adding the document at the top-level binder. |
| Order | String | False | Enter a number reflecting the position of the document within the binder or section. A value of 1 has special behavior and instructs Vault to place the document at the first ordinal position of the binder, regardless of any existing order values. If provided with a negative value or omitted, Vault places the document at the last ordinal position of the binder, regardless of any existing order values. |
| BindingRule | String | False | binding rule indicating which version of the document will be linked to the binder and the ongoing behavior. Options are: default (bind to the latest available version (assumed if binding_rule is blank)), steady-state (bind to latest version in a steady-state), current (bind to current version), or specific (bind to a specific version). |
| MajorVersionNumber | String | False | If BindingRule=specific, then this is required and indicates the major version of the document to be linked. Otherwise it is ignored. |
| MinorVersionNumber | String | False | If BindingRule=specific, then this is required and indicates the minor version of the document to be linked. Otherwise it is ignored. |
Result Set Columns
| Name | Type | Description |
| Success | String | Whether the operation was successful. |
| Id | String | The node id of the added document within the binder. |