Skip to main content

finalizeDocument

Confirms that a file has been sent, checks it is really there and is the size that was declared, and moves the record from PENDING_UPLOAD to AVAILABLE.

**Returns:**

The record, now available, or the business reason it is still waiting.

finalizeDocument(
input: FinalizeDocumentInput!
): FinalizeDocumentResult!

Arguments

finalizeDocument.input ● FinalizeDocumentInput! non-null input

The record the file was sent for.

Type

FinalizeDocumentResult union

The outcome of finalizeDocument: either the file record now that it is available, or the business reason it is not.