Skip to main content

DocumentAdd

Add or attach a document to any allowed entity (note: consider to use DocumentAttach for 'attach' action). Must only receive one of either file or document_id in input.

type DocumentAdd {
document: Document
instances: [DocumentTargetInstance!]!
documentErrors: [DocumentError!]!
}

Fields

DocumentAdd.document ● Document object

The document that was created or attached.

DocumentAdd.instances ● [DocumentTargetInstance!]! non-null union

List of instances that the document was attached to.

DocumentAdd.documentErrors ● [DocumentError!]! non-null object

Returned By

documentAdd mutation

Was this page helpful?