Replace a lease document's PDF
Swaps in a new PDF for an existing lease document, keeping the document, its signers and its boxes. The uploadSessionId comes from the document's file upload-session endpoint.
Authorization
AuthorizationstringrequiredPath parameters
leaseDocumentIdstringrequiredThe document whose file you are replacing. A Snowflake id, sent as a decimal string.
Body
application/json
uploadSessionIdstringrequiredThe upload session the new PDF was sent to. A Snowflake id, sent as a decimal string.
Response
200 · The document, pointing at the new PDF.
idstringId of the lease document. A Snowflake id, sent as a decimal string.
portfolioIdstringPortfolio the lease rolls up to. A Snowflake id, sent as a decimal string.
propertyIdstringProperty the lease is on. A Snowflake id, sent as a decimal string.
unitIdstringUnit the lease is on. A Snowflake id, sent as a decimal string.
leaseIdstringThe lease the document belongs to. A Snowflake id, sent as a decimal string.
leaseTemplateIdsstring[]The lease templates the document was built from.
fileIdstringThe stored PDF. A Snowflake id, sent as a decimal string.
namestringName of the document.
statusenum<string>Where the document stands: draft while it is being prepared, pendingSignatures once it has gone out, completed once everyone has signed, retracted if it was pulled back.
typeenum<string>Whether this is a lease document or a lease renewal document.
signersLeaseDocumentSigner[]Who has to sign, and how far each of them has got.
annotationsLeaseDocumentAnnotation[]The boxes placed on the PDF — signatures, initials, dates and filled-in values.
fileobjectThe stored PDF, resolved to a full file record.