Replace a lease document's PDF (multipart)
Replaces a lease document's PDF by uploading it in one multipart request. Kept for older integrations; new work should request an upload session and then replace the file by its session id.
Authorization
AuthorizationstringrequiredPath parameters
leaseDocumentIdstringrequiredThe document whose file you are replacing. A Snowflake id, sent as a decimal string.
Body
multipart/form-data
filefilerequiredThe replacement PDF. Must not be empty.
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.