pub struct ReportingDocumentSchema {
pub document_id: String,
pub loan_id: String,
pub uploaded_by_user_id: Option<String>,
pub uploaded_by_user_type: Option<String>,
pub type_: String,
pub source: String,
pub created_datetime: String,
pub loan_type: Option<String>,
pub as_of_date: String,
}
Fields§
§document_id: String
The unique ID for the document upload
loan_id: String
The UUID of the application in Blend’s system. The static identifier that should be used to connect the application’s identity across Blend and external integrations.
uploaded_by_user_id: Option<String>
The User ID for the user who uploaded the document (can be ‘system’, or either a borrower or lender user ID)
uploaded_by_user_type: Option<String>
The type of user that uploaded the document. Eg “borrower”, “lender”, “system”, “internal_api”, “external_api”. If the source is system or from the API, those are generally documents uploaded by Blend, or they can also be from internal/third party integrations that use the APIs to upload documents
type_: String
Blend document type
source: String
The source of where the document came from. Can be ‘connectivity’ for documents pulled through Blend’s connectivity, or ‘user’ for all other documents
created_datetime: String
The UTC timestamp for when the document was uploaded
loan_type: Option<String>
The specific product (Mortgage, HELOAN, HELOC, Auto, etc)
as_of_date: String
The date for when the report was generated