Create a lease document (multipart)
Creates a lease document by uploading the PDF in one multipart request. Kept for older integrations; new work should request an upload session and then create the document by its session id.
Authorization
AuthorizationstringrequiredBody
multipart/form-data
filefilerequiredThe PDF itself. Must not be empty.
leaseIdstringrequiredThe lease the document belongs to. A Snowflake id, sent as a decimal string.
namestringrequiredName for the document.
leaseTemplateIdsstring[]Lease templates the document relates to.
Response
200 · The document that was created.
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.