buildium-ruby 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.github/workflows/ci.yml +27 -0
- data/.github/workflows/publish.yml +48 -0
- data/.gitignore +39 -0
- data/.openapi-generator/FILES +1215 -0
- data/.openapi-generator/VERSION +1 -0
- data/.openapi-generator/templates/ruby-client/gemspec.mustache +37 -0
- data/.openapi-generator/templates/ruby-client/partial_model_generic.mustache +371 -0
- data/.openapi-generator/templates/ruby-client/rubocop.mustache +124 -0
- data/.openapi-generator-ignore +26 -0
- data/.rspec +2 -0
- data/.rubocop.yml +124 -0
- data/CUSTOMIZATIONS.md +11 -0
- data/DOCS.md +811 -0
- data/Gemfile +9 -0
- data/Gemfile.lock +75 -0
- data/README.md +118 -0
- data/Rakefile +10 -0
- data/bin/CUSTOMIZATIONS.md +11 -0
- data/bin/README.md +118 -0
- data/bin/config.yml +9 -0
- data/bin/rebuild.sh +49 -0
- data/bin/swagger.json +52218 -0
- data/buildium-ruby.gemspec +39 -0
- data/docs/AccountInfoMessage.md +26 -0
- data/docs/AccountingApi.md +2041 -0
- data/docs/AccountingEntityMessage.md +22 -0
- data/docs/AccountingEntitySaveMessage.md +20 -0
- data/docs/AccountingLockPeriodMessage.md +22 -0
- data/docs/AccountingSettingsMessage.md +28 -0
- data/docs/AddressMessage.md +30 -0
- data/docs/AdministrationApi.md +485 -0
- data/docs/AllTasksMessage.md +46 -0
- data/docs/AnnouncementMessage.md +30 -0
- data/docs/AnnouncementPostMessage.md +28 -0
- data/docs/AnnouncementSearchMessage.md +26 -0
- data/docs/AnnouncementSenderMessage.md +22 -0
- data/docs/ApiError.md +20 -0
- data/docs/ApiErrorResponse.md +22 -0
- data/docs/ApplianceMessage.md +26 -0
- data/docs/ApplicantApplicationMessage.md +24 -0
- data/docs/ApplicantGroupMessage.md +26 -0
- data/docs/ApplicantGroupPostMessage.md +20 -0
- data/docs/ApplicantGroupPutMessage.md +22 -0
- data/docs/ApplicantGroupSearchMessage.md +26 -0
- data/docs/ApplicantMessage.md +36 -0
- data/docs/ApplicantPostMessage.md +28 -0
- data/docs/ApplicantPutMessage.md +26 -0
- data/docs/ApplicantSearchMessage.md +32 -0
- data/docs/ApplicantsApi.md +1489 -0
- data/docs/ApplicationMessage.md +26 -0
- data/docs/ApplicationPutMessage.md +18 -0
- data/docs/ApplicationResponseFieldMessage.md +24 -0
- data/docs/ApplicationResponseMessage.md +22 -0
- data/docs/ApplicationSectionResponseMessage.md +18 -0
- data/docs/AssociationApplianceMessage.md +32 -0
- data/docs/AssociationAppliancePostMessage.md +32 -0
- data/docs/AssociationAppliancePutMessage.md +28 -0
- data/docs/AssociationApplianceSearchMessage.md +20 -0
- data/docs/AssociationApplianceServiceHistoryMessage.md +24 -0
- data/docs/AssociationApplianceServiceHistoryPostMessage.md +22 -0
- data/docs/AssociationAppliancesApi.md +646 -0
- data/docs/AssociationBoardMemberMessage.md +36 -0
- data/docs/AssociationBoardMemberPostMessage.md +24 -0
- data/docs/AssociationBoardMemberPutMessage.md +22 -0
- data/docs/AssociationBoardMemberSearchMessage.md +24 -0
- data/docs/AssociationMessage.md +40 -0
- data/docs/AssociationOwnerBoardTermMessage.md +28 -0
- data/docs/AssociationOwnerBoardTermPostMessage.md +22 -0
- data/docs/AssociationOwnerMessage.md +52 -0
- data/docs/AssociationOwnerPostMessage.md +44 -0
- data/docs/AssociationOwnerPutMessage.md +38 -0
- data/docs/AssociationOwnerToExistingOwnershipAccountPostMessage.md +48 -0
- data/docs/AssociationOwnerUnitOccupancyPutMessage.md +18 -0
- data/docs/AssociationOwnerUnitOccupancyStatusMessage.md +20 -0
- data/docs/AssociationOwnersApi.md +916 -0
- data/docs/AssociationOwnershipAccountMessage.md +34 -0
- data/docs/AssociationOwnershipAccountPostMessage.md +32 -0
- data/docs/AssociationOwnershipAccountPutMessage.md +18 -0
- data/docs/AssociationOwnershipAccountSearchMessage.md +28 -0
- data/docs/AssociationOwnershipAccountsApi.md +2042 -0
- data/docs/AssociationPostMessage.md +32 -0
- data/docs/AssociationPreferredVendorMessage.md +34 -0
- data/docs/AssociationPreferredVendorPutMessage.md +18 -0
- data/docs/AssociationPutMessage.md +34 -0
- data/docs/AssociationSearchMessage.md +24 -0
- data/docs/AssociationTenantMessage.md +44 -0
- data/docs/AssociationTenantPostMessage.md +42 -0
- data/docs/AssociationTenantPutMessage.md +38 -0
- data/docs/AssociationTenantsApi.md +671 -0
- data/docs/AssociationUnitMessage.md +32 -0
- data/docs/AssociationUnitPutMessage.md +26 -0
- data/docs/AssociationUnitSearchMessage.md +22 -0
- data/docs/AssociationUnitsApi.md +659 -0
- data/docs/AssociationUnitsPostMessage.md +28 -0
- data/docs/AssociationUserSearchMessage.md +34 -0
- data/docs/AssociationsApi.md +1235 -0
- data/docs/BankAccountCheckAccountingEntitySaveMessage.md +20 -0
- data/docs/BankAccountCheckLineMessage.md +28 -0
- data/docs/BankAccountCheckLineSaveMessage.md +26 -0
- data/docs/BankAccountCheckMessage.md +30 -0
- data/docs/BankAccountCheckPayeeMessage.md +22 -0
- data/docs/BankAccountCheckPayeeSaveMessage.md +20 -0
- data/docs/BankAccountCheckPostMessage.md +26 -0
- data/docs/BankAccountCheckPutMessage.md +26 -0
- data/docs/BankAccountCheckSearchMessage.md +20 -0
- data/docs/BankAccountDepositLineMessage.md +28 -0
- data/docs/BankAccountDepositLineSaveMessage.md +26 -0
- data/docs/BankAccountDepositMessage.md +28 -0
- data/docs/BankAccountDepositPostMessage.md +24 -0
- data/docs/BankAccountDepositPutMessage.md +22 -0
- data/docs/BankAccountDepositSearchMessage.md +20 -0
- data/docs/BankAccountMessage.md +40 -0
- data/docs/BankAccountPostMessage.md +30 -0
- data/docs/BankAccountPutMessage.md +30 -0
- data/docs/BankAccountQuickDepositMessage.md +28 -0
- data/docs/BankAccountQuickDepositSaveMessage.md +26 -0
- data/docs/BankAccountQuickDepositSearchMessage.md +20 -0
- data/docs/BankAccountSearchMessage.md +20 -0
- data/docs/BankAccountTransactionMessage.md +36 -0
- data/docs/BankAccountTransactionSearchMessage.md +24 -0
- data/docs/BankAccountTransferAccountingEntitySaveMessage.md +20 -0
- data/docs/BankAccountTransferMessage.md +28 -0
- data/docs/BankAccountTransferSaveMessage.md +26 -0
- data/docs/BankAccountTransferSearchMessage.md +20 -0
- data/docs/BankAccountWithdrawalMessage.md +28 -0
- data/docs/BankAccountWithdrawalSaveMessage.md +26 -0
- data/docs/BankAccountWithdrawalSearchMessage.md +20 -0
- data/docs/BankAccountsApi.md +2224 -0
- data/docs/BillFileMessage.md +28 -0
- data/docs/BillLineMessage.md +28 -0
- data/docs/BillLinePostMessage.md +26 -0
- data/docs/BillLinePutMessage.md +28 -0
- data/docs/BillMarkupMessage.md +20 -0
- data/docs/BillMarkupSaveMessage.md +20 -0
- data/docs/BillMessage.md +36 -0
- data/docs/BillPaymentAccountingEntityMessage.md +20 -0
- data/docs/BillPaymentLineMessage.md +22 -0
- data/docs/BillPaymentLinePostMessage.md +20 -0
- data/docs/BillPaymentMessage.md +28 -0
- data/docs/BillPaymentPostMessage.md +26 -0
- data/docs/BillPostMessage.md +30 -0
- data/docs/BillPutMessage.md +28 -0
- data/docs/BillSearchMessage.md +32 -0
- data/docs/BudgetDetailsMessage.md +24 -0
- data/docs/BudgetDetailsSaveMessage.md +20 -0
- data/docs/BudgetMessage.md +28 -0
- data/docs/BudgetMonthlyAmountsMessage.md +40 -0
- data/docs/BudgetMonthlyAmountsSaveMessage.md +40 -0
- data/docs/BudgetPostMessage.md +26 -0
- data/docs/BudgetPutMessage.md +20 -0
- data/docs/BudgetSearchMessage.md +22 -0
- data/docs/ChargeRecurringTransactionPostMessage.md +32 -0
- data/docs/ChargeRecurringTransactionPutMessage.md +34 -0
- data/docs/CheckPrintingInfoMessage.md +46 -0
- data/docs/CheckPrintingInfoPostMessage.md +46 -0
- data/docs/CheckPrintingInfoPutMessage.md +46 -0
- data/docs/ClientLeadCreditRequestMessage.md +24 -0
- data/docs/ClientLeadMessage.md +38 -0
- data/docs/ClientLeadSearchMessage.md +26 -0
- data/docs/ClientLeadsApi.md +177 -0
- data/docs/CommunicationsApi.md +1238 -0
- data/docs/ContactDetailMessage.md +24 -0
- data/docs/ContactDetailPhoneMessage.md +22 -0
- data/docs/ContactDetailSaveMessage.md +24 -0
- data/docs/ContactDetailSavePhoneMessage.md +22 -0
- data/docs/ContactInfoMessage.md +24 -0
- data/docs/ContactRequestTaskMessage.md +42 -0
- data/docs/ContactRequestTaskPostMessage.md +38 -0
- data/docs/ContactRequestTaskPutMessage.md +38 -0
- data/docs/ContactRequestTaskSearchMessage.md +40 -0
- data/docs/CosignerMessage.md +36 -0
- data/docs/CreatedByUserMessage.md +24 -0
- data/docs/CreditRecurringTransactionPostMessage.md +36 -0
- data/docs/DepositDetailMessage.md +20 -0
- data/docs/ElectronicPaymentsMessage.md +32 -0
- data/docs/EmailMessage.md +24 -0
- data/docs/EmailPostMessage.md +30 -0
- data/docs/EmailRecipientMessage.md +26 -0
- data/docs/EmailSearchMessage.md +26 -0
- data/docs/EmailSenderMessage.md +24 -0
- data/docs/EmergencyContactMessage.md +24 -0
- data/docs/FileCategoryMessage.md +22 -0
- data/docs/FileCategoryPostMessage.md +18 -0
- data/docs/FileCategoryPutMessage.md +18 -0
- data/docs/FileDownloadMessage.md +18 -0
- data/docs/FileEntityMessage.md +22 -0
- data/docs/FileMessage.md +34 -0
- data/docs/FileNamePostMessage.md +18 -0
- data/docs/FilePutMessage.md +22 -0
- data/docs/FileSearchMessage.md +30 -0
- data/docs/FileUploadPostMessage.md +28 -0
- data/docs/FileUploadTicketMessage.md +22 -0
- data/docs/FilesApi.md +730 -0
- data/docs/GLAccountBalanceItemMessage.md +20 -0
- data/docs/GLAccountBalanceMessage.md +22 -0
- data/docs/GLAccountBalanceSearchMessage.md +26 -0
- data/docs/GLAccountMessage.md +46 -0
- data/docs/GLAccountPostMessage.md +32 -0
- data/docs/GLAccountPutMessage.md +32 -0
- data/docs/GLAccountsSearchMessage.md +18 -0
- data/docs/GLTransactionMessageV1.md +26 -0
- data/docs/GeneralJournalEntryLineSaveMessage.md +24 -0
- data/docs/GeneralJournalEntryPostMessage.md +24 -0
- data/docs/GeneralJournalEntryPutMessage.md +24 -0
- data/docs/GeneralLedgerJournalLineMessage.md +28 -0
- data/docs/GeneralLedgerJournalMessage.md +20 -0
- data/docs/GeneralLedgerTransactionMessage.md +38 -0
- data/docs/GeneralLedgerTransactionSearchMessage.md +26 -0
- data/docs/InternalTransactionStatusMessage.md +22 -0
- data/docs/JournalLineMessage.md +28 -0
- data/docs/JournalMessage.md +20 -0
- data/docs/LastUpdatedByUserMessage.md +26 -0
- data/docs/LeaseAccountDetailMessage.md +20 -0
- data/docs/LeaseChargeLineSaveMessage.md +22 -0
- data/docs/LeaseChargePostMessage.md +22 -0
- data/docs/LeaseChargePutMessage.md +22 -0
- data/docs/LeaseChargeRecurringTransactionMessage.md +40 -0
- data/docs/LeaseCosignerPostMessage.md +32 -0
- data/docs/LeaseLedgerCreditLinePostMessage.md +20 -0
- data/docs/LeaseLedgerCreditPostMessage.md +26 -0
- data/docs/LeaseLedgerDepositWithholdingLinePostMessage.md +20 -0
- data/docs/LeaseLedgerDepositWithholdingPostMessage.md +24 -0
- data/docs/LeaseLedgerPaymentLineSaveMessage.md +20 -0
- data/docs/LeaseLedgerPaymentPostMessage.md +30 -0
- data/docs/LeaseLedgerRefundLineMessage.md +20 -0
- data/docs/LeaseLedgerRefundLinePostMessage.md +20 -0
- data/docs/LeaseLedgerRefundMessage.md +34 -0
- data/docs/LeaseLedgerRefundPostMessage.md +30 -0
- data/docs/LeaseLedgerReversePaymentNSFChargePostMessage.md +20 -0
- data/docs/LeaseLedgerReversePaymentOtherBankChargePostMessage.md +20 -0
- data/docs/LeaseLedgerReversePaymentPostMessage.md +24 -0
- data/docs/LeaseMessage.md +58 -0
- data/docs/LeaseMoveOutDataMessage.md +22 -0
- data/docs/LeaseMoveOutDataPostMessage.md +22 -0
- data/docs/LeaseOutstandingBalanceMessage.md +40 -0
- data/docs/LeaseOutstandingBalanceSearchMessage.md +30 -0
- data/docs/LeasePostMessage.md +38 -0
- data/docs/LeasePutMessage.md +28 -0
- data/docs/LeaseRecurringCreditMessage.md +44 -0
- data/docs/LeaseRecurringPaymentMessage.md +42 -0
- data/docs/LeaseRenewalMessage.md +32 -0
- data/docs/LeaseRenewalPostMessage.md +38 -0
- data/docs/LeaseRentChargeMessage.md +30 -0
- data/docs/LeaseRentChargePostMessage.md +24 -0
- data/docs/LeaseRentMessage.md +34 -0
- data/docs/LeaseRentPostMessage.md +20 -0
- data/docs/LeaseSearchMessage.md +40 -0
- data/docs/LeaseSecurityDepositPostMessage.md +20 -0
- data/docs/LeaseTenantMessage.md +20 -0
- data/docs/LeaseTransactionMessage.md +34 -0
- data/docs/LeaseTransactionSearchMessage.md +22 -0
- data/docs/LeasesApi.md +2865 -0
- data/docs/ListingContactMessage.md +26 -0
- data/docs/ListingContactSaveMessage.md +24 -0
- data/docs/ListingFileMessage.md +22 -0
- data/docs/ListingMessage.md +36 -0
- data/docs/ListingPropertyMessage.md +34 -0
- data/docs/ListingPutMessage.md +28 -0
- data/docs/ListingSearchMessage.md +20 -0
- data/docs/ListingUnitMessage.md +36 -0
- data/docs/ListingsApi.md +642 -0
- data/docs/LockPeriodSettingsGlobalMessage.md +18 -0
- data/docs/LockPeriodSettingsOverridesMessage.md +20 -0
- data/docs/LoggedByStaffUserMessage.md +24 -0
- data/docs/LookupMessage.md +20 -0
- data/docs/MailingTemplateMessage.md +24 -0
- data/docs/NoteMessage.md +22 -0
- data/docs/NotePostMessage.md +18 -0
- data/docs/NotePutMessage.md +18 -0
- data/docs/NoteSearchMessage.md +22 -0
- data/docs/OutstandingBalancesLineMessage.md +20 -0
- data/docs/OwnershipAccountChargeRecurringTransactionMessage.md +40 -0
- data/docs/OwnershipAccountCreditLinePostMessage.md +20 -0
- data/docs/OwnershipAccountCreditPostMessage.md +26 -0
- data/docs/OwnershipAccountDepositWithholdingLinePostMessage.md +20 -0
- data/docs/OwnershipAccountDepositWithholdingPostMessage.md +24 -0
- data/docs/OwnershipAccountLedgerChargeLinesPutMessage.md +22 -0
- data/docs/OwnershipAccountLedgerChargeLinesSaveMessage.md +20 -0
- data/docs/OwnershipAccountLedgerChargePostMessage.md +22 -0
- data/docs/OwnershipAccountLedgerChargePutMessage.md +22 -0
- data/docs/OwnershipAccountLedgerPaymentLineSaveMessage.md +20 -0
- data/docs/OwnershipAccountLedgerPaymentPostMessage.md +30 -0
- data/docs/OwnershipAccountOutstandingBalanceMessage.md +36 -0
- data/docs/OwnershipAccountOutstandingBalanceSearchMessage.md +26 -0
- data/docs/OwnershipAccountRecurringCreditMessage.md +44 -0
- data/docs/OwnershipAccountRecurringPaymentMessage.md +42 -0
- data/docs/OwnershipAccountRefundLineMessage.md +20 -0
- data/docs/OwnershipAccountRefundLinesPostMessage.md +20 -0
- data/docs/OwnershipAccountRefundMessage.md +34 -0
- data/docs/OwnershipAccountRefundPostMessage.md +30 -0
- data/docs/OwnershipAccountTransactionMessage.md +34 -0
- data/docs/PaidByMessage.md +20 -0
- data/docs/ParticipantMessage.md +22 -0
- data/docs/ParticipantResourceMessage.md +20 -0
- data/docs/PayeeMessage.md +24 -0
- data/docs/PaymentDetailMessage.md +24 -0
- data/docs/PaymentRecurringTransactionPostMessage.md +34 -0
- data/docs/PaymentTransactionsMessage.md +22 -0
- data/docs/PhoneLogMessage.md +28 -0
- data/docs/PhoneLogParticipantPostMessage.md +22 -0
- data/docs/PhoneLogParticipantUnitAgreementPostMessage.md +20 -0
- data/docs/PhoneLogPostMessage.md +24 -0
- data/docs/PhoneLogPutMessage.md +22 -0
- data/docs/PhoneLogSearchMessage.md +32 -0
- data/docs/PhoneNumberMessage.md +20 -0
- data/docs/PhoneNumbersMessage.md +24 -0
- data/docs/PropertyGroupMessage.md +26 -0
- data/docs/PropertyGroupPostMessage.md +22 -0
- data/docs/PropertyGroupPutMessage.md +22 -0
- data/docs/PropertyGroupSearchMessage.md +20 -0
- data/docs/PropertyGroupsApi.md +327 -0
- data/docs/PropertyManagerMessage.md +32 -0
- data/docs/PropertyMessage.md +22 -0
- data/docs/RecurringTransactionLineMessage.md +20 -0
- data/docs/RecurringTransactionLinePostMessage.md +20 -0
- data/docs/RecurringTransactionMessage.md +40 -0
- data/docs/RentalApplianceMessage.md +32 -0
- data/docs/RentalAppliancePostMessage.md +32 -0
- data/docs/RentalAppliancePutMessage.md +28 -0
- data/docs/RentalApplianceSearchMessage.md +20 -0
- data/docs/RentalApplianceServiceHistoryMessage.md +24 -0
- data/docs/RentalApplianceServiceHistoryPostMessage.md +22 -0
- data/docs/RentalAppliancesApi.md +646 -0
- data/docs/RentalFeaturesMessage.md +20 -0
- data/docs/RentalFeaturesPutMessage.md +20 -0
- data/docs/RentalMessage.md +40 -0
- data/docs/RentalOwnerMessage.md +46 -0
- data/docs/RentalOwnerPostMessage.md +44 -0
- data/docs/RentalOwnerPutMessage.md +42 -0
- data/docs/RentalOwnerRequestTaskMessage.md +42 -0
- data/docs/RentalOwnerRequestTaskPostMessage.md +38 -0
- data/docs/RentalOwnerRequestTaskPutMessage.md +36 -0
- data/docs/RentalOwnerRequestTaskSearchMessage.md +40 -0
- data/docs/RentalOwnerTaxInformationMessage.md +28 -0
- data/docs/RentalOwnersApi.md +667 -0
- data/docs/RentalOwnersSearchMessage.md +30 -0
- data/docs/RentalPreferredVendorMessage.md +34 -0
- data/docs/RentalPreferredVendorPutMessage.md +18 -0
- data/docs/RentalPropertiesApi.md +989 -0
- data/docs/RentalPropertyPostMessage.md +36 -0
- data/docs/RentalPropertyPutMessage.md +32 -0
- data/docs/RentalPropertyUnitPostMessage.md +30 -0
- data/docs/RentalSearchMessage.md +32 -0
- data/docs/RentalTenantPostMessage.md +42 -0
- data/docs/RentalTenantPutMessage.md +40 -0
- data/docs/RentalTenantRenewalPostMessage.md +40 -0
- data/docs/RentalTenantsApi.md +673 -0
- data/docs/RentalUnitFeaturesMessage.md +18 -0
- data/docs/RentalUnitFeaturesPutMessage.md +18 -0
- data/docs/RentalUnitMessage.md +40 -0
- data/docs/RentalUnitPutMessage.md +30 -0
- data/docs/RentalUnitSearchMessage.md +22 -0
- data/docs/RentalUnitsApi.md +815 -0
- data/docs/RentalUnitsPostMessage.md +32 -0
- data/docs/RequestedByUserEntityMessage.md +28 -0
- data/docs/ResidentCenterApi.md +100 -0
- data/docs/ResidentCenterUserMessage.md +24 -0
- data/docs/ResidentCenterUserReferenceMessage.md +26 -0
- data/docs/ResidentCenterUserSearchMessage.md +26 -0
- data/docs/ResidentRequestTaskMessage.md +52 -0
- data/docs/ResidentRequestTaskPostMessage.md +42 -0
- data/docs/ResidentRequestTaskPutMessage.md +32 -0
- data/docs/ResidentRequestTaskSearchMessage.md +42 -0
- data/docs/SaveAddressMessage.md +30 -0
- data/docs/SaveEmergencyContactMessage.md +24 -0
- data/docs/TaskCategoryMessage.md +24 -0
- data/docs/TaskCategoryPutMessage.md +18 -0
- data/docs/TaskCategoryResponseMessage.md +24 -0
- data/docs/TaskCategorySaveMessage.md +18 -0
- data/docs/TaskHistoryFileMessage.md +28 -0
- data/docs/TaskHistoryFileUploadPostMessage.md +18 -0
- data/docs/TaskHistoryMessage.md +40 -0
- data/docs/TaskHistoryPutMessage.md +18 -0
- data/docs/TaskHistoryUserMessage.md +24 -0
- data/docs/TaskSearchMessage.md +44 -0
- data/docs/TaskSubCategoryMessage.md +20 -0
- data/docs/TasksApi.md +2528 -0
- data/docs/TaxInformationPostMessage.md +26 -0
- data/docs/TaxInformationSaveMessage.md +28 -0
- data/docs/TenantMessage.md +48 -0
- data/docs/TenantSearchMessage.md +36 -0
- data/docs/ToDoTaskMessage.md +40 -0
- data/docs/ToDoTaskPostMessage.md +36 -0
- data/docs/ToDoTaskPutMessage.md +36 -0
- data/docs/ToDoTaskSearchMessage.md +40 -0
- data/docs/UndepositedFundsMessage.md +18 -0
- data/docs/UnitAgreementMessage.md +22 -0
- data/docs/UserMessage.md +40 -0
- data/docs/UserRoleMessage.md +24 -0
- data/docs/UserSearchMessage.md +26 -0
- data/docs/VehicleMessage.md +24 -0
- data/docs/VendorCategoryMessage.md +22 -0
- data/docs/VendorCategorySaveMessage.md +18 -0
- data/docs/VendorCreditLineItemMessage.md +26 -0
- data/docs/VendorCreditLineItemPostMessage.md +24 -0
- data/docs/VendorCreditMessage.md +26 -0
- data/docs/VendorCreditPostMessage.md +24 -0
- data/docs/VendorInsuranceMessage.md +22 -0
- data/docs/VendorInsuranceSaveMessage.md +22 -0
- data/docs/VendorMessage.md +50 -0
- data/docs/VendorPostMessage.md +46 -0
- data/docs/VendorPutMessage.md +46 -0
- data/docs/VendorRefundLineMessage.md +26 -0
- data/docs/VendorRefundLinePostMessage.md +24 -0
- data/docs/VendorRefundMessage.md +30 -0
- data/docs/VendorRefundPostMessage.md +28 -0
- data/docs/VendorSearchMessage.md +32 -0
- data/docs/VendorTaxInformationMessage.md +28 -0
- data/docs/VendorTransactionMessage.md +28 -0
- data/docs/VendorTransactionSearchMessage.md +26 -0
- data/docs/VendorsApi.md +1396 -0
- data/docs/WorkOrderEntryContactMessage.md +20 -0
- data/docs/WorkOrderEntryContactResourceMessage.md +20 -0
- data/docs/WorkOrderLineItemMessage.md +24 -0
- data/docs/WorkOrderLineItemSaveMessage.md +24 -0
- data/docs/WorkOrderMessage.md +42 -0
- data/docs/WorkOrderPostMessage.md +38 -0
- data/docs/WorkOrderPutMessage.md +34 -0
- data/docs/WorkOrderSearchMessage.md +54 -0
- data/docs/WorkOrderTaskMessage.md +32 -0
- data/docs/WorkOrderTaskPostMessage.md +30 -0
- data/docs/WorkOrdersApi.md +361 -0
- data/lib/buildium-ruby/api/accounting_api.rb +1855 -0
- data/lib/buildium-ruby/api/administration_api.rb +417 -0
- data/lib/buildium-ruby/api/applicants_api.rb +1368 -0
- data/lib/buildium-ruby/api/association_appliances_api.rb +577 -0
- data/lib/buildium-ruby/api/association_owners_api.rb +849 -0
- data/lib/buildium-ruby/api/association_ownership_accounts_api.rb +1890 -0
- data/lib/buildium-ruby/api/association_tenants_api.rb +628 -0
- data/lib/buildium-ruby/api/association_units_api.rb +606 -0
- data/lib/buildium-ruby/api/associations_api.rb +1143 -0
- data/lib/buildium-ruby/api/bank_accounts_api.rb +2085 -0
- data/lib/buildium-ruby/api/client_leads_api.rb +174 -0
- data/lib/buildium-ruby/api/communications_api.rb +1097 -0
- data/lib/buildium-ruby/api/files_api.rb +652 -0
- data/lib/buildium-ruby/api/leases_api.rb +2636 -0
- data/lib/buildium-ruby/api/listings_api.rb +569 -0
- data/lib/buildium-ruby/api/property_groups_api.rb +299 -0
- data/lib/buildium-ruby/api/rental_appliances_api.rb +577 -0
- data/lib/buildium-ruby/api/rental_owners_api.rb +622 -0
- data/lib/buildium-ruby/api/rental_properties_api.rb +916 -0
- data/lib/buildium-ruby/api/rental_tenants_api.rb +635 -0
- data/lib/buildium-ruby/api/rental_units_api.rb +743 -0
- data/lib/buildium-ruby/api/resident_center_api.rb +111 -0
- data/lib/buildium-ruby/api/tasks_api.rb +2363 -0
- data/lib/buildium-ruby/api/vendors_api.rb +1285 -0
- data/lib/buildium-ruby/api/work_orders_api.rb +366 -0
- data/lib/buildium-ruby/api_client.rb +426 -0
- data/lib/buildium-ruby/api_error.rb +57 -0
- data/lib/buildium-ruby/configuration.rb +319 -0
- data/lib/buildium-ruby/models/account_info_message.rb +257 -0
- data/lib/buildium-ruby/models/accounting_entity_message.rb +273 -0
- data/lib/buildium-ruby/models/accounting_entity_save_message.rb +273 -0
- data/lib/buildium-ruby/models/accounting_lock_period_message.rb +242 -0
- data/lib/buildium-ruby/models/accounting_settings_message.rb +314 -0
- data/lib/buildium-ruby/models/address_message.rb +313 -0
- data/lib/buildium-ruby/models/all_tasks_message.rb +413 -0
- data/lib/buildium-ruby/models/announcement_message.rb +301 -0
- data/lib/buildium-ruby/models/announcement_post_message.rb +295 -0
- data/lib/buildium-ruby/models/announcement_search_message.rb +292 -0
- data/lib/buildium-ruby/models/announcement_sender_message.rb +239 -0
- data/lib/buildium-ruby/models/api_error_response.rb +237 -0
- data/lib/buildium-ruby/models/appliance_message.rb +259 -0
- data/lib/buildium-ruby/models/applicant_application_message.rb +282 -0
- data/lib/buildium-ruby/models/applicant_group_message.rb +294 -0
- data/lib/buildium-ruby/models/applicant_group_post_message.rb +235 -0
- data/lib/buildium-ruby/models/applicant_group_put_message.rb +284 -0
- data/lib/buildium-ruby/models/applicant_group_search_message.rb +296 -0
- data/lib/buildium-ruby/models/applicant_message.rb +312 -0
- data/lib/buildium-ruby/models/applicant_post_message.rb +283 -0
- data/lib/buildium-ruby/models/applicant_put_message.rb +267 -0
- data/lib/buildium-ruby/models/applicant_search_message.rb +326 -0
- data/lib/buildium-ruby/models/application_message.rb +294 -0
- data/lib/buildium-ruby/models/application_put_message.rb +257 -0
- data/lib/buildium-ruby/models/application_response_field_message.rb +294 -0
- data/lib/buildium-ruby/models/application_response_message.rb +274 -0
- data/lib/buildium-ruby/models/application_section_response_message.rb +219 -0
- data/lib/buildium-ruby/models/association_appliance_message.rb +288 -0
- data/lib/buildium-ruby/models/association_appliance_post_message.rb +298 -0
- data/lib/buildium-ruby/models/association_appliance_put_message.rb +273 -0
- data/lib/buildium-ruby/models/association_appliance_search_message.rb +232 -0
- data/lib/buildium-ruby/models/association_appliance_service_history_message.rb +282 -0
- data/lib/buildium-ruby/models/association_appliance_service_history_post_message.rb +282 -0
- data/lib/buildium-ruby/models/association_board_member_message.rb +344 -0
- data/lib/buildium-ruby/models/association_board_member_post_message.rb +293 -0
- data/lib/buildium-ruby/models/association_board_member_put_message.rb +278 -0
- data/lib/buildium-ruby/models/association_board_member_search_message.rb +274 -0
- data/lib/buildium-ruby/models/association_message.rb +327 -0
- data/lib/buildium-ruby/models/association_owner_board_term_message.rb +303 -0
- data/lib/buildium-ruby/models/association_owner_board_term_post_message.rb +278 -0
- data/lib/buildium-ruby/models/association_owner_message.rb +440 -0
- data/lib/buildium-ruby/models/association_owner_post_message.rb +398 -0
- data/lib/buildium-ruby/models/association_owner_put_message.rb +363 -0
- data/lib/buildium-ruby/models/association_owner_to_existing_ownership_account_post_message.rb +428 -0
- data/lib/buildium-ruby/models/association_owner_unit_occupancy_put_message.rb +223 -0
- data/lib/buildium-ruby/models/association_owner_unit_occupancy_status_message.rb +228 -0
- data/lib/buildium-ruby/models/association_ownership_account_message.rb +347 -0
- data/lib/buildium-ruby/models/association_ownership_account_post_message.rb +346 -0
- data/lib/buildium-ruby/models/association_ownership_account_put_message.rb +223 -0
- data/lib/buildium-ruby/models/association_ownership_account_search_message.rb +296 -0
- data/lib/buildium-ruby/models/association_post_message.rb +302 -0
- data/lib/buildium-ruby/models/association_preferred_vendor_message.rb +300 -0
- data/lib/buildium-ruby/models/association_preferred_vendor_put_message.rb +225 -0
- data/lib/buildium-ruby/models/association_put_message.rb +322 -0
- data/lib/buildium-ruby/models/association_search_message.rb +283 -0
- data/lib/buildium-ruby/models/association_tenant_message.rb +350 -0
- data/lib/buildium-ruby/models/association_tenant_post_message.rb +354 -0
- data/lib/buildium-ruby/models/association_tenant_put_message.rb +329 -0
- data/lib/buildium-ruby/models/association_unit_message.rb +334 -0
- data/lib/buildium-ruby/models/association_unit_put_message.rb +313 -0
- data/lib/buildium-ruby/models/association_unit_search_message.rb +241 -0
- data/lib/buildium-ruby/models/association_units_post_message.rb +328 -0
- data/lib/buildium-ruby/models/association_user_search_message.rb +324 -0
- data/lib/buildium-ruby/models/bank_account_check_accounting_entity_save_message.rb +272 -0
- data/lib/buildium-ruby/models/bank_account_check_line_message.rb +267 -0
- data/lib/buildium-ruby/models/bank_account_check_line_save_message.rb +272 -0
- data/lib/buildium-ruby/models/bank_account_check_message.rb +279 -0
- data/lib/buildium-ruby/models/bank_account_check_payee_message.rb +272 -0
- data/lib/buildium-ruby/models/bank_account_check_payee_save_message.rb +272 -0
- data/lib/buildium-ruby/models/bank_account_check_post_message.rb +274 -0
- data/lib/buildium-ruby/models/bank_account_check_put_message.rb +274 -0
- data/lib/buildium-ruby/models/bank_account_check_search_message.rb +238 -0
- data/lib/buildium-ruby/models/bank_account_deposit_line_message.rb +267 -0
- data/lib/buildium-ruby/models/bank_account_deposit_line_save_message.rb +257 -0
- data/lib/buildium-ruby/models/bank_account_deposit_message.rb +272 -0
- data/lib/buildium-ruby/models/bank_account_deposit_post_message.rb +257 -0
- data/lib/buildium-ruby/models/bank_account_deposit_put_message.rb +250 -0
- data/lib/buildium-ruby/models/bank_account_deposit_search_message.rb +238 -0
- data/lib/buildium-ruby/models/bank_account_message.rb +360 -0
- data/lib/buildium-ruby/models/bank_account_post_message.rb +338 -0
- data/lib/buildium-ruby/models/bank_account_put_message.rb +343 -0
- data/lib/buildium-ruby/models/bank_account_quick_deposit_message.rb +267 -0
- data/lib/buildium-ruby/models/bank_account_quick_deposit_save_message.rb +277 -0
- data/lib/buildium-ruby/models/bank_account_quick_deposit_search_message.rb +238 -0
- data/lib/buildium-ruby/models/bank_account_search_message.rb +263 -0
- data/lib/buildium-ruby/models/bank_account_transaction_message.rb +359 -0
- data/lib/buildium-ruby/models/bank_account_transaction_search_message.rb +292 -0
- data/lib/buildium-ruby/models/bank_account_transfer_accounting_entity_save_message.rb +272 -0
- data/lib/buildium-ruby/models/bank_account_transfer_message.rb +267 -0
- data/lib/buildium-ruby/models/bank_account_transfer_save_message.rb +277 -0
- data/lib/buildium-ruby/models/bank_account_transfer_search_message.rb +238 -0
- data/lib/buildium-ruby/models/bank_account_withdrawal_message.rb +267 -0
- data/lib/buildium-ruby/models/bank_account_withdrawal_save_message.rb +277 -0
- data/lib/buildium-ruby/models/bank_account_withdrawal_search_message.rb +238 -0
- data/lib/buildium-ruby/models/bill_file_message.rb +268 -0
- data/lib/buildium-ruby/models/bill_line_message.rb +266 -0
- data/lib/buildium-ruby/models/bill_line_post_message.rb +272 -0
- data/lib/buildium-ruby/models/bill_line_put_message.rb +282 -0
- data/lib/buildium-ruby/models/bill_markup_message.rb +263 -0
- data/lib/buildium-ruby/models/bill_markup_save_message.rb +273 -0
- data/lib/buildium-ruby/models/bill_message.rb +344 -0
- data/lib/buildium-ruby/models/bill_payment_accounting_entity_message.rb +263 -0
- data/lib/buildium-ruby/models/bill_payment_line_message.rb +238 -0
- data/lib/buildium-ruby/models/bill_payment_line_post_message.rb +238 -0
- data/lib/buildium-ruby/models/bill_payment_message.rb +270 -0
- data/lib/buildium-ruby/models/bill_payment_post_message.rb +275 -0
- data/lib/buildium-ruby/models/bill_post_message.rb +301 -0
- data/lib/buildium-ruby/models/bill_put_message.rb +286 -0
- data/lib/buildium-ruby/models/bill_search_message.rb +336 -0
- data/lib/buildium-ruby/models/budget_details_message.rb +281 -0
- data/lib/buildium-ruby/models/budget_details_save_message.rb +237 -0
- data/lib/buildium-ruby/models/budget_message.rb +269 -0
- data/lib/buildium-ruby/models/budget_monthly_amounts_message.rb +328 -0
- data/lib/buildium-ruby/models/budget_monthly_amounts_save_message.rb +388 -0
- data/lib/buildium-ruby/models/budget_post_message.rb +319 -0
- data/lib/buildium-ruby/models/budget_put_message.rb +240 -0
- data/lib/buildium-ruby/models/budget_search_message.rb +240 -0
- data/lib/buildium-ruby/models/charge_recurring_transaction_post_message.rb +359 -0
- data/lib/buildium-ruby/models/charge_recurring_transaction_put_message.rb +374 -0
- data/lib/buildium-ruby/models/check_printing_info_message.rb +392 -0
- data/lib/buildium-ruby/models/check_printing_info_post_message.rb +392 -0
- data/lib/buildium-ruby/models/check_printing_info_put_message.rb +407 -0
- data/lib/buildium-ruby/models/client_lead_credit_request_message.rb +295 -0
- data/lib/buildium-ruby/models/client_lead_message.rb +363 -0
- data/lib/buildium-ruby/models/client_lead_search_message.rb +285 -0
- data/lib/buildium-ruby/models/contact_detail_message.rb +248 -0
- data/lib/buildium-ruby/models/contact_detail_phone_message.rb +239 -0
- data/lib/buildium-ruby/models/contact_detail_save_message.rb +253 -0
- data/lib/buildium-ruby/models/contact_detail_save_phone_message.rb +239 -0
- data/lib/buildium-ruby/models/contact_info_message.rb +248 -0
- data/lib/buildium-ruby/models/contact_request_task_message.rb +381 -0
- data/lib/buildium-ruby/models/contact_request_task_post_message.rb +388 -0
- data/lib/buildium-ruby/models/contact_request_task_put_message.rb +388 -0
- data/lib/buildium-ruby/models/contact_request_task_search_message.rb +366 -0
- data/lib/buildium-ruby/models/cosigner_message.rb +343 -0
- data/lib/buildium-ruby/models/created_by_user_message.rb +248 -0
- data/lib/buildium-ruby/models/credit_recurring_transaction_post_message.rb +388 -0
- data/lib/buildium-ruby/models/deposit_detail_message.rb +231 -0
- data/lib/buildium-ruby/models/electronic_payments_message.rb +288 -0
- data/lib/buildium-ruby/models/email_message.rb +247 -0
- data/lib/buildium-ruby/models/email_post_message.rb +307 -0
- data/lib/buildium-ruby/models/email_recipient_message.rb +292 -0
- data/lib/buildium-ruby/models/email_search_message.rb +268 -0
- data/lib/buildium-ruby/models/email_sender_message.rb +248 -0
- data/lib/buildium-ruby/models/emergency_contact_message.rb +249 -0
- data/lib/buildium-ruby/models/file_category_message.rb +239 -0
- data/lib/buildium-ruby/models/file_category_post_message.rb +224 -0
- data/lib/buildium-ruby/models/file_category_put_message.rb +224 -0
- data/lib/buildium-ruby/models/file_download_message.rb +218 -0
- data/lib/buildium-ruby/models/file_entity_message.rb +273 -0
- data/lib/buildium-ruby/models/file_message.rb +297 -0
- data/lib/buildium-ruby/models/file_name_post_message.rb +223 -0
- data/lib/buildium-ruby/models/file_put_message.rb +248 -0
- data/lib/buildium-ruby/models/file_search_message.rb +315 -0
- data/lib/buildium-ruby/models/file_upload_post_message.rb +322 -0
- data/lib/buildium-ruby/models/file_upload_ticket_message.rb +240 -0
- data/lib/buildium-ruby/models/general_journal_entry_line_save_message.rb +297 -0
- data/lib/buildium-ruby/models/general_journal_entry_post_message.rb +264 -0
- data/lib/buildium-ruby/models/general_journal_entry_put_message.rb +264 -0
- data/lib/buildium-ruby/models/general_ledger_journal_line_message.rb +267 -0
- data/lib/buildium-ruby/models/general_ledger_journal_message.rb +230 -0
- data/lib/buildium-ruby/models/general_ledger_transaction_message.rb +349 -0
- data/lib/buildium-ruby/models/general_ledger_transaction_search_message.rb +310 -0
- data/lib/buildium-ruby/models/gl_account_balance_item_message.rb +228 -0
- data/lib/buildium-ruby/models/gl_account_balance_message.rb +240 -0
- data/lib/buildium-ruby/models/gl_account_balance_search_message.rb +317 -0
- data/lib/buildium-ruby/models/gl_account_message.rb +419 -0
- data/lib/buildium-ruby/models/gl_account_post_message.rb +349 -0
- data/lib/buildium-ruby/models/gl_account_put_message.rb +344 -0
- data/lib/buildium-ruby/models/gl_accounts_search_message.rb +243 -0
- data/lib/buildium-ruby/models/gl_transaction_message_v1.rb +258 -0
- data/lib/buildium-ruby/models/internal_transaction_status_message.rb +239 -0
- data/lib/buildium-ruby/models/journal_line_message.rb +268 -0
- data/lib/buildium-ruby/models/journal_message.rb +230 -0
- data/lib/buildium-ruby/models/last_updated_by_user_message.rb +259 -0
- data/lib/buildium-ruby/models/lease_account_detail_message.rb +229 -0
- data/lib/buildium-ruby/models/lease_charge_line_save_message.rb +249 -0
- data/lib/buildium-ruby/models/lease_charge_post_message.rb +241 -0
- data/lib/buildium-ruby/models/lease_charge_put_message.rb +250 -0
- data/lib/buildium-ruby/models/lease_charge_recurring_transaction_message.rb +374 -0
- data/lib/buildium-ruby/models/lease_cosigner_post_message.rb +330 -0
- data/lib/buildium-ruby/models/lease_ledger_credit_line_post_message.rb +239 -0
- data/lib/buildium-ruby/models/lease_ledger_credit_post_message.rb +309 -0
- data/lib/buildium-ruby/models/lease_ledger_deposit_withholding_line_post_message.rb +238 -0
- data/lib/buildium-ruby/models/lease_ledger_deposit_withholding_post_message.rb +260 -0
- data/lib/buildium-ruby/models/lease_ledger_payment_line_save_message.rb +239 -0
- data/lib/buildium-ruby/models/lease_ledger_payment_post_message.rb +335 -0
- data/lib/buildium-ruby/models/lease_ledger_refund_line_message.rb +228 -0
- data/lib/buildium-ruby/models/lease_ledger_refund_line_post_message.rb +238 -0
- data/lib/buildium-ruby/models/lease_ledger_refund_message.rb +301 -0
- data/lib/buildium-ruby/models/lease_ledger_refund_post_message.rb +306 -0
- data/lib/buildium-ruby/models/lease_ledger_reverse_payment_nsf_charge_post_message.rb +239 -0
- data/lib/buildium-ruby/models/lease_ledger_reverse_payment_other_bank_charge_post_message.rb +239 -0
- data/lib/buildium-ruby/models/lease_ledger_reverse_payment_post_message.rb +256 -0
- data/lib/buildium-ruby/models/lease_message.rb +496 -0
- data/lib/buildium-ruby/models/lease_move_out_data_message.rb +238 -0
- data/lib/buildium-ruby/models/lease_move_out_data_post_message.rb +248 -0
- data/lib/buildium-ruby/models/lease_outstanding_balance_message.rb +330 -0
- data/lib/buildium-ruby/models/lease_outstanding_balance_search_message.rb +345 -0
- data/lib/buildium-ruby/models/lease_post_message.rb +379 -0
- data/lib/buildium-ruby/models/lease_put_message.rb +322 -0
- data/lib/buildium-ruby/models/lease_recurring_credit_message.rb +408 -0
- data/lib/buildium-ruby/models/lease_recurring_payment_message.rb +397 -0
- data/lib/buildium-ruby/models/lease_renewal_message.rb +336 -0
- data/lib/buildium-ruby/models/lease_renewal_post_message.rb +378 -0
- data/lib/buildium-ruby/models/lease_rent_charge_message.rb +278 -0
- data/lib/buildium-ruby/models/lease_rent_charge_post_message.rb +263 -0
- data/lib/buildium-ruby/models/lease_rent_message.rb +334 -0
- data/lib/buildium-ruby/models/lease_rent_post_message.rb +275 -0
- data/lib/buildium-ruby/models/lease_search_message.rb +359 -0
- data/lib/buildium-ruby/models/lease_security_deposit_post_message.rb +239 -0
- data/lib/buildium-ruby/models/lease_tenant_message.rb +262 -0
- data/lib/buildium-ruby/models/lease_transaction_message.rb +298 -0
- data/lib/buildium-ruby/models/lease_transaction_search_message.rb +263 -0
- data/lib/buildium-ruby/models/listing_contact_message.rb +259 -0
- data/lib/buildium-ruby/models/listing_contact_save_message.rb +253 -0
- data/lib/buildium-ruby/models/listing_file_message.rb +272 -0
- data/lib/buildium-ruby/models/listing_message.rb +305 -0
- data/lib/buildium-ruby/models/listing_property_message.rb +326 -0
- data/lib/buildium-ruby/models/listing_put_message.rb +283 -0
- data/lib/buildium-ruby/models/listing_search_message.rb +262 -0
- data/lib/buildium-ruby/models/listing_unit_message.rb +358 -0
- data/lib/buildium-ruby/models/lock_period_settings_global_message.rb +218 -0
- data/lib/buildium-ruby/models/lock_period_settings_overrides_message.rb +227 -0
- data/lib/buildium-ruby/models/logged_by_staff_user_message.rb +249 -0
- data/lib/buildium-ruby/models/lookup_message.rb +226 -0
- data/lib/buildium-ruby/models/mailing_template_message.rb +282 -0
- data/lib/buildium-ruby/models/note_message.rb +237 -0
- data/lib/buildium-ruby/models/note_post_message.rb +223 -0
- data/lib/buildium-ruby/models/note_put_message.rb +223 -0
- data/lib/buildium-ruby/models/note_search_message.rb +238 -0
- data/lib/buildium-ruby/models/outstanding_balances_line_message.rb +228 -0
- data/lib/buildium-ruby/models/ownership_account_charge_recurring_transaction_message.rb +374 -0
- data/lib/buildium-ruby/models/ownership_account_credit_line_post_message.rb +238 -0
- data/lib/buildium-ruby/models/ownership_account_credit_post_message.rb +309 -0
- data/lib/buildium-ruby/models/ownership_account_deposit_withholding_line_post_message.rb +238 -0
- data/lib/buildium-ruby/models/ownership_account_deposit_withholding_post_message.rb +260 -0
- data/lib/buildium-ruby/models/ownership_account_ledger_charge_lines_put_message.rb +248 -0
- data/lib/buildium-ruby/models/ownership_account_ledger_charge_lines_save_message.rb +238 -0
- data/lib/buildium-ruby/models/ownership_account_ledger_charge_post_message.rb +250 -0
- data/lib/buildium-ruby/models/ownership_account_ledger_charge_put_message.rb +250 -0
- data/lib/buildium-ruby/models/ownership_account_ledger_payment_line_save_message.rb +239 -0
- data/lib/buildium-ruby/models/ownership_account_ledger_payment_post_message.rb +335 -0
- data/lib/buildium-ruby/models/ownership_account_outstanding_balance_message.rb +310 -0
- data/lib/buildium-ruby/models/ownership_account_outstanding_balance_search_message.rb +308 -0
- data/lib/buildium-ruby/models/ownership_account_recurring_credit_message.rb +408 -0
- data/lib/buildium-ruby/models/ownership_account_recurring_payment_message.rb +397 -0
- data/lib/buildium-ruby/models/ownership_account_refund_line_message.rb +228 -0
- data/lib/buildium-ruby/models/ownership_account_refund_lines_post_message.rb +238 -0
- data/lib/buildium-ruby/models/ownership_account_refund_message.rb +301 -0
- data/lib/buildium-ruby/models/ownership_account_refund_post_message.rb +306 -0
- data/lib/buildium-ruby/models/ownership_account_transaction_message.rb +298 -0
- data/lib/buildium-ruby/models/paid_by_message.rb +228 -0
- data/lib/buildium-ruby/models/participant_message.rb +240 -0
- data/lib/buildium-ruby/models/participant_resource_message.rb +263 -0
- data/lib/buildium-ruby/models/payee_message.rb +283 -0
- data/lib/buildium-ruby/models/payment_detail_message.rb +281 -0
- data/lib/buildium-ruby/models/payment_recurring_transaction_post_message.rb +378 -0
- data/lib/buildium-ruby/models/payment_transactions_message.rb +237 -0
- data/lib/buildium-ruby/models/phone_log_message.rb +266 -0
- data/lib/buildium-ruby/models/phone_log_participant_post_message.rb +282 -0
- data/lib/buildium-ruby/models/phone_log_participant_unit_agreement_post_message.rb +263 -0
- data/lib/buildium-ruby/models/phone_log_post_message.rb +267 -0
- data/lib/buildium-ruby/models/phone_log_put_message.rb +253 -0
- data/lib/buildium-ruby/models/phone_log_search_message.rb +336 -0
- data/lib/buildium-ruby/models/phone_number_message.rb +263 -0
- data/lib/buildium-ruby/models/phone_numbers_message.rb +249 -0
- data/lib/buildium-ruby/models/property_group_message.rb +259 -0
- data/lib/buildium-ruby/models/property_group_post_message.rb +250 -0
- data/lib/buildium-ruby/models/property_group_put_message.rb +250 -0
- data/lib/buildium-ruby/models/property_group_search_message.rb +230 -0
- data/lib/buildium-ruby/models/property_manager_message.rb +291 -0
- data/lib/buildium-ruby/models/property_message.rb +273 -0
- data/lib/buildium-ruby/models/recurring_transaction_line_message.rb +228 -0
- data/lib/buildium-ruby/models/recurring_transaction_line_post_message.rb +238 -0
- data/lib/buildium-ruby/models/recurring_transaction_message.rb +388 -0
- data/lib/buildium-ruby/models/rental_appliance_message.rb +288 -0
- data/lib/buildium-ruby/models/rental_appliance_post_message.rb +298 -0
- data/lib/buildium-ruby/models/rental_appliance_put_message.rb +273 -0
- data/lib/buildium-ruby/models/rental_appliance_search_message.rb +232 -0
- data/lib/buildium-ruby/models/rental_appliance_service_history_message.rb +282 -0
- data/lib/buildium-ruby/models/rental_appliance_service_history_post_message.rb +282 -0
- data/lib/buildium-ruby/models/rental_features_message.rb +255 -0
- data/lib/buildium-ruby/models/rental_features_put_message.rb +254 -0
- data/lib/buildium-ruby/models/rental_message.rb +373 -0
- data/lib/buildium-ruby/models/rental_owner_message.rb +361 -0
- data/lib/buildium-ruby/models/rental_owner_post_message.rb +363 -0
- data/lib/buildium-ruby/models/rental_owner_put_message.rb +354 -0
- data/lib/buildium-ruby/models/rental_owner_request_task_message.rb +381 -0
- data/lib/buildium-ruby/models/rental_owner_request_task_post_message.rb +384 -0
- data/lib/buildium-ruby/models/rental_owner_request_task_put_message.rb +369 -0
- data/lib/buildium-ruby/models/rental_owner_request_task_search_message.rb +366 -0
- data/lib/buildium-ruby/models/rental_owner_tax_information_message.rb +302 -0
- data/lib/buildium-ruby/models/rental_owners_search_message.rb +314 -0
- data/lib/buildium-ruby/models/rental_preferred_vendor_message.rb +300 -0
- data/lib/buildium-ruby/models/rental_preferred_vendor_put_message.rb +225 -0
- data/lib/buildium-ruby/models/rental_property_post_message.rb +365 -0
- data/lib/buildium-ruby/models/rental_property_put_message.rb +341 -0
- data/lib/buildium-ruby/models/rental_property_unit_post_message.rb +333 -0
- data/lib/buildium-ruby/models/rental_search_message.rb +330 -0
- data/lib/buildium-ruby/models/rental_tenant_post_message.rb +388 -0
- data/lib/buildium-ruby/models/rental_tenant_put_message.rb +373 -0
- data/lib/buildium-ruby/models/rental_tenant_renewal_post_message.rb +373 -0
- data/lib/buildium-ruby/models/rental_unit_features_message.rb +243 -0
- data/lib/buildium-ruby/models/rental_unit_features_put_message.rb +242 -0
- data/lib/buildium-ruby/models/rental_unit_message.rb +374 -0
- data/lib/buildium-ruby/models/rental_unit_put_message.rb +333 -0
- data/lib/buildium-ruby/models/rental_unit_search_message.rb +240 -0
- data/lib/buildium-ruby/models/rental_units_post_message.rb +348 -0
- data/lib/buildium-ruby/models/requested_by_user_entity_message.rb +303 -0
- data/lib/buildium-ruby/models/resident_center_user_message.rb +280 -0
- data/lib/buildium-ruby/models/resident_center_user_reference_message.rb +292 -0
- data/lib/buildium-ruby/models/resident_center_user_search_message.rb +288 -0
- data/lib/buildium-ruby/models/resident_request_task_message.rb +429 -0
- data/lib/buildium-ruby/models/resident_request_task_post_message.rb +409 -0
- data/lib/buildium-ruby/models/resident_request_task_put_message.rb +349 -0
- data/lib/buildium-ruby/models/resident_request_task_search_message.rb +376 -0
- data/lib/buildium-ruby/models/save_address_message.rb +323 -0
- data/lib/buildium-ruby/models/save_emergency_contact_message.rb +248 -0
- data/lib/buildium-ruby/models/task_category_message.rb +251 -0
- data/lib/buildium-ruby/models/task_category_put_message.rb +224 -0
- data/lib/buildium-ruby/models/task_category_response_message.rb +248 -0
- data/lib/buildium-ruby/models/task_category_save_message.rb +224 -0
- data/lib/buildium-ruby/models/task_history_file_message.rb +268 -0
- data/lib/buildium-ruby/models/task_history_file_upload_post_message.rb +223 -0
- data/lib/buildium-ruby/models/task_history_message.rb +376 -0
- data/lib/buildium-ruby/models/task_history_put_message.rb +223 -0
- data/lib/buildium-ruby/models/task_history_user_message.rb +249 -0
- data/lib/buildium-ruby/models/task_search_message.rb +398 -0
- data/lib/buildium-ruby/models/task_sub_category_message.rb +229 -0
- data/lib/buildium-ruby/models/tax_information_post_message.rb +292 -0
- data/lib/buildium-ruby/models/tax_information_save_message.rb +307 -0
- data/lib/buildium-ruby/models/tenant_message.rb +404 -0
- data/lib/buildium-ruby/models/tenant_search_message.rb +339 -0
- data/lib/buildium-ruby/models/to_do_task_message.rb +372 -0
- data/lib/buildium-ruby/models/to_do_task_post_message.rb +374 -0
- data/lib/buildium-ruby/models/to_do_task_put_message.rb +374 -0
- data/lib/buildium-ruby/models/to_do_task_search_message.rb +366 -0
- data/lib/buildium-ruby/models/undeposited_funds_message.rb +217 -0
- data/lib/buildium-ruby/models/unit_agreement_message.rb +273 -0
- data/lib/buildium-ruby/models/user_message.rb +354 -0
- data/lib/buildium-ruby/models/user_role_message.rb +249 -0
- data/lib/buildium-ruby/models/user_search_message.rb +297 -0
- data/lib/buildium-ruby/models/vehicle_message.rb +249 -0
- data/lib/buildium-ruby/models/vendor_category_message.rb +239 -0
- data/lib/buildium-ruby/models/vendor_category_save_message.rb +223 -0
- data/lib/buildium-ruby/models/vendor_credit_line_item_message.rb +257 -0
- data/lib/buildium-ruby/models/vendor_credit_line_item_post_message.rb +262 -0
- data/lib/buildium-ruby/models/vendor_credit_message.rb +260 -0
- data/lib/buildium-ruby/models/vendor_credit_post_message.rb +260 -0
- data/lib/buildium-ruby/models/vendor_insurance_message.rb +239 -0
- data/lib/buildium-ruby/models/vendor_insurance_save_message.rb +239 -0
- data/lib/buildium-ruby/models/vendor_message.rb +377 -0
- data/lib/buildium-ruby/models/vendor_post_message.rb +364 -0
- data/lib/buildium-ruby/models/vendor_put_message.rb +364 -0
- data/lib/buildium-ruby/models/vendor_refund_line_message.rb +257 -0
- data/lib/buildium-ruby/models/vendor_refund_line_post_message.rb +262 -0
- data/lib/buildium-ruby/models/vendor_refund_message.rb +314 -0
- data/lib/buildium-ruby/models/vendor_refund_post_message.rb +324 -0
- data/lib/buildium-ruby/models/vendor_search_message.rb +334 -0
- data/lib/buildium-ruby/models/vendor_tax_information_message.rb +302 -0
- data/lib/buildium-ruby/models/vendor_transaction_message.rb +302 -0
- data/lib/buildium-ruby/models/vendor_transaction_search_message.rb +292 -0
- data/lib/buildium-ruby/models/work_order_entry_contact_message.rb +231 -0
- data/lib/buildium-ruby/models/work_order_entry_contact_resource_message.rb +263 -0
- data/lib/buildium-ruby/models/work_order_line_item_message.rb +249 -0
- data/lib/buildium-ruby/models/work_order_line_item_save_message.rb +258 -0
- data/lib/buildium-ruby/models/work_order_message.rb +372 -0
- data/lib/buildium-ruby/models/work_order_post_message.rb +363 -0
- data/lib/buildium-ruby/models/work_order_put_message.rb +344 -0
- data/lib/buildium-ruby/models/work_order_search_message.rb +452 -0
- data/lib/buildium-ruby/models/work_order_task_message.rb +346 -0
- data/lib/buildium-ruby/models/work_order_task_post_message.rb +345 -0
- data/lib/buildium-ruby/version.rb +15 -0
- data/lib/buildium-ruby.rb +438 -0
- data/openapitools.json +7 -0
- data/spec/api/accounting_api_spec.rb +383 -0
- data/spec/api/administration_api_spec.rb +114 -0
- data/spec/api/applicants_api_spec.rb +294 -0
- data/spec/api/association_appliances_api_spec.rb +141 -0
- data/spec/api/association_owners_api_spec.rb +195 -0
- data/spec/api/association_ownership_accounts_api_spec.rb +385 -0
- data/spec/api/association_tenants_api_spec.rb +153 -0
- data/spec/api/association_units_api_spec.rb +147 -0
- data/spec/api/associations_api_spec.rb +248 -0
- data/spec/api/bank_accounts_api_spec.rb +420 -0
- data/spec/api/client_leads_api_spec.rb +66 -0
- data/spec/api/communications_api_spec.rb +248 -0
- data/spec/api/files_api_spec.rb +156 -0
- data/spec/api/leases_api_spec.rb +529 -0
- data/spec/api/listings_api_spec.rb +139 -0
- data/spec/api/property_groups_api_spec.rb +88 -0
- data/spec/api/rental_appliances_api_spec.rb +141 -0
- data/spec/api/rental_owners_api_spec.rb +151 -0
- data/spec/api/rental_properties_api_spec.rb +205 -0
- data/spec/api/rental_tenants_api_spec.rb +154 -0
- data/spec/api/rental_units_api_spec.rb +172 -0
- data/spec/api/resident_center_api_spec.rb +54 -0
- data/spec/api/tasks_api_spec.rb +493 -0
- data/spec/api/vendors_api_spec.rb +275 -0
- data/spec/api/work_orders_api_spec.rb +105 -0
- data/spec/api_client_spec.rb +188 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/account_info_message_spec.rb +58 -0
- data/spec/models/accounting_entity_message_spec.rb +50 -0
- data/spec/models/accounting_entity_save_message_spec.rb +44 -0
- data/spec/models/accounting_lock_period_message_spec.rb +46 -0
- data/spec/models/accounting_settings_message_spec.rb +72 -0
- data/spec/models/address_message_spec.rb +74 -0
- data/spec/models/all_tasks_message_spec.rb +130 -0
- data/spec/models/announcement_message_spec.rb +74 -0
- data/spec/models/announcement_post_message_spec.rb +64 -0
- data/spec/models/announcement_search_message_spec.rb +62 -0
- data/spec/models/announcement_sender_message_spec.rb +46 -0
- data/spec/models/api_error_response_spec.rb +46 -0
- data/spec/models/appliance_message_spec.rb +58 -0
- data/spec/models/applicant_application_message_spec.rb +56 -0
- data/spec/models/applicant_group_message_spec.rb +62 -0
- data/spec/models/applicant_group_post_message_spec.rb +40 -0
- data/spec/models/applicant_group_put_message_spec.rb +50 -0
- data/spec/models/applicant_group_search_message_spec.rb +66 -0
- data/spec/models/applicant_message_spec.rb +88 -0
- data/spec/models/applicant_post_message_spec.rb +64 -0
- data/spec/models/applicant_put_message_spec.rb +58 -0
- data/spec/models/applicant_search_message_spec.rb +84 -0
- data/spec/models/application_message_spec.rb +62 -0
- data/spec/models/application_put_message_spec.rb +38 -0
- data/spec/models/application_response_field_message_spec.rb +60 -0
- data/spec/models/application_response_message_spec.rb +50 -0
- data/spec/models/application_section_response_message_spec.rb +34 -0
- data/spec/models/association_appliance_message_spec.rb +76 -0
- data/spec/models/association_appliance_post_message_spec.rb +76 -0
- data/spec/models/association_appliance_put_message_spec.rb +64 -0
- data/spec/models/association_appliance_search_message_spec.rb +40 -0
- data/spec/models/association_appliance_service_history_message_spec.rb +56 -0
- data/spec/models/association_appliance_service_history_post_message_spec.rb +50 -0
- data/spec/models/association_board_member_message_spec.rb +92 -0
- data/spec/models/association_board_member_post_message_spec.rb +56 -0
- data/spec/models/association_board_member_put_message_spec.rb +50 -0
- data/spec/models/association_board_member_search_message_spec.rb +60 -0
- data/spec/models/association_message_spec.rb +100 -0
- data/spec/models/association_owner_board_term_message_spec.rb +68 -0
- data/spec/models/association_owner_board_term_post_message_spec.rb +50 -0
- data/spec/models/association_owner_message_spec.rb +144 -0
- data/spec/models/association_owner_post_message_spec.rb +116 -0
- data/spec/models/association_owner_put_message_spec.rb +98 -0
- data/spec/models/association_owner_to_existing_ownership_account_post_message_spec.rb +128 -0
- data/spec/models/association_owner_unit_occupancy_put_message_spec.rb +34 -0
- data/spec/models/association_owner_unit_occupancy_status_message_spec.rb +40 -0
- data/spec/models/association_ownership_account_message_spec.rb +90 -0
- data/spec/models/association_ownership_account_post_message_spec.rb +80 -0
- data/spec/models/association_ownership_account_put_message_spec.rb +34 -0
- data/spec/models/association_ownership_account_search_message_spec.rb +72 -0
- data/spec/models/association_post_message_spec.rb +76 -0
- data/spec/models/association_preferred_vendor_message_spec.rb +82 -0
- data/spec/models/association_preferred_vendor_put_message_spec.rb +34 -0
- data/spec/models/association_put_message_spec.rb +82 -0
- data/spec/models/association_search_message_spec.rb +56 -0
- data/spec/models/association_tenant_message_spec.rb +112 -0
- data/spec/models/association_tenant_post_message_spec.rb +106 -0
- data/spec/models/association_tenant_put_message_spec.rb +94 -0
- data/spec/models/association_unit_message_spec.rb +84 -0
- data/spec/models/association_unit_put_message_spec.rb +66 -0
- data/spec/models/association_unit_search_message_spec.rb +46 -0
- data/spec/models/association_units_post_message_spec.rb +72 -0
- data/spec/models/association_user_search_message_spec.rb +86 -0
- data/spec/models/bank_account_check_accounting_entity_save_message_spec.rb +44 -0
- data/spec/models/bank_account_check_line_message_spec.rb +64 -0
- data/spec/models/bank_account_check_line_save_message_spec.rb +58 -0
- data/spec/models/bank_account_check_message_spec.rb +70 -0
- data/spec/models/bank_account_check_payee_message_spec.rb +50 -0
- data/spec/models/bank_account_check_payee_save_message_spec.rb +44 -0
- data/spec/models/bank_account_check_post_message_spec.rb +58 -0
- data/spec/models/bank_account_check_put_message_spec.rb +58 -0
- data/spec/models/bank_account_check_search_message_spec.rb +40 -0
- data/spec/models/bank_account_deposit_line_message_spec.rb +64 -0
- data/spec/models/bank_account_deposit_line_save_message_spec.rb +58 -0
- data/spec/models/bank_account_deposit_message_spec.rb +64 -0
- data/spec/models/bank_account_deposit_post_message_spec.rb +52 -0
- data/spec/models/bank_account_deposit_put_message_spec.rb +46 -0
- data/spec/models/bank_account_deposit_search_message_spec.rb +40 -0
- data/spec/models/bank_account_message_spec.rb +104 -0
- data/spec/models/bank_account_post_message_spec.rb +78 -0
- data/spec/models/bank_account_put_message_spec.rb +78 -0
- data/spec/models/bank_account_quick_deposit_message_spec.rb +64 -0
- data/spec/models/bank_account_quick_deposit_save_message_spec.rb +58 -0
- data/spec/models/bank_account_quick_deposit_search_message_spec.rb +40 -0
- data/spec/models/bank_account_search_message_spec.rb +44 -0
- data/spec/models/bank_account_transaction_message_spec.rb +96 -0
- data/spec/models/bank_account_transaction_search_message_spec.rb +56 -0
- data/spec/models/bank_account_transfer_accounting_entity_save_message_spec.rb +44 -0
- data/spec/models/bank_account_transfer_message_spec.rb +64 -0
- data/spec/models/bank_account_transfer_save_message_spec.rb +58 -0
- data/spec/models/bank_account_transfer_search_message_spec.rb +40 -0
- data/spec/models/bank_account_withdrawal_message_spec.rb +64 -0
- data/spec/models/bank_account_withdrawal_save_message_spec.rb +58 -0
- data/spec/models/bank_account_withdrawal_search_message_spec.rb +40 -0
- data/spec/models/bill_file_message_spec.rb +64 -0
- data/spec/models/bill_line_message_spec.rb +64 -0
- data/spec/models/bill_line_post_message_spec.rb +58 -0
- data/spec/models/bill_line_put_message_spec.rb +64 -0
- data/spec/models/bill_markup_message_spec.rb +44 -0
- data/spec/models/bill_markup_save_message_spec.rb +44 -0
- data/spec/models/bill_message_spec.rb +92 -0
- data/spec/models/bill_payment_accounting_entity_message_spec.rb +44 -0
- data/spec/models/bill_payment_line_message_spec.rb +46 -0
- data/spec/models/bill_payment_line_post_message_spec.rb +40 -0
- data/spec/models/bill_payment_message_spec.rb +64 -0
- data/spec/models/bill_payment_post_message_spec.rb +58 -0
- data/spec/models/bill_post_message_spec.rb +70 -0
- data/spec/models/bill_put_message_spec.rb +64 -0
- data/spec/models/bill_search_message_spec.rb +88 -0
- data/spec/models/budget_details_message_spec.rb +56 -0
- data/spec/models/budget_details_save_message_spec.rb +40 -0
- data/spec/models/budget_message_spec.rb +64 -0
- data/spec/models/budget_monthly_amounts_message_spec.rb +100 -0
- data/spec/models/budget_monthly_amounts_save_message_spec.rb +100 -0
- data/spec/models/budget_post_message_spec.rb +62 -0
- data/spec/models/budget_put_message_spec.rb +40 -0
- data/spec/models/budget_search_message_spec.rb +46 -0
- data/spec/models/charge_recurring_transaction_post_message_spec.rb +84 -0
- data/spec/models/charge_recurring_transaction_put_message_spec.rb +90 -0
- data/spec/models/check_printing_info_message_spec.rb +122 -0
- data/spec/models/check_printing_info_post_message_spec.rb +122 -0
- data/spec/models/check_printing_info_put_message_spec.rb +122 -0
- data/spec/models/client_lead_credit_request_message_spec.rb +60 -0
- data/spec/models/client_lead_message_spec.rb +102 -0
- data/spec/models/client_lead_search_message_spec.rb +66 -0
- data/spec/models/contact_detail_message_spec.rb +52 -0
- data/spec/models/contact_detail_phone_message_spec.rb +46 -0
- data/spec/models/contact_detail_save_message_spec.rb +52 -0
- data/spec/models/contact_detail_save_phone_message_spec.rb +46 -0
- data/spec/models/contact_info_message_spec.rb +52 -0
- data/spec/models/contact_request_task_message_spec.rb +114 -0
- data/spec/models/contact_request_task_post_message_spec.rb +102 -0
- data/spec/models/contact_request_task_put_message_spec.rb +102 -0
- data/spec/models/contact_request_task_search_message_spec.rb +112 -0
- data/spec/models/cosigner_message_spec.rb +92 -0
- data/spec/models/created_by_user_message_spec.rb +52 -0
- data/spec/models/credit_recurring_transaction_post_message_spec.rb +100 -0
- data/spec/models/deposit_detail_message_spec.rb +40 -0
- data/spec/models/electronic_payments_message_spec.rb +76 -0
- data/spec/models/email_message_spec.rb +52 -0
- data/spec/models/email_post_message_spec.rb +70 -0
- data/spec/models/email_recipient_message_spec.rb +62 -0
- data/spec/models/email_search_message_spec.rb +58 -0
- data/spec/models/email_sender_message_spec.rb +52 -0
- data/spec/models/emergency_contact_message_spec.rb +52 -0
- data/spec/models/file_category_message_spec.rb +46 -0
- data/spec/models/file_category_post_message_spec.rb +34 -0
- data/spec/models/file_category_put_message_spec.rb +34 -0
- data/spec/models/file_download_message_spec.rb +34 -0
- data/spec/models/file_entity_message_spec.rb +50 -0
- data/spec/models/file_message_spec.rb +82 -0
- data/spec/models/file_name_post_message_spec.rb +34 -0
- data/spec/models/file_put_message_spec.rb +46 -0
- data/spec/models/file_search_message_spec.rb +74 -0
- data/spec/models/file_upload_post_message_spec.rb +68 -0
- data/spec/models/file_upload_ticket_message_spec.rb +46 -0
- data/spec/models/general_journal_entry_line_save_message_spec.rb +56 -0
- data/spec/models/general_journal_entry_post_message_spec.rb +52 -0
- data/spec/models/general_journal_entry_put_message_spec.rb +52 -0
- data/spec/models/general_ledger_journal_line_message_spec.rb +64 -0
- data/spec/models/general_ledger_journal_message_spec.rb +40 -0
- data/spec/models/general_ledger_transaction_message_spec.rb +98 -0
- data/spec/models/general_ledger_transaction_search_message_spec.rb +62 -0
- data/spec/models/gl_account_balance_item_message_spec.rb +40 -0
- data/spec/models/gl_account_balance_message_spec.rb +46 -0
- data/spec/models/gl_account_balance_search_message_spec.rb +66 -0
- data/spec/models/gl_account_message_spec.rb +130 -0
- data/spec/models/gl_account_post_message_spec.rb +84 -0
- data/spec/models/gl_account_put_message_spec.rb +84 -0
- data/spec/models/gl_accounts_search_message_spec.rb +38 -0
- data/spec/models/gl_transaction_message_v1_spec.rb +58 -0
- data/spec/models/internal_transaction_status_message_spec.rb +46 -0
- data/spec/models/journal_line_message_spec.rb +64 -0
- data/spec/models/journal_message_spec.rb +40 -0
- data/spec/models/last_updated_by_user_message_spec.rb +58 -0
- data/spec/models/lease_account_detail_message_spec.rb +40 -0
- data/spec/models/lease_charge_line_save_message_spec.rb +46 -0
- data/spec/models/lease_charge_post_message_spec.rb +46 -0
- data/spec/models/lease_charge_put_message_spec.rb +46 -0
- data/spec/models/lease_charge_recurring_transaction_message_spec.rb +108 -0
- data/spec/models/lease_cosigner_post_message_spec.rb +80 -0
- data/spec/models/lease_ledger_credit_line_post_message_spec.rb +40 -0
- data/spec/models/lease_ledger_credit_post_message_spec.rb +62 -0
- data/spec/models/lease_ledger_deposit_withholding_line_post_message_spec.rb +40 -0
- data/spec/models/lease_ledger_deposit_withholding_post_message_spec.rb +52 -0
- data/spec/models/lease_ledger_payment_line_save_message_spec.rb +40 -0
- data/spec/models/lease_ledger_payment_post_message_spec.rb +74 -0
- data/spec/models/lease_ledger_refund_line_message_spec.rb +40 -0
- data/spec/models/lease_ledger_refund_line_post_message_spec.rb +40 -0
- data/spec/models/lease_ledger_refund_message_spec.rb +82 -0
- data/spec/models/lease_ledger_refund_post_message_spec.rb +70 -0
- data/spec/models/lease_ledger_reverse_payment_nsf_charge_post_message_spec.rb +40 -0
- data/spec/models/lease_ledger_reverse_payment_other_bank_charge_post_message_spec.rb +40 -0
- data/spec/models/lease_ledger_reverse_payment_post_message_spec.rb +52 -0
- data/spec/models/lease_message_spec.rb +170 -0
- data/spec/models/lease_move_out_data_message_spec.rb +46 -0
- data/spec/models/lease_move_out_data_post_message_spec.rb +46 -0
- data/spec/models/lease_outstanding_balance_message_spec.rb +100 -0
- data/spec/models/lease_outstanding_balance_search_message_spec.rb +90 -0
- data/spec/models/lease_post_message_spec.rb +98 -0
- data/spec/models/lease_put_message_spec.rb +68 -0
- data/spec/models/lease_recurring_credit_message_spec.rb +124 -0
- data/spec/models/lease_recurring_payment_message_spec.rb +118 -0
- data/spec/models/lease_renewal_message_spec.rb +84 -0
- data/spec/models/lease_renewal_post_message_spec.rb +98 -0
- data/spec/models/lease_rent_charge_message_spec.rb +70 -0
- data/spec/models/lease_rent_charge_post_message_spec.rb +52 -0
- data/spec/models/lease_rent_message_spec.rb +86 -0
- data/spec/models/lease_rent_post_message_spec.rb +44 -0
- data/spec/models/lease_search_message_spec.rb +108 -0
- data/spec/models/lease_security_deposit_post_message_spec.rb +40 -0
- data/spec/models/lease_tenant_message_spec.rb +44 -0
- data/spec/models/lease_transaction_message_spec.rb +82 -0
- data/spec/models/lease_transaction_search_message_spec.rb +50 -0
- data/spec/models/listing_contact_message_spec.rb +58 -0
- data/spec/models/listing_contact_save_message_spec.rb +52 -0
- data/spec/models/listing_file_message_spec.rb +50 -0
- data/spec/models/listing_message_spec.rb +88 -0
- data/spec/models/listing_property_message_spec.rb +90 -0
- data/spec/models/listing_put_message_spec.rb +64 -0
- data/spec/models/listing_search_message_spec.rb +44 -0
- data/spec/models/listing_unit_message_spec.rb +100 -0
- data/spec/models/lock_period_settings_global_message_spec.rb +34 -0
- data/spec/models/lock_period_settings_overrides_message_spec.rb +40 -0
- data/spec/models/logged_by_staff_user_message_spec.rb +52 -0
- data/spec/models/lookup_message_spec.rb +40 -0
- data/spec/models/mailing_template_message_spec.rb +56 -0
- data/spec/models/note_message_spec.rb +46 -0
- data/spec/models/note_post_message_spec.rb +34 -0
- data/spec/models/note_put_message_spec.rb +34 -0
- data/spec/models/note_search_message_spec.rb +46 -0
- data/spec/models/outstanding_balances_line_message_spec.rb +40 -0
- data/spec/models/ownership_account_charge_recurring_transaction_message_spec.rb +108 -0
- data/spec/models/ownership_account_credit_line_post_message_spec.rb +40 -0
- data/spec/models/ownership_account_credit_post_message_spec.rb +62 -0
- data/spec/models/ownership_account_deposit_withholding_line_post_message_spec.rb +40 -0
- data/spec/models/ownership_account_deposit_withholding_post_message_spec.rb +52 -0
- data/spec/models/ownership_account_ledger_charge_lines_put_message_spec.rb +46 -0
- data/spec/models/ownership_account_ledger_charge_lines_save_message_spec.rb +40 -0
- data/spec/models/ownership_account_ledger_charge_post_message_spec.rb +46 -0
- data/spec/models/ownership_account_ledger_charge_put_message_spec.rb +46 -0
- data/spec/models/ownership_account_ledger_payment_line_save_message_spec.rb +40 -0
- data/spec/models/ownership_account_ledger_payment_post_message_spec.rb +74 -0
- data/spec/models/ownership_account_outstanding_balance_message_spec.rb +88 -0
- data/spec/models/ownership_account_outstanding_balance_search_message_spec.rb +70 -0
- data/spec/models/ownership_account_recurring_credit_message_spec.rb +124 -0
- data/spec/models/ownership_account_recurring_payment_message_spec.rb +118 -0
- data/spec/models/ownership_account_refund_line_message_spec.rb +40 -0
- data/spec/models/ownership_account_refund_lines_post_message_spec.rb +40 -0
- data/spec/models/ownership_account_refund_message_spec.rb +82 -0
- data/spec/models/ownership_account_refund_post_message_spec.rb +70 -0
- data/spec/models/ownership_account_transaction_message_spec.rb +82 -0
- data/spec/models/paid_by_message_spec.rb +40 -0
- data/spec/models/participant_message_spec.rb +46 -0
- data/spec/models/participant_resource_message_spec.rb +44 -0
- data/spec/models/payee_message_spec.rb +56 -0
- data/spec/models/payment_detail_message_spec.rb +56 -0
- data/spec/models/payment_recurring_transaction_post_message_spec.rb +94 -0
- data/spec/models/payment_transactions_message_spec.rb +46 -0
- data/spec/models/phone_log_message_spec.rb +64 -0
- data/spec/models/phone_log_participant_post_message_spec.rb +50 -0
- data/spec/models/phone_log_participant_unit_agreement_post_message_spec.rb +44 -0
- data/spec/models/phone_log_post_message_spec.rb +52 -0
- data/spec/models/phone_log_put_message_spec.rb +46 -0
- data/spec/models/phone_log_search_message_spec.rb +84 -0
- data/spec/models/phone_number_message_spec.rb +44 -0
- data/spec/models/phone_numbers_message_spec.rb +52 -0
- data/spec/models/property_group_message_spec.rb +58 -0
- data/spec/models/property_group_post_message_spec.rb +46 -0
- data/spec/models/property_group_put_message_spec.rb +46 -0
- data/spec/models/property_group_search_message_spec.rb +40 -0
- data/spec/models/property_manager_message_spec.rb +76 -0
- data/spec/models/property_message_spec.rb +50 -0
- data/spec/models/recurring_transaction_line_message_spec.rb +40 -0
- data/spec/models/recurring_transaction_line_post_message_spec.rb +40 -0
- data/spec/models/recurring_transaction_message_spec.rb +112 -0
- data/spec/models/rental_appliance_message_spec.rb +76 -0
- data/spec/models/rental_appliance_post_message_spec.rb +76 -0
- data/spec/models/rental_appliance_put_message_spec.rb +64 -0
- data/spec/models/rental_appliance_search_message_spec.rb +40 -0
- data/spec/models/rental_appliance_service_history_message_spec.rb +56 -0
- data/spec/models/rental_appliance_service_history_post_message_spec.rb +50 -0
- data/spec/models/rental_features_message_spec.rb +48 -0
- data/spec/models/rental_features_put_message_spec.rb +48 -0
- data/spec/models/rental_message_spec.rb +108 -0
- data/spec/models/rental_owner_message_spec.rb +118 -0
- data/spec/models/rental_owner_post_message_spec.rb +112 -0
- data/spec/models/rental_owner_put_message_spec.rb +106 -0
- data/spec/models/rental_owner_request_task_message_spec.rb +114 -0
- data/spec/models/rental_owner_request_task_post_message_spec.rb +102 -0
- data/spec/models/rental_owner_request_task_put_message_spec.rb +96 -0
- data/spec/models/rental_owner_request_task_search_message_spec.rb +112 -0
- data/spec/models/rental_owner_tax_information_message_spec.rb +68 -0
- data/spec/models/rental_owners_search_message_spec.rb +74 -0
- data/spec/models/rental_preferred_vendor_message_spec.rb +82 -0
- data/spec/models/rental_preferred_vendor_put_message_spec.rb +34 -0
- data/spec/models/rental_property_post_message_spec.rb +92 -0
- data/spec/models/rental_property_put_message_spec.rb +80 -0
- data/spec/models/rental_property_unit_post_message_spec.rb +78 -0
- data/spec/models/rental_search_message_spec.rb +88 -0
- data/spec/models/rental_tenant_post_message_spec.rb +110 -0
- data/spec/models/rental_tenant_put_message_spec.rb +104 -0
- data/spec/models/rental_tenant_renewal_post_message_spec.rb +104 -0
- data/spec/models/rental_unit_features_message_spec.rb +38 -0
- data/spec/models/rental_unit_features_put_message_spec.rb +38 -0
- data/spec/models/rental_unit_message_spec.rb +108 -0
- data/spec/models/rental_unit_put_message_spec.rb +78 -0
- data/spec/models/rental_unit_search_message_spec.rb +46 -0
- data/spec/models/rental_units_post_message_spec.rb +84 -0
- data/spec/models/requested_by_user_entity_message_spec.rb +68 -0
- data/spec/models/resident_center_user_message_spec.rb +56 -0
- data/spec/models/resident_center_user_reference_message_spec.rb +62 -0
- data/spec/models/resident_center_user_search_message_spec.rb +66 -0
- data/spec/models/resident_request_task_message_spec.rb +144 -0
- data/spec/models/resident_request_task_post_message_spec.rb +114 -0
- data/spec/models/resident_request_task_put_message_spec.rb +84 -0
- data/spec/models/resident_request_task_search_message_spec.rb +118 -0
- data/spec/models/save_address_message_spec.rb +74 -0
- data/spec/models/save_emergency_contact_message_spec.rb +52 -0
- data/spec/models/task_category_message_spec.rb +52 -0
- data/spec/models/task_category_put_message_spec.rb +34 -0
- data/spec/models/task_category_response_message_spec.rb +52 -0
- data/spec/models/task_category_save_message_spec.rb +34 -0
- data/spec/models/task_history_file_message_spec.rb +64 -0
- data/spec/models/task_history_file_upload_post_message_spec.rb +34 -0
- data/spec/models/task_history_message_spec.rb +112 -0
- data/spec/models/task_history_put_message_spec.rb +34 -0
- data/spec/models/task_history_user_message_spec.rb +52 -0
- data/spec/models/task_search_message_spec.rb +128 -0
- data/spec/models/task_sub_category_message_spec.rb +40 -0
- data/spec/models/tax_information_post_message_spec.rb +62 -0
- data/spec/models/tax_information_save_message_spec.rb +68 -0
- data/spec/models/tenant_message_spec.rb +128 -0
- data/spec/models/tenant_search_message_spec.rb +96 -0
- data/spec/models/to_do_task_message_spec.rb +108 -0
- data/spec/models/to_do_task_post_message_spec.rb +96 -0
- data/spec/models/to_do_task_put_message_spec.rb +96 -0
- data/spec/models/to_do_task_search_message_spec.rb +112 -0
- data/spec/models/undeposited_funds_message_spec.rb +34 -0
- data/spec/models/unit_agreement_message_spec.rb +50 -0
- data/spec/models/user_message_spec.rb +104 -0
- data/spec/models/user_role_message_spec.rb +52 -0
- data/spec/models/user_search_message_spec.rb +66 -0
- data/spec/models/vehicle_message_spec.rb +52 -0
- data/spec/models/vendor_category_message_spec.rb +46 -0
- data/spec/models/vendor_category_save_message_spec.rb +34 -0
- data/spec/models/vendor_credit_line_item_message_spec.rb +58 -0
- data/spec/models/vendor_credit_line_item_post_message_spec.rb +52 -0
- data/spec/models/vendor_credit_message_spec.rb +58 -0
- data/spec/models/vendor_credit_post_message_spec.rb +52 -0
- data/spec/models/vendor_insurance_message_spec.rb +46 -0
- data/spec/models/vendor_insurance_save_message_spec.rb +46 -0
- data/spec/models/vendor_message_spec.rb +130 -0
- data/spec/models/vendor_post_message_spec.rb +118 -0
- data/spec/models/vendor_put_message_spec.rb +118 -0
- data/spec/models/vendor_refund_line_message_spec.rb +58 -0
- data/spec/models/vendor_refund_line_post_message_spec.rb +52 -0
- data/spec/models/vendor_refund_message_spec.rb +74 -0
- data/spec/models/vendor_refund_post_message_spec.rb +68 -0
- data/spec/models/vendor_search_message_spec.rb +84 -0
- data/spec/models/vendor_tax_information_message_spec.rb +68 -0
- data/spec/models/vendor_transaction_message_spec.rb +68 -0
- data/spec/models/vendor_transaction_search_message_spec.rb +62 -0
- data/spec/models/work_order_entry_contact_message_spec.rb +40 -0
- data/spec/models/work_order_entry_contact_resource_message_spec.rb +44 -0
- data/spec/models/work_order_line_item_message_spec.rb +52 -0
- data/spec/models/work_order_line_item_save_message_spec.rb +52 -0
- data/spec/models/work_order_message_spec.rb +110 -0
- data/spec/models/work_order_post_message_spec.rb +98 -0
- data/spec/models/work_order_put_message_spec.rb +86 -0
- data/spec/models/work_order_search_message_spec.rb +158 -0
- data/spec/models/work_order_task_message_spec.rb +88 -0
- data/spec/models/work_order_task_post_message_spec.rb +78 -0
- data/spec/spec_helper.rb +111 -0
- metadata +1725 -0
data/docs/LeasesApi.md
ADDED
|
@@ -0,0 +1,2865 @@
|
|
|
1
|
+
# Buildium::LeasesApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://api.buildium.com*
|
|
4
|
+
|
|
5
|
+
| Method | HTTP request | Description |
|
|
6
|
+
| ------ | ------------ | ----------- |
|
|
7
|
+
| [**create_lease**](LeasesApi.md#create_lease) | **POST** /v1/leases | Create a lease |
|
|
8
|
+
| [**create_lease_charge_recurring_transaction**](LeasesApi.md#create_lease_charge_recurring_transaction) | **POST** /v1/leases/{leaseId}/recurringcharges | Create a recurring charge |
|
|
9
|
+
| [**create_lease_credit**](LeasesApi.md#create_lease_credit) | **POST** /v1/leases/{leaseId}/credits | Create a credit |
|
|
10
|
+
| [**create_lease_credit_recurring_transaction**](LeasesApi.md#create_lease_credit_recurring_transaction) | **POST** /v1/leases/{leaseId}/recurringcredits | Create a recurring credit |
|
|
11
|
+
| [**create_lease_ledger_charge**](LeasesApi.md#create_lease_ledger_charge) | **POST** /v1/leases/{leaseId}/charges | Create a charge |
|
|
12
|
+
| [**create_lease_ledger_deposit_withholding**](LeasesApi.md#create_lease_ledger_deposit_withholding) | **POST** /v1/leases/{leaseId}/applieddeposits | Create a deposit withholding |
|
|
13
|
+
| [**create_lease_ledger_refund**](LeasesApi.md#create_lease_ledger_refund) | **POST** /v1/leases/{leaseId}/refunds | Create a refund |
|
|
14
|
+
| [**create_lease_note**](LeasesApi.md#create_lease_note) | **POST** /v1/leases/{leaseId}/notes | Create a note |
|
|
15
|
+
| [**create_lease_recurring_payment**](LeasesApi.md#create_lease_recurring_payment) | **POST** /v1/leases/{leaseId}/recurringpayments | Create a recurring payment |
|
|
16
|
+
| [**create_lease_reverse_payment**](LeasesApi.md#create_lease_reverse_payment) | **POST** /v1/leases/{leaseId}/reversepayments | Create a payment reversal |
|
|
17
|
+
| [**create_move_out_data**](LeasesApi.md#create_move_out_data) | **POST** /v1/leases/{leaseId}/moveouts | Create a move out |
|
|
18
|
+
| [**create_payment**](LeasesApi.md#create_payment) | **POST** /v1/leases/{leaseId}/payments | Create a payment |
|
|
19
|
+
| [**get_lease_by_id**](LeasesApi.md#get_lease_by_id) | **GET** /v1/leases/{leaseId} | Retrieve a lease |
|
|
20
|
+
| [**get_lease_charge_recurring_transaction_by_id**](LeasesApi.md#get_lease_charge_recurring_transaction_by_id) | **GET** /v1/leases/{leaseId}/recurringcharges/{transactionId} | Retrieve a recurring charge |
|
|
21
|
+
| [**get_lease_ledger_refund_by_id**](LeasesApi.md#get_lease_ledger_refund_by_id) | **GET** /v1/leases/{leaseId}/refunds/{refundId} | Retrieve a refund |
|
|
22
|
+
| [**get_lease_ledger_transaction_by_id**](LeasesApi.md#get_lease_ledger_transaction_by_id) | **GET** /v1/leases/{leaseId}/transactions/{transactionId} | Retrieve a lease transaction |
|
|
23
|
+
| [**get_lease_ledgers**](LeasesApi.md#get_lease_ledgers) | **GET** /v1/leases/{leaseId}/transactions | Retrieve all lease transactions |
|
|
24
|
+
| [**get_lease_move_out_data_by_tenant_id**](LeasesApi.md#get_lease_move_out_data_by_tenant_id) | **GET** /v1/leases/{leaseId}/moveouts/{tenantId} | Retrieve a move out |
|
|
25
|
+
| [**get_lease_move_out_information_by_id**](LeasesApi.md#get_lease_move_out_information_by_id) | **GET** /v1/leases/{leaseId}/moveouts | Retrieve all move outs |
|
|
26
|
+
| [**get_lease_note_by_note_id**](LeasesApi.md#get_lease_note_by_note_id) | **GET** /v1/leases/{leaseId}/notes/{noteId} | Retrieve a note |
|
|
27
|
+
| [**get_lease_notes**](LeasesApi.md#get_lease_notes) | **GET** /v1/leases/{leaseId}/notes | Retrieve all notes |
|
|
28
|
+
| [**get_lease_outstanding_balances**](LeasesApi.md#get_lease_outstanding_balances) | **GET** /v1/leases/outstandingbalances | Retrieve all outstanding balances |
|
|
29
|
+
| [**get_lease_recurring_credit_by_id**](LeasesApi.md#get_lease_recurring_credit_by_id) | **GET** /v1/leases/{leaseId}/recurringcredits/{transactionId} | Retrieve a recurring credit |
|
|
30
|
+
| [**get_lease_recurring_transactions**](LeasesApi.md#get_lease_recurring_transactions) | **GET** /v1/leases/{leaseId}/recurringtransactions | Retrieve all recurring transactions |
|
|
31
|
+
| [**get_leases**](LeasesApi.md#get_leases) | **GET** /v1/leases | Retrieve all leases |
|
|
32
|
+
| [**get_recurring_lease_payments_by_id**](LeasesApi.md#get_recurring_lease_payments_by_id) | **GET** /v1/leases/{leaseId}/recurringpayments/{paymentId} | Retrieve a recurring payment |
|
|
33
|
+
| [**get_rent**](LeasesApi.md#get_rent) | **GET** /v1/leases/{leaseId}/rent | Retrieve all rent schedules |
|
|
34
|
+
| [**get_rent_by_id**](LeasesApi.md#get_rent_by_id) | **GET** /v1/leases/{leaseId}/rent/{rentId} | Retrieve a rent schedule |
|
|
35
|
+
| [**lease_renewals_external_api_read_get_all_lease_renewals**](LeasesApi.md#lease_renewals_external_api_read_get_all_lease_renewals) | **GET** /v1/leases/{leaseId}/renewals | Retrieve all lease renewals |
|
|
36
|
+
| [**lease_renewals_external_api_read_get_lease_renewal_by_id**](LeasesApi.md#lease_renewals_external_api_read_get_lease_renewal_by_id) | **GET** /v1/leases/{leaseId}/renewals/{renewalId} | Retrieve a lease renewal |
|
|
37
|
+
| [**lease_renewals_external_api_write_create_lease_renewal**](LeasesApi.md#lease_renewals_external_api_write_create_lease_renewal) | **POST** /v1/leases/{leaseId}/renewals | Create a lease renewal |
|
|
38
|
+
| [**undo_tenant_moveout**](LeasesApi.md#undo_tenant_moveout) | **DELETE** /v1/leases/{leaseId}/moveouts/{tenantId} | Delete a move out |
|
|
39
|
+
| [**update_lease**](LeasesApi.md#update_lease) | **PUT** /v1/leases/{leaseId} | Update a lease |
|
|
40
|
+
| [**update_lease_charge**](LeasesApi.md#update_lease_charge) | **PUT** /v1/leases/{leaseId}/charges/{chargeId} | Update a charge |
|
|
41
|
+
| [**update_lease_note**](LeasesApi.md#update_lease_note) | **PUT** /v1/leases/{leaseId}/notes/{noteId} | Update a note |
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
## create_lease
|
|
45
|
+
|
|
46
|
+
> <LeaseMessage> create_lease(lease_post_message)
|
|
47
|
+
|
|
48
|
+
Create a lease
|
|
49
|
+
|
|
50
|
+
Creates a signed lease. <br /><br /><span class=\"permissionBlock\">Rentals > Leases</span> - `View` `Edit` <br /><span class=\"permissionBlock\">Rentals > Tenants</span> - `View` `Edit` <br /><span class=\"permissionBlock\">Rentals > Lease transactions</span> - `View` `Edit`
|
|
51
|
+
|
|
52
|
+
### Examples
|
|
53
|
+
|
|
54
|
+
```ruby
|
|
55
|
+
require 'time'
|
|
56
|
+
require 'buildium-ruby'
|
|
57
|
+
# setup authorization
|
|
58
|
+
Buildium.configure do |config|
|
|
59
|
+
# Configure API key authorization: clientId
|
|
60
|
+
config.api_key['clientId'] = 'YOUR API KEY'
|
|
61
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
62
|
+
# config.api_key_prefix['clientId'] = 'Bearer'
|
|
63
|
+
|
|
64
|
+
# Configure API key authorization: clientSecret
|
|
65
|
+
config.api_key['clientSecret'] = 'YOUR API KEY'
|
|
66
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
67
|
+
# config.api_key_prefix['clientSecret'] = 'Bearer'
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
api_instance = Buildium::LeasesApi.new
|
|
71
|
+
lease_post_message = Buildium::LeasePostMessage.new({lease_type: 'Fixed', unit_id: 37, lease_from_date: Date.today, send_welcome_email: false, tenants: [Buildium::RentalTenantPutMessage.new({first_name: 'first_name_example', last_name: 'last_name_example', address: Buildium::SaveAddressMessage.new({address_line1: 'address_line1_example', country: 'UnitedStates'})})]}) # LeasePostMessage |
|
|
72
|
+
|
|
73
|
+
begin
|
|
74
|
+
# Create a lease
|
|
75
|
+
result = api_instance.create_lease(lease_post_message)
|
|
76
|
+
p result
|
|
77
|
+
rescue Buildium::ApiError => e
|
|
78
|
+
puts "Error when calling LeasesApi->create_lease: #{e}"
|
|
79
|
+
end
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
#### Using the create_lease_with_http_info variant
|
|
83
|
+
|
|
84
|
+
This returns an Array which contains the response data, status code and headers.
|
|
85
|
+
|
|
86
|
+
> <Array(<LeaseMessage>, Integer, Hash)> create_lease_with_http_info(lease_post_message)
|
|
87
|
+
|
|
88
|
+
```ruby
|
|
89
|
+
begin
|
|
90
|
+
# Create a lease
|
|
91
|
+
data, status_code, headers = api_instance.create_lease_with_http_info(lease_post_message)
|
|
92
|
+
p status_code # => 2xx
|
|
93
|
+
p headers # => { ... }
|
|
94
|
+
p data # => <LeaseMessage>
|
|
95
|
+
rescue Buildium::ApiError => e
|
|
96
|
+
puts "Error when calling LeasesApi->create_lease_with_http_info: #{e}"
|
|
97
|
+
end
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
### Parameters
|
|
101
|
+
|
|
102
|
+
| Name | Type | Description | Notes |
|
|
103
|
+
| ---- | ---- | ----------- | ----- |
|
|
104
|
+
| **lease_post_message** | [**LeasePostMessage**](LeasePostMessage.md) | | |
|
|
105
|
+
|
|
106
|
+
### Return type
|
|
107
|
+
|
|
108
|
+
[**LeaseMessage**](LeaseMessage.md)
|
|
109
|
+
|
|
110
|
+
### Authorization
|
|
111
|
+
|
|
112
|
+
[clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
|
|
113
|
+
|
|
114
|
+
### HTTP request headers
|
|
115
|
+
|
|
116
|
+
- **Content-Type**: application/json
|
|
117
|
+
- **Accept**: application/json
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
## create_lease_charge_recurring_transaction
|
|
121
|
+
|
|
122
|
+
> <LeaseChargeRecurringTransactionMessage> create_lease_charge_recurring_transaction(lease_id, charge_recurring_transaction_post_message)
|
|
123
|
+
|
|
124
|
+
Create a recurring charge
|
|
125
|
+
|
|
126
|
+
Creates a recurring charge transaction that will post automatically on the specified lease ledger. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Lease transactions</span> - `View` `Edit`
|
|
127
|
+
|
|
128
|
+
### Examples
|
|
129
|
+
|
|
130
|
+
```ruby
|
|
131
|
+
require 'time'
|
|
132
|
+
require 'buildium-ruby'
|
|
133
|
+
# setup authorization
|
|
134
|
+
Buildium.configure do |config|
|
|
135
|
+
# Configure API key authorization: clientId
|
|
136
|
+
config.api_key['clientId'] = 'YOUR API KEY'
|
|
137
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
138
|
+
# config.api_key_prefix['clientId'] = 'Bearer'
|
|
139
|
+
|
|
140
|
+
# Configure API key authorization: clientSecret
|
|
141
|
+
config.api_key['clientSecret'] = 'YOUR API KEY'
|
|
142
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
143
|
+
# config.api_key_prefix['clientSecret'] = 'Bearer'
|
|
144
|
+
end
|
|
145
|
+
|
|
146
|
+
api_instance = Buildium::LeasesApi.new
|
|
147
|
+
lease_id = 56 # Integer |
|
|
148
|
+
charge_recurring_transaction_post_message = Buildium::ChargeRecurringTransactionPostMessage.new({gl_account_id: 37, amount: 3.56, first_occurrence_date: Date.today, post_days_in_advance: 37, frequency: 'Monthly'}) # ChargeRecurringTransactionPostMessage |
|
|
149
|
+
|
|
150
|
+
begin
|
|
151
|
+
# Create a recurring charge
|
|
152
|
+
result = api_instance.create_lease_charge_recurring_transaction(lease_id, charge_recurring_transaction_post_message)
|
|
153
|
+
p result
|
|
154
|
+
rescue Buildium::ApiError => e
|
|
155
|
+
puts "Error when calling LeasesApi->create_lease_charge_recurring_transaction: #{e}"
|
|
156
|
+
end
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
#### Using the create_lease_charge_recurring_transaction_with_http_info variant
|
|
160
|
+
|
|
161
|
+
This returns an Array which contains the response data, status code and headers.
|
|
162
|
+
|
|
163
|
+
> <Array(<LeaseChargeRecurringTransactionMessage>, Integer, Hash)> create_lease_charge_recurring_transaction_with_http_info(lease_id, charge_recurring_transaction_post_message)
|
|
164
|
+
|
|
165
|
+
```ruby
|
|
166
|
+
begin
|
|
167
|
+
# Create a recurring charge
|
|
168
|
+
data, status_code, headers = api_instance.create_lease_charge_recurring_transaction_with_http_info(lease_id, charge_recurring_transaction_post_message)
|
|
169
|
+
p status_code # => 2xx
|
|
170
|
+
p headers # => { ... }
|
|
171
|
+
p data # => <LeaseChargeRecurringTransactionMessage>
|
|
172
|
+
rescue Buildium::ApiError => e
|
|
173
|
+
puts "Error when calling LeasesApi->create_lease_charge_recurring_transaction_with_http_info: #{e}"
|
|
174
|
+
end
|
|
175
|
+
```
|
|
176
|
+
|
|
177
|
+
### Parameters
|
|
178
|
+
|
|
179
|
+
| Name | Type | Description | Notes |
|
|
180
|
+
| ---- | ---- | ----------- | ----- |
|
|
181
|
+
| **lease_id** | **Integer** | | |
|
|
182
|
+
| **charge_recurring_transaction_post_message** | [**ChargeRecurringTransactionPostMessage**](ChargeRecurringTransactionPostMessage.md) | | |
|
|
183
|
+
|
|
184
|
+
### Return type
|
|
185
|
+
|
|
186
|
+
[**LeaseChargeRecurringTransactionMessage**](LeaseChargeRecurringTransactionMessage.md)
|
|
187
|
+
|
|
188
|
+
### Authorization
|
|
189
|
+
|
|
190
|
+
[clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
|
|
191
|
+
|
|
192
|
+
### HTTP request headers
|
|
193
|
+
|
|
194
|
+
- **Content-Type**: application/json
|
|
195
|
+
- **Accept**: application/json
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
## create_lease_credit
|
|
199
|
+
|
|
200
|
+
> <LeaseTransactionMessage> create_lease_credit(lease_id, lease_ledger_credit_post_message)
|
|
201
|
+
|
|
202
|
+
Create a credit
|
|
203
|
+
|
|
204
|
+
Creates a lease ledger credit. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Lease transactions</span> - `View` `Edit`
|
|
205
|
+
|
|
206
|
+
### Examples
|
|
207
|
+
|
|
208
|
+
```ruby
|
|
209
|
+
require 'time'
|
|
210
|
+
require 'buildium-ruby'
|
|
211
|
+
# setup authorization
|
|
212
|
+
Buildium.configure do |config|
|
|
213
|
+
# Configure API key authorization: clientId
|
|
214
|
+
config.api_key['clientId'] = 'YOUR API KEY'
|
|
215
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
216
|
+
# config.api_key_prefix['clientId'] = 'Bearer'
|
|
217
|
+
|
|
218
|
+
# Configure API key authorization: clientSecret
|
|
219
|
+
config.api_key['clientSecret'] = 'YOUR API KEY'
|
|
220
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
221
|
+
# config.api_key_prefix['clientSecret'] = 'Bearer'
|
|
222
|
+
end
|
|
223
|
+
|
|
224
|
+
api_instance = Buildium::LeasesApi.new
|
|
225
|
+
lease_id = 56 # Integer | The lease unique identifier.
|
|
226
|
+
lease_ledger_credit_post_message = Buildium::LeaseLedgerCreditPostMessage.new({date: Date.today, credit_type: 'WaiveUnpaid', lines: [Buildium::LeaseLedgerCreditLinePostMessage.new({amount: 3.56, gl_account_id: 37})]}) # LeaseLedgerCreditPostMessage |
|
|
227
|
+
|
|
228
|
+
begin
|
|
229
|
+
# Create a credit
|
|
230
|
+
result = api_instance.create_lease_credit(lease_id, lease_ledger_credit_post_message)
|
|
231
|
+
p result
|
|
232
|
+
rescue Buildium::ApiError => e
|
|
233
|
+
puts "Error when calling LeasesApi->create_lease_credit: #{e}"
|
|
234
|
+
end
|
|
235
|
+
```
|
|
236
|
+
|
|
237
|
+
#### Using the create_lease_credit_with_http_info variant
|
|
238
|
+
|
|
239
|
+
This returns an Array which contains the response data, status code and headers.
|
|
240
|
+
|
|
241
|
+
> <Array(<LeaseTransactionMessage>, Integer, Hash)> create_lease_credit_with_http_info(lease_id, lease_ledger_credit_post_message)
|
|
242
|
+
|
|
243
|
+
```ruby
|
|
244
|
+
begin
|
|
245
|
+
# Create a credit
|
|
246
|
+
data, status_code, headers = api_instance.create_lease_credit_with_http_info(lease_id, lease_ledger_credit_post_message)
|
|
247
|
+
p status_code # => 2xx
|
|
248
|
+
p headers # => { ... }
|
|
249
|
+
p data # => <LeaseTransactionMessage>
|
|
250
|
+
rescue Buildium::ApiError => e
|
|
251
|
+
puts "Error when calling LeasesApi->create_lease_credit_with_http_info: #{e}"
|
|
252
|
+
end
|
|
253
|
+
```
|
|
254
|
+
|
|
255
|
+
### Parameters
|
|
256
|
+
|
|
257
|
+
| Name | Type | Description | Notes |
|
|
258
|
+
| ---- | ---- | ----------- | ----- |
|
|
259
|
+
| **lease_id** | **Integer** | The lease unique identifier. | |
|
|
260
|
+
| **lease_ledger_credit_post_message** | [**LeaseLedgerCreditPostMessage**](LeaseLedgerCreditPostMessage.md) | | |
|
|
261
|
+
|
|
262
|
+
### Return type
|
|
263
|
+
|
|
264
|
+
[**LeaseTransactionMessage**](LeaseTransactionMessage.md)
|
|
265
|
+
|
|
266
|
+
### Authorization
|
|
267
|
+
|
|
268
|
+
[clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
|
|
269
|
+
|
|
270
|
+
### HTTP request headers
|
|
271
|
+
|
|
272
|
+
- **Content-Type**: application/json
|
|
273
|
+
- **Accept**: application/json
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
## create_lease_credit_recurring_transaction
|
|
277
|
+
|
|
278
|
+
> <LeaseRecurringCreditMessage> create_lease_credit_recurring_transaction(lease_id, credit_recurring_transaction_post_message)
|
|
279
|
+
|
|
280
|
+
Create a recurring credit
|
|
281
|
+
|
|
282
|
+
Creates a recurring credit transaction on the specified lease ledger. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Lease transactions</span> - `View` `Edit`
|
|
283
|
+
|
|
284
|
+
### Examples
|
|
285
|
+
|
|
286
|
+
```ruby
|
|
287
|
+
require 'time'
|
|
288
|
+
require 'buildium-ruby'
|
|
289
|
+
# setup authorization
|
|
290
|
+
Buildium.configure do |config|
|
|
291
|
+
# Configure API key authorization: clientId
|
|
292
|
+
config.api_key['clientId'] = 'YOUR API KEY'
|
|
293
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
294
|
+
# config.api_key_prefix['clientId'] = 'Bearer'
|
|
295
|
+
|
|
296
|
+
# Configure API key authorization: clientSecret
|
|
297
|
+
config.api_key['clientSecret'] = 'YOUR API KEY'
|
|
298
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
299
|
+
# config.api_key_prefix['clientSecret'] = 'Bearer'
|
|
300
|
+
end
|
|
301
|
+
|
|
302
|
+
api_instance = Buildium::LeasesApi.new
|
|
303
|
+
lease_id = 56 # Integer |
|
|
304
|
+
credit_recurring_transaction_post_message = Buildium::CreditRecurringTransactionPostMessage.new({credit_type: 'WaiveUnpaid', post_days_in_advance: 37, frequency: 'Monthly', first_occurrence_date: Date.today}) # CreditRecurringTransactionPostMessage |
|
|
305
|
+
|
|
306
|
+
begin
|
|
307
|
+
# Create a recurring credit
|
|
308
|
+
result = api_instance.create_lease_credit_recurring_transaction(lease_id, credit_recurring_transaction_post_message)
|
|
309
|
+
p result
|
|
310
|
+
rescue Buildium::ApiError => e
|
|
311
|
+
puts "Error when calling LeasesApi->create_lease_credit_recurring_transaction: #{e}"
|
|
312
|
+
end
|
|
313
|
+
```
|
|
314
|
+
|
|
315
|
+
#### Using the create_lease_credit_recurring_transaction_with_http_info variant
|
|
316
|
+
|
|
317
|
+
This returns an Array which contains the response data, status code and headers.
|
|
318
|
+
|
|
319
|
+
> <Array(<LeaseRecurringCreditMessage>, Integer, Hash)> create_lease_credit_recurring_transaction_with_http_info(lease_id, credit_recurring_transaction_post_message)
|
|
320
|
+
|
|
321
|
+
```ruby
|
|
322
|
+
begin
|
|
323
|
+
# Create a recurring credit
|
|
324
|
+
data, status_code, headers = api_instance.create_lease_credit_recurring_transaction_with_http_info(lease_id, credit_recurring_transaction_post_message)
|
|
325
|
+
p status_code # => 2xx
|
|
326
|
+
p headers # => { ... }
|
|
327
|
+
p data # => <LeaseRecurringCreditMessage>
|
|
328
|
+
rescue Buildium::ApiError => e
|
|
329
|
+
puts "Error when calling LeasesApi->create_lease_credit_recurring_transaction_with_http_info: #{e}"
|
|
330
|
+
end
|
|
331
|
+
```
|
|
332
|
+
|
|
333
|
+
### Parameters
|
|
334
|
+
|
|
335
|
+
| Name | Type | Description | Notes |
|
|
336
|
+
| ---- | ---- | ----------- | ----- |
|
|
337
|
+
| **lease_id** | **Integer** | | |
|
|
338
|
+
| **credit_recurring_transaction_post_message** | [**CreditRecurringTransactionPostMessage**](CreditRecurringTransactionPostMessage.md) | | |
|
|
339
|
+
|
|
340
|
+
### Return type
|
|
341
|
+
|
|
342
|
+
[**LeaseRecurringCreditMessage**](LeaseRecurringCreditMessage.md)
|
|
343
|
+
|
|
344
|
+
### Authorization
|
|
345
|
+
|
|
346
|
+
[clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
|
|
347
|
+
|
|
348
|
+
### HTTP request headers
|
|
349
|
+
|
|
350
|
+
- **Content-Type**: application/json
|
|
351
|
+
- **Accept**: application/json
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
## create_lease_ledger_charge
|
|
355
|
+
|
|
356
|
+
> <Array<LeaseTransactionMessage>> create_lease_ledger_charge(lease_id, lease_charge_post_message)
|
|
357
|
+
|
|
358
|
+
Create a charge
|
|
359
|
+
|
|
360
|
+
Creates a charge transaction on a specific lease ledger. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Lease transactions</span> - `View` `Edit`
|
|
361
|
+
|
|
362
|
+
### Examples
|
|
363
|
+
|
|
364
|
+
```ruby
|
|
365
|
+
require 'time'
|
|
366
|
+
require 'buildium-ruby'
|
|
367
|
+
# setup authorization
|
|
368
|
+
Buildium.configure do |config|
|
|
369
|
+
# Configure API key authorization: clientId
|
|
370
|
+
config.api_key['clientId'] = 'YOUR API KEY'
|
|
371
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
372
|
+
# config.api_key_prefix['clientId'] = 'Bearer'
|
|
373
|
+
|
|
374
|
+
# Configure API key authorization: clientSecret
|
|
375
|
+
config.api_key['clientSecret'] = 'YOUR API KEY'
|
|
376
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
377
|
+
# config.api_key_prefix['clientSecret'] = 'Bearer'
|
|
378
|
+
end
|
|
379
|
+
|
|
380
|
+
api_instance = Buildium::LeasesApi.new
|
|
381
|
+
lease_id = 56 # Integer |
|
|
382
|
+
lease_charge_post_message = Buildium::LeaseChargePostMessage.new # LeaseChargePostMessage |
|
|
383
|
+
|
|
384
|
+
begin
|
|
385
|
+
# Create a charge
|
|
386
|
+
result = api_instance.create_lease_ledger_charge(lease_id, lease_charge_post_message)
|
|
387
|
+
p result
|
|
388
|
+
rescue Buildium::ApiError => e
|
|
389
|
+
puts "Error when calling LeasesApi->create_lease_ledger_charge: #{e}"
|
|
390
|
+
end
|
|
391
|
+
```
|
|
392
|
+
|
|
393
|
+
#### Using the create_lease_ledger_charge_with_http_info variant
|
|
394
|
+
|
|
395
|
+
This returns an Array which contains the response data, status code and headers.
|
|
396
|
+
|
|
397
|
+
> <Array(<Array<LeaseTransactionMessage>>, Integer, Hash)> create_lease_ledger_charge_with_http_info(lease_id, lease_charge_post_message)
|
|
398
|
+
|
|
399
|
+
```ruby
|
|
400
|
+
begin
|
|
401
|
+
# Create a charge
|
|
402
|
+
data, status_code, headers = api_instance.create_lease_ledger_charge_with_http_info(lease_id, lease_charge_post_message)
|
|
403
|
+
p status_code # => 2xx
|
|
404
|
+
p headers # => { ... }
|
|
405
|
+
p data # => <Array<LeaseTransactionMessage>>
|
|
406
|
+
rescue Buildium::ApiError => e
|
|
407
|
+
puts "Error when calling LeasesApi->create_lease_ledger_charge_with_http_info: #{e}"
|
|
408
|
+
end
|
|
409
|
+
```
|
|
410
|
+
|
|
411
|
+
### Parameters
|
|
412
|
+
|
|
413
|
+
| Name | Type | Description | Notes |
|
|
414
|
+
| ---- | ---- | ----------- | ----- |
|
|
415
|
+
| **lease_id** | **Integer** | | |
|
|
416
|
+
| **lease_charge_post_message** | [**LeaseChargePostMessage**](LeaseChargePostMessage.md) | | |
|
|
417
|
+
|
|
418
|
+
### Return type
|
|
419
|
+
|
|
420
|
+
[**Array<LeaseTransactionMessage>**](LeaseTransactionMessage.md)
|
|
421
|
+
|
|
422
|
+
### Authorization
|
|
423
|
+
|
|
424
|
+
[clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
|
|
425
|
+
|
|
426
|
+
### HTTP request headers
|
|
427
|
+
|
|
428
|
+
- **Content-Type**: application/json
|
|
429
|
+
- **Accept**: application/json
|
|
430
|
+
|
|
431
|
+
|
|
432
|
+
## create_lease_ledger_deposit_withholding
|
|
433
|
+
|
|
434
|
+
> <LeaseTransactionMessage> create_lease_ledger_deposit_withholding(lease_id, lease_ledger_deposit_withholding_post_message)
|
|
435
|
+
|
|
436
|
+
Create a deposit withholding
|
|
437
|
+
|
|
438
|
+
Withholds a resident deposit by reallocating the funds from a liability account to an income account to cover an expense(s). <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Lease Ledger</span> - `View` `Edit` <span class=\"permissionBlock\">Accounting > General Ledger Accounts</span> - `View`
|
|
439
|
+
|
|
440
|
+
### Examples
|
|
441
|
+
|
|
442
|
+
```ruby
|
|
443
|
+
require 'time'
|
|
444
|
+
require 'buildium-ruby'
|
|
445
|
+
# setup authorization
|
|
446
|
+
Buildium.configure do |config|
|
|
447
|
+
# Configure API key authorization: clientId
|
|
448
|
+
config.api_key['clientId'] = 'YOUR API KEY'
|
|
449
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
450
|
+
# config.api_key_prefix['clientId'] = 'Bearer'
|
|
451
|
+
|
|
452
|
+
# Configure API key authorization: clientSecret
|
|
453
|
+
config.api_key['clientSecret'] = 'YOUR API KEY'
|
|
454
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
455
|
+
# config.api_key_prefix['clientSecret'] = 'Bearer'
|
|
456
|
+
end
|
|
457
|
+
|
|
458
|
+
api_instance = Buildium::LeasesApi.new
|
|
459
|
+
lease_id = 56 # Integer |
|
|
460
|
+
lease_ledger_deposit_withholding_post_message = Buildium::LeaseLedgerDepositWithholdingPostMessage.new({entry_date: Date.today, deposit_liability_gl_account_id: 37}) # LeaseLedgerDepositWithholdingPostMessage |
|
|
461
|
+
|
|
462
|
+
begin
|
|
463
|
+
# Create a deposit withholding
|
|
464
|
+
result = api_instance.create_lease_ledger_deposit_withholding(lease_id, lease_ledger_deposit_withholding_post_message)
|
|
465
|
+
p result
|
|
466
|
+
rescue Buildium::ApiError => e
|
|
467
|
+
puts "Error when calling LeasesApi->create_lease_ledger_deposit_withholding: #{e}"
|
|
468
|
+
end
|
|
469
|
+
```
|
|
470
|
+
|
|
471
|
+
#### Using the create_lease_ledger_deposit_withholding_with_http_info variant
|
|
472
|
+
|
|
473
|
+
This returns an Array which contains the response data, status code and headers.
|
|
474
|
+
|
|
475
|
+
> <Array(<LeaseTransactionMessage>, Integer, Hash)> create_lease_ledger_deposit_withholding_with_http_info(lease_id, lease_ledger_deposit_withholding_post_message)
|
|
476
|
+
|
|
477
|
+
```ruby
|
|
478
|
+
begin
|
|
479
|
+
# Create a deposit withholding
|
|
480
|
+
data, status_code, headers = api_instance.create_lease_ledger_deposit_withholding_with_http_info(lease_id, lease_ledger_deposit_withholding_post_message)
|
|
481
|
+
p status_code # => 2xx
|
|
482
|
+
p headers # => { ... }
|
|
483
|
+
p data # => <LeaseTransactionMessage>
|
|
484
|
+
rescue Buildium::ApiError => e
|
|
485
|
+
puts "Error when calling LeasesApi->create_lease_ledger_deposit_withholding_with_http_info: #{e}"
|
|
486
|
+
end
|
|
487
|
+
```
|
|
488
|
+
|
|
489
|
+
### Parameters
|
|
490
|
+
|
|
491
|
+
| Name | Type | Description | Notes |
|
|
492
|
+
| ---- | ---- | ----------- | ----- |
|
|
493
|
+
| **lease_id** | **Integer** | | |
|
|
494
|
+
| **lease_ledger_deposit_withholding_post_message** | [**LeaseLedgerDepositWithholdingPostMessage**](LeaseLedgerDepositWithholdingPostMessage.md) | | |
|
|
495
|
+
|
|
496
|
+
### Return type
|
|
497
|
+
|
|
498
|
+
[**LeaseTransactionMessage**](LeaseTransactionMessage.md)
|
|
499
|
+
|
|
500
|
+
### Authorization
|
|
501
|
+
|
|
502
|
+
[clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
|
|
503
|
+
|
|
504
|
+
### HTTP request headers
|
|
505
|
+
|
|
506
|
+
- **Content-Type**: application/json
|
|
507
|
+
- **Accept**: application/json
|
|
508
|
+
|
|
509
|
+
|
|
510
|
+
## create_lease_ledger_refund
|
|
511
|
+
|
|
512
|
+
> <LeaseLedgerRefundMessage> create_lease_ledger_refund(lease_id, lease_ledger_refund_post_message)
|
|
513
|
+
|
|
514
|
+
Create a refund
|
|
515
|
+
|
|
516
|
+
Creates a refund. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bank Accounts</span> - `View` `Edit`
|
|
517
|
+
|
|
518
|
+
### Examples
|
|
519
|
+
|
|
520
|
+
```ruby
|
|
521
|
+
require 'time'
|
|
522
|
+
require 'buildium-ruby'
|
|
523
|
+
# setup authorization
|
|
524
|
+
Buildium.configure do |config|
|
|
525
|
+
# Configure API key authorization: clientId
|
|
526
|
+
config.api_key['clientId'] = 'YOUR API KEY'
|
|
527
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
528
|
+
# config.api_key_prefix['clientId'] = 'Bearer'
|
|
529
|
+
|
|
530
|
+
# Configure API key authorization: clientSecret
|
|
531
|
+
config.api_key['clientSecret'] = 'YOUR API KEY'
|
|
532
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
533
|
+
# config.api_key_prefix['clientSecret'] = 'Bearer'
|
|
534
|
+
end
|
|
535
|
+
|
|
536
|
+
api_instance = Buildium::LeasesApi.new
|
|
537
|
+
lease_id = 56 # Integer |
|
|
538
|
+
lease_ledger_refund_post_message = Buildium::LeaseLedgerRefundPostMessage.new({date: Date.today, payee_user_ids: [37], bank_account_id: 37, address: Buildium::SaveAddressMessage.new({address_line1: 'address_line1_example', country: 'UnitedStates'}), lines: [Buildium::LeaseLedgerRefundLinePostMessage.new({amount: 3.56, gl_account_id: 37})]}) # LeaseLedgerRefundPostMessage |
|
|
539
|
+
|
|
540
|
+
begin
|
|
541
|
+
# Create a refund
|
|
542
|
+
result = api_instance.create_lease_ledger_refund(lease_id, lease_ledger_refund_post_message)
|
|
543
|
+
p result
|
|
544
|
+
rescue Buildium::ApiError => e
|
|
545
|
+
puts "Error when calling LeasesApi->create_lease_ledger_refund: #{e}"
|
|
546
|
+
end
|
|
547
|
+
```
|
|
548
|
+
|
|
549
|
+
#### Using the create_lease_ledger_refund_with_http_info variant
|
|
550
|
+
|
|
551
|
+
This returns an Array which contains the response data, status code and headers.
|
|
552
|
+
|
|
553
|
+
> <Array(<LeaseLedgerRefundMessage>, Integer, Hash)> create_lease_ledger_refund_with_http_info(lease_id, lease_ledger_refund_post_message)
|
|
554
|
+
|
|
555
|
+
```ruby
|
|
556
|
+
begin
|
|
557
|
+
# Create a refund
|
|
558
|
+
data, status_code, headers = api_instance.create_lease_ledger_refund_with_http_info(lease_id, lease_ledger_refund_post_message)
|
|
559
|
+
p status_code # => 2xx
|
|
560
|
+
p headers # => { ... }
|
|
561
|
+
p data # => <LeaseLedgerRefundMessage>
|
|
562
|
+
rescue Buildium::ApiError => e
|
|
563
|
+
puts "Error when calling LeasesApi->create_lease_ledger_refund_with_http_info: #{e}"
|
|
564
|
+
end
|
|
565
|
+
```
|
|
566
|
+
|
|
567
|
+
### Parameters
|
|
568
|
+
|
|
569
|
+
| Name | Type | Description | Notes |
|
|
570
|
+
| ---- | ---- | ----------- | ----- |
|
|
571
|
+
| **lease_id** | **Integer** | | |
|
|
572
|
+
| **lease_ledger_refund_post_message** | [**LeaseLedgerRefundPostMessage**](LeaseLedgerRefundPostMessage.md) | | |
|
|
573
|
+
|
|
574
|
+
### Return type
|
|
575
|
+
|
|
576
|
+
[**LeaseLedgerRefundMessage**](LeaseLedgerRefundMessage.md)
|
|
577
|
+
|
|
578
|
+
### Authorization
|
|
579
|
+
|
|
580
|
+
[clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
|
|
581
|
+
|
|
582
|
+
### HTTP request headers
|
|
583
|
+
|
|
584
|
+
- **Content-Type**: application/json
|
|
585
|
+
- **Accept**: application/json
|
|
586
|
+
|
|
587
|
+
|
|
588
|
+
## create_lease_note
|
|
589
|
+
|
|
590
|
+
> <NoteMessage> create_lease_note(lease_id, note_post_message)
|
|
591
|
+
|
|
592
|
+
Create a note
|
|
593
|
+
|
|
594
|
+
Creates a lease note. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Leases</span> - `View` `Edit`
|
|
595
|
+
|
|
596
|
+
### Examples
|
|
597
|
+
|
|
598
|
+
```ruby
|
|
599
|
+
require 'time'
|
|
600
|
+
require 'buildium-ruby'
|
|
601
|
+
# setup authorization
|
|
602
|
+
Buildium.configure do |config|
|
|
603
|
+
# Configure API key authorization: clientId
|
|
604
|
+
config.api_key['clientId'] = 'YOUR API KEY'
|
|
605
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
606
|
+
# config.api_key_prefix['clientId'] = 'Bearer'
|
|
607
|
+
|
|
608
|
+
# Configure API key authorization: clientSecret
|
|
609
|
+
config.api_key['clientSecret'] = 'YOUR API KEY'
|
|
610
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
611
|
+
# config.api_key_prefix['clientSecret'] = 'Bearer'
|
|
612
|
+
end
|
|
613
|
+
|
|
614
|
+
api_instance = Buildium::LeasesApi.new
|
|
615
|
+
lease_id = 56 # Integer |
|
|
616
|
+
note_post_message = Buildium::NotePostMessage.new({note: 'note_example'}) # NotePostMessage |
|
|
617
|
+
|
|
618
|
+
begin
|
|
619
|
+
# Create a note
|
|
620
|
+
result = api_instance.create_lease_note(lease_id, note_post_message)
|
|
621
|
+
p result
|
|
622
|
+
rescue Buildium::ApiError => e
|
|
623
|
+
puts "Error when calling LeasesApi->create_lease_note: #{e}"
|
|
624
|
+
end
|
|
625
|
+
```
|
|
626
|
+
|
|
627
|
+
#### Using the create_lease_note_with_http_info variant
|
|
628
|
+
|
|
629
|
+
This returns an Array which contains the response data, status code and headers.
|
|
630
|
+
|
|
631
|
+
> <Array(<NoteMessage>, Integer, Hash)> create_lease_note_with_http_info(lease_id, note_post_message)
|
|
632
|
+
|
|
633
|
+
```ruby
|
|
634
|
+
begin
|
|
635
|
+
# Create a note
|
|
636
|
+
data, status_code, headers = api_instance.create_lease_note_with_http_info(lease_id, note_post_message)
|
|
637
|
+
p status_code # => 2xx
|
|
638
|
+
p headers # => { ... }
|
|
639
|
+
p data # => <NoteMessage>
|
|
640
|
+
rescue Buildium::ApiError => e
|
|
641
|
+
puts "Error when calling LeasesApi->create_lease_note_with_http_info: #{e}"
|
|
642
|
+
end
|
|
643
|
+
```
|
|
644
|
+
|
|
645
|
+
### Parameters
|
|
646
|
+
|
|
647
|
+
| Name | Type | Description | Notes |
|
|
648
|
+
| ---- | ---- | ----------- | ----- |
|
|
649
|
+
| **lease_id** | **Integer** | | |
|
|
650
|
+
| **note_post_message** | [**NotePostMessage**](NotePostMessage.md) | | |
|
|
651
|
+
|
|
652
|
+
### Return type
|
|
653
|
+
|
|
654
|
+
[**NoteMessage**](NoteMessage.md)
|
|
655
|
+
|
|
656
|
+
### Authorization
|
|
657
|
+
|
|
658
|
+
[clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
|
|
659
|
+
|
|
660
|
+
### HTTP request headers
|
|
661
|
+
|
|
662
|
+
- **Content-Type**: application/json
|
|
663
|
+
- **Accept**: application/json
|
|
664
|
+
|
|
665
|
+
|
|
666
|
+
## create_lease_recurring_payment
|
|
667
|
+
|
|
668
|
+
> <LeaseRecurringPaymentMessage> create_lease_recurring_payment(lease_id, payment_recurring_transaction_post_message)
|
|
669
|
+
|
|
670
|
+
Create a recurring payment
|
|
671
|
+
|
|
672
|
+
Creates a recurring payment that will post automatically on the specified lease ledger. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Lease Transactions</span> - `View` `Edit`
|
|
673
|
+
|
|
674
|
+
### Examples
|
|
675
|
+
|
|
676
|
+
```ruby
|
|
677
|
+
require 'time'
|
|
678
|
+
require 'buildium-ruby'
|
|
679
|
+
# setup authorization
|
|
680
|
+
Buildium.configure do |config|
|
|
681
|
+
# Configure API key authorization: clientId
|
|
682
|
+
config.api_key['clientId'] = 'YOUR API KEY'
|
|
683
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
684
|
+
# config.api_key_prefix['clientId'] = 'Bearer'
|
|
685
|
+
|
|
686
|
+
# Configure API key authorization: clientSecret
|
|
687
|
+
config.api_key['clientSecret'] = 'YOUR API KEY'
|
|
688
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
689
|
+
# config.api_key_prefix['clientSecret'] = 'Bearer'
|
|
690
|
+
end
|
|
691
|
+
|
|
692
|
+
api_instance = Buildium::LeasesApi.new
|
|
693
|
+
lease_id = 56 # Integer |
|
|
694
|
+
payment_recurring_transaction_post_message = Buildium::PaymentRecurringTransactionPostMessage.new({payment_method: 'Check', first_occurrence_date: Date.today, post_days_in_advance: 37, frequency: 'Monthly'}) # PaymentRecurringTransactionPostMessage |
|
|
695
|
+
|
|
696
|
+
begin
|
|
697
|
+
# Create a recurring payment
|
|
698
|
+
result = api_instance.create_lease_recurring_payment(lease_id, payment_recurring_transaction_post_message)
|
|
699
|
+
p result
|
|
700
|
+
rescue Buildium::ApiError => e
|
|
701
|
+
puts "Error when calling LeasesApi->create_lease_recurring_payment: #{e}"
|
|
702
|
+
end
|
|
703
|
+
```
|
|
704
|
+
|
|
705
|
+
#### Using the create_lease_recurring_payment_with_http_info variant
|
|
706
|
+
|
|
707
|
+
This returns an Array which contains the response data, status code and headers.
|
|
708
|
+
|
|
709
|
+
> <Array(<LeaseRecurringPaymentMessage>, Integer, Hash)> create_lease_recurring_payment_with_http_info(lease_id, payment_recurring_transaction_post_message)
|
|
710
|
+
|
|
711
|
+
```ruby
|
|
712
|
+
begin
|
|
713
|
+
# Create a recurring payment
|
|
714
|
+
data, status_code, headers = api_instance.create_lease_recurring_payment_with_http_info(lease_id, payment_recurring_transaction_post_message)
|
|
715
|
+
p status_code # => 2xx
|
|
716
|
+
p headers # => { ... }
|
|
717
|
+
p data # => <LeaseRecurringPaymentMessage>
|
|
718
|
+
rescue Buildium::ApiError => e
|
|
719
|
+
puts "Error when calling LeasesApi->create_lease_recurring_payment_with_http_info: #{e}"
|
|
720
|
+
end
|
|
721
|
+
```
|
|
722
|
+
|
|
723
|
+
### Parameters
|
|
724
|
+
|
|
725
|
+
| Name | Type | Description | Notes |
|
|
726
|
+
| ---- | ---- | ----------- | ----- |
|
|
727
|
+
| **lease_id** | **Integer** | | |
|
|
728
|
+
| **payment_recurring_transaction_post_message** | [**PaymentRecurringTransactionPostMessage**](PaymentRecurringTransactionPostMessage.md) | | |
|
|
729
|
+
|
|
730
|
+
### Return type
|
|
731
|
+
|
|
732
|
+
[**LeaseRecurringPaymentMessage**](LeaseRecurringPaymentMessage.md)
|
|
733
|
+
|
|
734
|
+
### Authorization
|
|
735
|
+
|
|
736
|
+
[clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
|
|
737
|
+
|
|
738
|
+
### HTTP request headers
|
|
739
|
+
|
|
740
|
+
- **Content-Type**: application/json
|
|
741
|
+
- **Accept**: application/json
|
|
742
|
+
|
|
743
|
+
|
|
744
|
+
## create_lease_reverse_payment
|
|
745
|
+
|
|
746
|
+
> <LeaseTransactionMessage> create_lease_reverse_payment(lease_id, lease_ledger_reverse_payment_post_message)
|
|
747
|
+
|
|
748
|
+
Create a payment reversal
|
|
749
|
+
|
|
750
|
+
Reverses a lease ledger payment. Note, this action can only be taken on a payment that has been deposited. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Lease transactions</span> - `View` `Edit` <br /><span class=\"permissionBlock\">Accounting > Bank Accounts</span> - `View` `Edit`
|
|
751
|
+
|
|
752
|
+
### Examples
|
|
753
|
+
|
|
754
|
+
```ruby
|
|
755
|
+
require 'time'
|
|
756
|
+
require 'buildium-ruby'
|
|
757
|
+
# setup authorization
|
|
758
|
+
Buildium.configure do |config|
|
|
759
|
+
# Configure API key authorization: clientId
|
|
760
|
+
config.api_key['clientId'] = 'YOUR API KEY'
|
|
761
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
762
|
+
# config.api_key_prefix['clientId'] = 'Bearer'
|
|
763
|
+
|
|
764
|
+
# Configure API key authorization: clientSecret
|
|
765
|
+
config.api_key['clientSecret'] = 'YOUR API KEY'
|
|
766
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
767
|
+
# config.api_key_prefix['clientSecret'] = 'Bearer'
|
|
768
|
+
end
|
|
769
|
+
|
|
770
|
+
api_instance = Buildium::LeasesApi.new
|
|
771
|
+
lease_id = 56 # Integer | The lease unique identifier.
|
|
772
|
+
lease_ledger_reverse_payment_post_message = Buildium::LeaseLedgerReversePaymentPostMessage.new({entry_date: Date.today, payment_transaction_id: 37}) # LeaseLedgerReversePaymentPostMessage |
|
|
773
|
+
|
|
774
|
+
begin
|
|
775
|
+
# Create a payment reversal
|
|
776
|
+
result = api_instance.create_lease_reverse_payment(lease_id, lease_ledger_reverse_payment_post_message)
|
|
777
|
+
p result
|
|
778
|
+
rescue Buildium::ApiError => e
|
|
779
|
+
puts "Error when calling LeasesApi->create_lease_reverse_payment: #{e}"
|
|
780
|
+
end
|
|
781
|
+
```
|
|
782
|
+
|
|
783
|
+
#### Using the create_lease_reverse_payment_with_http_info variant
|
|
784
|
+
|
|
785
|
+
This returns an Array which contains the response data, status code and headers.
|
|
786
|
+
|
|
787
|
+
> <Array(<LeaseTransactionMessage>, Integer, Hash)> create_lease_reverse_payment_with_http_info(lease_id, lease_ledger_reverse_payment_post_message)
|
|
788
|
+
|
|
789
|
+
```ruby
|
|
790
|
+
begin
|
|
791
|
+
# Create a payment reversal
|
|
792
|
+
data, status_code, headers = api_instance.create_lease_reverse_payment_with_http_info(lease_id, lease_ledger_reverse_payment_post_message)
|
|
793
|
+
p status_code # => 2xx
|
|
794
|
+
p headers # => { ... }
|
|
795
|
+
p data # => <LeaseTransactionMessage>
|
|
796
|
+
rescue Buildium::ApiError => e
|
|
797
|
+
puts "Error when calling LeasesApi->create_lease_reverse_payment_with_http_info: #{e}"
|
|
798
|
+
end
|
|
799
|
+
```
|
|
800
|
+
|
|
801
|
+
### Parameters
|
|
802
|
+
|
|
803
|
+
| Name | Type | Description | Notes |
|
|
804
|
+
| ---- | ---- | ----------- | ----- |
|
|
805
|
+
| **lease_id** | **Integer** | The lease unique identifier. | |
|
|
806
|
+
| **lease_ledger_reverse_payment_post_message** | [**LeaseLedgerReversePaymentPostMessage**](LeaseLedgerReversePaymentPostMessage.md) | | |
|
|
807
|
+
|
|
808
|
+
### Return type
|
|
809
|
+
|
|
810
|
+
[**LeaseTransactionMessage**](LeaseTransactionMessage.md)
|
|
811
|
+
|
|
812
|
+
### Authorization
|
|
813
|
+
|
|
814
|
+
[clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
|
|
815
|
+
|
|
816
|
+
### HTTP request headers
|
|
817
|
+
|
|
818
|
+
- **Content-Type**: application/json
|
|
819
|
+
- **Accept**: application/json
|
|
820
|
+
|
|
821
|
+
|
|
822
|
+
## create_move_out_data
|
|
823
|
+
|
|
824
|
+
> <LeaseMoveOutDataMessage> create_move_out_data(lease_id, lease_move_out_data_post_message)
|
|
825
|
+
|
|
826
|
+
Create a move out
|
|
827
|
+
|
|
828
|
+
Creates move out data for a single tenant on a given lease. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Leases</span> - `View` `Edit` <br /><span class=\"permissionBlock\">Rentals > Tenants</span> - `View` `Edit`
|
|
829
|
+
|
|
830
|
+
### Examples
|
|
831
|
+
|
|
832
|
+
```ruby
|
|
833
|
+
require 'time'
|
|
834
|
+
require 'buildium-ruby'
|
|
835
|
+
# setup authorization
|
|
836
|
+
Buildium.configure do |config|
|
|
837
|
+
# Configure API key authorization: clientId
|
|
838
|
+
config.api_key['clientId'] = 'YOUR API KEY'
|
|
839
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
840
|
+
# config.api_key_prefix['clientId'] = 'Bearer'
|
|
841
|
+
|
|
842
|
+
# Configure API key authorization: clientSecret
|
|
843
|
+
config.api_key['clientSecret'] = 'YOUR API KEY'
|
|
844
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
845
|
+
# config.api_key_prefix['clientSecret'] = 'Bearer'
|
|
846
|
+
end
|
|
847
|
+
|
|
848
|
+
api_instance = Buildium::LeasesApi.new
|
|
849
|
+
lease_id = 56 # Integer |
|
|
850
|
+
lease_move_out_data_post_message = Buildium::LeaseMoveOutDataPostMessage.new({tenant_id: 37, move_out_date: Date.today}) # LeaseMoveOutDataPostMessage |
|
|
851
|
+
|
|
852
|
+
begin
|
|
853
|
+
# Create a move out
|
|
854
|
+
result = api_instance.create_move_out_data(lease_id, lease_move_out_data_post_message)
|
|
855
|
+
p result
|
|
856
|
+
rescue Buildium::ApiError => e
|
|
857
|
+
puts "Error when calling LeasesApi->create_move_out_data: #{e}"
|
|
858
|
+
end
|
|
859
|
+
```
|
|
860
|
+
|
|
861
|
+
#### Using the create_move_out_data_with_http_info variant
|
|
862
|
+
|
|
863
|
+
This returns an Array which contains the response data, status code and headers.
|
|
864
|
+
|
|
865
|
+
> <Array(<LeaseMoveOutDataMessage>, Integer, Hash)> create_move_out_data_with_http_info(lease_id, lease_move_out_data_post_message)
|
|
866
|
+
|
|
867
|
+
```ruby
|
|
868
|
+
begin
|
|
869
|
+
# Create a move out
|
|
870
|
+
data, status_code, headers = api_instance.create_move_out_data_with_http_info(lease_id, lease_move_out_data_post_message)
|
|
871
|
+
p status_code # => 2xx
|
|
872
|
+
p headers # => { ... }
|
|
873
|
+
p data # => <LeaseMoveOutDataMessage>
|
|
874
|
+
rescue Buildium::ApiError => e
|
|
875
|
+
puts "Error when calling LeasesApi->create_move_out_data_with_http_info: #{e}"
|
|
876
|
+
end
|
|
877
|
+
```
|
|
878
|
+
|
|
879
|
+
### Parameters
|
|
880
|
+
|
|
881
|
+
| Name | Type | Description | Notes |
|
|
882
|
+
| ---- | ---- | ----------- | ----- |
|
|
883
|
+
| **lease_id** | **Integer** | | |
|
|
884
|
+
| **lease_move_out_data_post_message** | [**LeaseMoveOutDataPostMessage**](LeaseMoveOutDataPostMessage.md) | | |
|
|
885
|
+
|
|
886
|
+
### Return type
|
|
887
|
+
|
|
888
|
+
[**LeaseMoveOutDataMessage**](LeaseMoveOutDataMessage.md)
|
|
889
|
+
|
|
890
|
+
### Authorization
|
|
891
|
+
|
|
892
|
+
[clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
|
|
893
|
+
|
|
894
|
+
### HTTP request headers
|
|
895
|
+
|
|
896
|
+
- **Content-Type**: application/json
|
|
897
|
+
- **Accept**: application/json
|
|
898
|
+
|
|
899
|
+
|
|
900
|
+
## create_payment
|
|
901
|
+
|
|
902
|
+
> <LeaseTransactionMessage> create_payment(lease_id, lease_ledger_payment_post_message)
|
|
903
|
+
|
|
904
|
+
Create a payment
|
|
905
|
+
|
|
906
|
+
Creates a lease ledger payment. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Lease transactions</span> - `View` `Edit`
|
|
907
|
+
|
|
908
|
+
### Examples
|
|
909
|
+
|
|
910
|
+
```ruby
|
|
911
|
+
require 'time'
|
|
912
|
+
require 'buildium-ruby'
|
|
913
|
+
# setup authorization
|
|
914
|
+
Buildium.configure do |config|
|
|
915
|
+
# Configure API key authorization: clientId
|
|
916
|
+
config.api_key['clientId'] = 'YOUR API KEY'
|
|
917
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
918
|
+
# config.api_key_prefix['clientId'] = 'Bearer'
|
|
919
|
+
|
|
920
|
+
# Configure API key authorization: clientSecret
|
|
921
|
+
config.api_key['clientSecret'] = 'YOUR API KEY'
|
|
922
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
923
|
+
# config.api_key_prefix['clientSecret'] = 'Bearer'
|
|
924
|
+
end
|
|
925
|
+
|
|
926
|
+
api_instance = Buildium::LeasesApi.new
|
|
927
|
+
lease_id = 56 # Integer | The lease unique identifier.
|
|
928
|
+
lease_ledger_payment_post_message = Buildium::LeaseLedgerPaymentPostMessage.new({date: Date.today, payment_method: 'Check', send_email_receipt: false, lines: [Buildium::LeaseLedgerPaymentLineSaveMessage.new({amount: 3.56, gl_account_id: 37})]}) # LeaseLedgerPaymentPostMessage |
|
|
929
|
+
|
|
930
|
+
begin
|
|
931
|
+
# Create a payment
|
|
932
|
+
result = api_instance.create_payment(lease_id, lease_ledger_payment_post_message)
|
|
933
|
+
p result
|
|
934
|
+
rescue Buildium::ApiError => e
|
|
935
|
+
puts "Error when calling LeasesApi->create_payment: #{e}"
|
|
936
|
+
end
|
|
937
|
+
```
|
|
938
|
+
|
|
939
|
+
#### Using the create_payment_with_http_info variant
|
|
940
|
+
|
|
941
|
+
This returns an Array which contains the response data, status code and headers.
|
|
942
|
+
|
|
943
|
+
> <Array(<LeaseTransactionMessage>, Integer, Hash)> create_payment_with_http_info(lease_id, lease_ledger_payment_post_message)
|
|
944
|
+
|
|
945
|
+
```ruby
|
|
946
|
+
begin
|
|
947
|
+
# Create a payment
|
|
948
|
+
data, status_code, headers = api_instance.create_payment_with_http_info(lease_id, lease_ledger_payment_post_message)
|
|
949
|
+
p status_code # => 2xx
|
|
950
|
+
p headers # => { ... }
|
|
951
|
+
p data # => <LeaseTransactionMessage>
|
|
952
|
+
rescue Buildium::ApiError => e
|
|
953
|
+
puts "Error when calling LeasesApi->create_payment_with_http_info: #{e}"
|
|
954
|
+
end
|
|
955
|
+
```
|
|
956
|
+
|
|
957
|
+
### Parameters
|
|
958
|
+
|
|
959
|
+
| Name | Type | Description | Notes |
|
|
960
|
+
| ---- | ---- | ----------- | ----- |
|
|
961
|
+
| **lease_id** | **Integer** | The lease unique identifier. | |
|
|
962
|
+
| **lease_ledger_payment_post_message** | [**LeaseLedgerPaymentPostMessage**](LeaseLedgerPaymentPostMessage.md) | | |
|
|
963
|
+
|
|
964
|
+
### Return type
|
|
965
|
+
|
|
966
|
+
[**LeaseTransactionMessage**](LeaseTransactionMessage.md)
|
|
967
|
+
|
|
968
|
+
### Authorization
|
|
969
|
+
|
|
970
|
+
[clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
|
|
971
|
+
|
|
972
|
+
### HTTP request headers
|
|
973
|
+
|
|
974
|
+
- **Content-Type**: application/json
|
|
975
|
+
- **Accept**: application/json
|
|
976
|
+
|
|
977
|
+
|
|
978
|
+
## get_lease_by_id
|
|
979
|
+
|
|
980
|
+
> <LeaseMessage> get_lease_by_id(lease_id)
|
|
981
|
+
|
|
982
|
+
Retrieve a lease
|
|
983
|
+
|
|
984
|
+
Retrieves a specific lease. <br /><br /><span class=\"permissionBlock\">Rentals > Leases</span> - `View`
|
|
985
|
+
|
|
986
|
+
### Examples
|
|
987
|
+
|
|
988
|
+
```ruby
|
|
989
|
+
require 'time'
|
|
990
|
+
require 'buildium-ruby'
|
|
991
|
+
# setup authorization
|
|
992
|
+
Buildium.configure do |config|
|
|
993
|
+
# Configure API key authorization: clientId
|
|
994
|
+
config.api_key['clientId'] = 'YOUR API KEY'
|
|
995
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
996
|
+
# config.api_key_prefix['clientId'] = 'Bearer'
|
|
997
|
+
|
|
998
|
+
# Configure API key authorization: clientSecret
|
|
999
|
+
config.api_key['clientSecret'] = 'YOUR API KEY'
|
|
1000
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
1001
|
+
# config.api_key_prefix['clientSecret'] = 'Bearer'
|
|
1002
|
+
end
|
|
1003
|
+
|
|
1004
|
+
api_instance = Buildium::LeasesApi.new
|
|
1005
|
+
lease_id = 56 # Integer | The lease identifier.
|
|
1006
|
+
|
|
1007
|
+
begin
|
|
1008
|
+
# Retrieve a lease
|
|
1009
|
+
result = api_instance.get_lease_by_id(lease_id)
|
|
1010
|
+
p result
|
|
1011
|
+
rescue Buildium::ApiError => e
|
|
1012
|
+
puts "Error when calling LeasesApi->get_lease_by_id: #{e}"
|
|
1013
|
+
end
|
|
1014
|
+
```
|
|
1015
|
+
|
|
1016
|
+
#### Using the get_lease_by_id_with_http_info variant
|
|
1017
|
+
|
|
1018
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1019
|
+
|
|
1020
|
+
> <Array(<LeaseMessage>, Integer, Hash)> get_lease_by_id_with_http_info(lease_id)
|
|
1021
|
+
|
|
1022
|
+
```ruby
|
|
1023
|
+
begin
|
|
1024
|
+
# Retrieve a lease
|
|
1025
|
+
data, status_code, headers = api_instance.get_lease_by_id_with_http_info(lease_id)
|
|
1026
|
+
p status_code # => 2xx
|
|
1027
|
+
p headers # => { ... }
|
|
1028
|
+
p data # => <LeaseMessage>
|
|
1029
|
+
rescue Buildium::ApiError => e
|
|
1030
|
+
puts "Error when calling LeasesApi->get_lease_by_id_with_http_info: #{e}"
|
|
1031
|
+
end
|
|
1032
|
+
```
|
|
1033
|
+
|
|
1034
|
+
### Parameters
|
|
1035
|
+
|
|
1036
|
+
| Name | Type | Description | Notes |
|
|
1037
|
+
| ---- | ---- | ----------- | ----- |
|
|
1038
|
+
| **lease_id** | **Integer** | The lease identifier. | |
|
|
1039
|
+
|
|
1040
|
+
### Return type
|
|
1041
|
+
|
|
1042
|
+
[**LeaseMessage**](LeaseMessage.md)
|
|
1043
|
+
|
|
1044
|
+
### Authorization
|
|
1045
|
+
|
|
1046
|
+
[clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
|
|
1047
|
+
|
|
1048
|
+
### HTTP request headers
|
|
1049
|
+
|
|
1050
|
+
- **Content-Type**: Not defined
|
|
1051
|
+
- **Accept**: application/json
|
|
1052
|
+
|
|
1053
|
+
|
|
1054
|
+
## get_lease_charge_recurring_transaction_by_id
|
|
1055
|
+
|
|
1056
|
+
> <LeaseChargeRecurringTransactionMessage> get_lease_charge_recurring_transaction_by_id(lease_id, transaction_id)
|
|
1057
|
+
|
|
1058
|
+
Retrieve a recurring charge
|
|
1059
|
+
|
|
1060
|
+
Retrieves a recurring charge. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Lease transactions</span> - `View`
|
|
1061
|
+
|
|
1062
|
+
### Examples
|
|
1063
|
+
|
|
1064
|
+
```ruby
|
|
1065
|
+
require 'time'
|
|
1066
|
+
require 'buildium-ruby'
|
|
1067
|
+
# setup authorization
|
|
1068
|
+
Buildium.configure do |config|
|
|
1069
|
+
# Configure API key authorization: clientId
|
|
1070
|
+
config.api_key['clientId'] = 'YOUR API KEY'
|
|
1071
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
1072
|
+
# config.api_key_prefix['clientId'] = 'Bearer'
|
|
1073
|
+
|
|
1074
|
+
# Configure API key authorization: clientSecret
|
|
1075
|
+
config.api_key['clientSecret'] = 'YOUR API KEY'
|
|
1076
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
1077
|
+
# config.api_key_prefix['clientSecret'] = 'Bearer'
|
|
1078
|
+
end
|
|
1079
|
+
|
|
1080
|
+
api_instance = Buildium::LeasesApi.new
|
|
1081
|
+
lease_id = 56 # Integer |
|
|
1082
|
+
transaction_id = 56 # Integer |
|
|
1083
|
+
|
|
1084
|
+
begin
|
|
1085
|
+
# Retrieve a recurring charge
|
|
1086
|
+
result = api_instance.get_lease_charge_recurring_transaction_by_id(lease_id, transaction_id)
|
|
1087
|
+
p result
|
|
1088
|
+
rescue Buildium::ApiError => e
|
|
1089
|
+
puts "Error when calling LeasesApi->get_lease_charge_recurring_transaction_by_id: #{e}"
|
|
1090
|
+
end
|
|
1091
|
+
```
|
|
1092
|
+
|
|
1093
|
+
#### Using the get_lease_charge_recurring_transaction_by_id_with_http_info variant
|
|
1094
|
+
|
|
1095
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1096
|
+
|
|
1097
|
+
> <Array(<LeaseChargeRecurringTransactionMessage>, Integer, Hash)> get_lease_charge_recurring_transaction_by_id_with_http_info(lease_id, transaction_id)
|
|
1098
|
+
|
|
1099
|
+
```ruby
|
|
1100
|
+
begin
|
|
1101
|
+
# Retrieve a recurring charge
|
|
1102
|
+
data, status_code, headers = api_instance.get_lease_charge_recurring_transaction_by_id_with_http_info(lease_id, transaction_id)
|
|
1103
|
+
p status_code # => 2xx
|
|
1104
|
+
p headers # => { ... }
|
|
1105
|
+
p data # => <LeaseChargeRecurringTransactionMessage>
|
|
1106
|
+
rescue Buildium::ApiError => e
|
|
1107
|
+
puts "Error when calling LeasesApi->get_lease_charge_recurring_transaction_by_id_with_http_info: #{e}"
|
|
1108
|
+
end
|
|
1109
|
+
```
|
|
1110
|
+
|
|
1111
|
+
### Parameters
|
|
1112
|
+
|
|
1113
|
+
| Name | Type | Description | Notes |
|
|
1114
|
+
| ---- | ---- | ----------- | ----- |
|
|
1115
|
+
| **lease_id** | **Integer** | | |
|
|
1116
|
+
| **transaction_id** | **Integer** | | |
|
|
1117
|
+
|
|
1118
|
+
### Return type
|
|
1119
|
+
|
|
1120
|
+
[**LeaseChargeRecurringTransactionMessage**](LeaseChargeRecurringTransactionMessage.md)
|
|
1121
|
+
|
|
1122
|
+
### Authorization
|
|
1123
|
+
|
|
1124
|
+
[clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
|
|
1125
|
+
|
|
1126
|
+
### HTTP request headers
|
|
1127
|
+
|
|
1128
|
+
- **Content-Type**: Not defined
|
|
1129
|
+
- **Accept**: application/json
|
|
1130
|
+
|
|
1131
|
+
|
|
1132
|
+
## get_lease_ledger_refund_by_id
|
|
1133
|
+
|
|
1134
|
+
> <LeaseLedgerRefundMessage> get_lease_ledger_refund_by_id(lease_id, refund_id)
|
|
1135
|
+
|
|
1136
|
+
Retrieve a refund
|
|
1137
|
+
|
|
1138
|
+
Retrieves a refund. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bank Accounts</span> - `View`
|
|
1139
|
+
|
|
1140
|
+
### Examples
|
|
1141
|
+
|
|
1142
|
+
```ruby
|
|
1143
|
+
require 'time'
|
|
1144
|
+
require 'buildium-ruby'
|
|
1145
|
+
# setup authorization
|
|
1146
|
+
Buildium.configure do |config|
|
|
1147
|
+
# Configure API key authorization: clientId
|
|
1148
|
+
config.api_key['clientId'] = 'YOUR API KEY'
|
|
1149
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
1150
|
+
# config.api_key_prefix['clientId'] = 'Bearer'
|
|
1151
|
+
|
|
1152
|
+
# Configure API key authorization: clientSecret
|
|
1153
|
+
config.api_key['clientSecret'] = 'YOUR API KEY'
|
|
1154
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
1155
|
+
# config.api_key_prefix['clientSecret'] = 'Bearer'
|
|
1156
|
+
end
|
|
1157
|
+
|
|
1158
|
+
api_instance = Buildium::LeasesApi.new
|
|
1159
|
+
lease_id = 56 # Integer |
|
|
1160
|
+
refund_id = 56 # Integer |
|
|
1161
|
+
|
|
1162
|
+
begin
|
|
1163
|
+
# Retrieve a refund
|
|
1164
|
+
result = api_instance.get_lease_ledger_refund_by_id(lease_id, refund_id)
|
|
1165
|
+
p result
|
|
1166
|
+
rescue Buildium::ApiError => e
|
|
1167
|
+
puts "Error when calling LeasesApi->get_lease_ledger_refund_by_id: #{e}"
|
|
1168
|
+
end
|
|
1169
|
+
```
|
|
1170
|
+
|
|
1171
|
+
#### Using the get_lease_ledger_refund_by_id_with_http_info variant
|
|
1172
|
+
|
|
1173
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1174
|
+
|
|
1175
|
+
> <Array(<LeaseLedgerRefundMessage>, Integer, Hash)> get_lease_ledger_refund_by_id_with_http_info(lease_id, refund_id)
|
|
1176
|
+
|
|
1177
|
+
```ruby
|
|
1178
|
+
begin
|
|
1179
|
+
# Retrieve a refund
|
|
1180
|
+
data, status_code, headers = api_instance.get_lease_ledger_refund_by_id_with_http_info(lease_id, refund_id)
|
|
1181
|
+
p status_code # => 2xx
|
|
1182
|
+
p headers # => { ... }
|
|
1183
|
+
p data # => <LeaseLedgerRefundMessage>
|
|
1184
|
+
rescue Buildium::ApiError => e
|
|
1185
|
+
puts "Error when calling LeasesApi->get_lease_ledger_refund_by_id_with_http_info: #{e}"
|
|
1186
|
+
end
|
|
1187
|
+
```
|
|
1188
|
+
|
|
1189
|
+
### Parameters
|
|
1190
|
+
|
|
1191
|
+
| Name | Type | Description | Notes |
|
|
1192
|
+
| ---- | ---- | ----------- | ----- |
|
|
1193
|
+
| **lease_id** | **Integer** | | |
|
|
1194
|
+
| **refund_id** | **Integer** | | |
|
|
1195
|
+
|
|
1196
|
+
### Return type
|
|
1197
|
+
|
|
1198
|
+
[**LeaseLedgerRefundMessage**](LeaseLedgerRefundMessage.md)
|
|
1199
|
+
|
|
1200
|
+
### Authorization
|
|
1201
|
+
|
|
1202
|
+
[clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
|
|
1203
|
+
|
|
1204
|
+
### HTTP request headers
|
|
1205
|
+
|
|
1206
|
+
- **Content-Type**: Not defined
|
|
1207
|
+
- **Accept**: application/json
|
|
1208
|
+
|
|
1209
|
+
|
|
1210
|
+
## get_lease_ledger_transaction_by_id
|
|
1211
|
+
|
|
1212
|
+
> <LeaseTransactionMessage> get_lease_ledger_transaction_by_id(lease_id, transaction_id)
|
|
1213
|
+
|
|
1214
|
+
Retrieve a lease transaction
|
|
1215
|
+
|
|
1216
|
+
Retrieves a specific lease transaction. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Lease Transactions</span> - `View`
|
|
1217
|
+
|
|
1218
|
+
### Examples
|
|
1219
|
+
|
|
1220
|
+
```ruby
|
|
1221
|
+
require 'time'
|
|
1222
|
+
require 'buildium-ruby'
|
|
1223
|
+
# setup authorization
|
|
1224
|
+
Buildium.configure do |config|
|
|
1225
|
+
# Configure API key authorization: clientId
|
|
1226
|
+
config.api_key['clientId'] = 'YOUR API KEY'
|
|
1227
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
1228
|
+
# config.api_key_prefix['clientId'] = 'Bearer'
|
|
1229
|
+
|
|
1230
|
+
# Configure API key authorization: clientSecret
|
|
1231
|
+
config.api_key['clientSecret'] = 'YOUR API KEY'
|
|
1232
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
1233
|
+
# config.api_key_prefix['clientSecret'] = 'Bearer'
|
|
1234
|
+
end
|
|
1235
|
+
|
|
1236
|
+
api_instance = Buildium::LeasesApi.new
|
|
1237
|
+
lease_id = 56 # Integer |
|
|
1238
|
+
transaction_id = 56 # Integer |
|
|
1239
|
+
|
|
1240
|
+
begin
|
|
1241
|
+
# Retrieve a lease transaction
|
|
1242
|
+
result = api_instance.get_lease_ledger_transaction_by_id(lease_id, transaction_id)
|
|
1243
|
+
p result
|
|
1244
|
+
rescue Buildium::ApiError => e
|
|
1245
|
+
puts "Error when calling LeasesApi->get_lease_ledger_transaction_by_id: #{e}"
|
|
1246
|
+
end
|
|
1247
|
+
```
|
|
1248
|
+
|
|
1249
|
+
#### Using the get_lease_ledger_transaction_by_id_with_http_info variant
|
|
1250
|
+
|
|
1251
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1252
|
+
|
|
1253
|
+
> <Array(<LeaseTransactionMessage>, Integer, Hash)> get_lease_ledger_transaction_by_id_with_http_info(lease_id, transaction_id)
|
|
1254
|
+
|
|
1255
|
+
```ruby
|
|
1256
|
+
begin
|
|
1257
|
+
# Retrieve a lease transaction
|
|
1258
|
+
data, status_code, headers = api_instance.get_lease_ledger_transaction_by_id_with_http_info(lease_id, transaction_id)
|
|
1259
|
+
p status_code # => 2xx
|
|
1260
|
+
p headers # => { ... }
|
|
1261
|
+
p data # => <LeaseTransactionMessage>
|
|
1262
|
+
rescue Buildium::ApiError => e
|
|
1263
|
+
puts "Error when calling LeasesApi->get_lease_ledger_transaction_by_id_with_http_info: #{e}"
|
|
1264
|
+
end
|
|
1265
|
+
```
|
|
1266
|
+
|
|
1267
|
+
### Parameters
|
|
1268
|
+
|
|
1269
|
+
| Name | Type | Description | Notes |
|
|
1270
|
+
| ---- | ---- | ----------- | ----- |
|
|
1271
|
+
| **lease_id** | **Integer** | | |
|
|
1272
|
+
| **transaction_id** | **Integer** | | |
|
|
1273
|
+
|
|
1274
|
+
### Return type
|
|
1275
|
+
|
|
1276
|
+
[**LeaseTransactionMessage**](LeaseTransactionMessage.md)
|
|
1277
|
+
|
|
1278
|
+
### Authorization
|
|
1279
|
+
|
|
1280
|
+
[clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
|
|
1281
|
+
|
|
1282
|
+
### HTTP request headers
|
|
1283
|
+
|
|
1284
|
+
- **Content-Type**: Not defined
|
|
1285
|
+
- **Accept**: application/json
|
|
1286
|
+
|
|
1287
|
+
|
|
1288
|
+
## get_lease_ledgers
|
|
1289
|
+
|
|
1290
|
+
> <Array<LeaseTransactionMessage>> get_lease_ledgers(lease_id, opts)
|
|
1291
|
+
|
|
1292
|
+
Retrieve all lease transactions
|
|
1293
|
+
|
|
1294
|
+
Retrieves all the transactions for a specific lease. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Lease transactions</span> - `View`
|
|
1295
|
+
|
|
1296
|
+
### Examples
|
|
1297
|
+
|
|
1298
|
+
```ruby
|
|
1299
|
+
require 'time'
|
|
1300
|
+
require 'buildium-ruby'
|
|
1301
|
+
# setup authorization
|
|
1302
|
+
Buildium.configure do |config|
|
|
1303
|
+
# Configure API key authorization: clientId
|
|
1304
|
+
config.api_key['clientId'] = 'YOUR API KEY'
|
|
1305
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
1306
|
+
# config.api_key_prefix['clientId'] = 'Bearer'
|
|
1307
|
+
|
|
1308
|
+
# Configure API key authorization: clientSecret
|
|
1309
|
+
config.api_key['clientSecret'] = 'YOUR API KEY'
|
|
1310
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
1311
|
+
# config.api_key_prefix['clientSecret'] = 'Bearer'
|
|
1312
|
+
end
|
|
1313
|
+
|
|
1314
|
+
api_instance = Buildium::LeasesApi.new
|
|
1315
|
+
lease_id = 56 # Integer |
|
|
1316
|
+
opts = {
|
|
1317
|
+
transactiondatefrom: Date.parse('2013-10-20'), # Date | Filters results to any lease transaction whose start date is greater than or equal to the specified value.
|
|
1318
|
+
transactiondateto: Date.parse('2013-10-20'), # Date | Filters results to any lease transaction whose end date is less than or equal to the specified value.
|
|
1319
|
+
transactiontypes: ['Bill'], # Array<String> | Filters results to any lease transaction whose lease transaction type matches the specified status. If no type is specified, lease transactions with any type will be returned.
|
|
1320
|
+
orderby: 'orderby_example', # String | `orderby` indicates the field(s) and direction to sort the results in the response. See <a href=\"#section/API-Overview/Bulk-Request-Options\">Bulk Request Options</a> for more information.
|
|
1321
|
+
offset: 56, # Integer | `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0.
|
|
1322
|
+
limit: 56 # Integer | `limit` indicates the maximum number of results to be returned in the response. `limit` can range between 1 and 1000 and the default is 50.
|
|
1323
|
+
}
|
|
1324
|
+
|
|
1325
|
+
begin
|
|
1326
|
+
# Retrieve all lease transactions
|
|
1327
|
+
result = api_instance.get_lease_ledgers(lease_id, opts)
|
|
1328
|
+
p result
|
|
1329
|
+
rescue Buildium::ApiError => e
|
|
1330
|
+
puts "Error when calling LeasesApi->get_lease_ledgers: #{e}"
|
|
1331
|
+
end
|
|
1332
|
+
```
|
|
1333
|
+
|
|
1334
|
+
#### Using the get_lease_ledgers_with_http_info variant
|
|
1335
|
+
|
|
1336
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1337
|
+
|
|
1338
|
+
> <Array(<Array<LeaseTransactionMessage>>, Integer, Hash)> get_lease_ledgers_with_http_info(lease_id, opts)
|
|
1339
|
+
|
|
1340
|
+
```ruby
|
|
1341
|
+
begin
|
|
1342
|
+
# Retrieve all lease transactions
|
|
1343
|
+
data, status_code, headers = api_instance.get_lease_ledgers_with_http_info(lease_id, opts)
|
|
1344
|
+
p status_code # => 2xx
|
|
1345
|
+
p headers # => { ... }
|
|
1346
|
+
p data # => <Array<LeaseTransactionMessage>>
|
|
1347
|
+
rescue Buildium::ApiError => e
|
|
1348
|
+
puts "Error when calling LeasesApi->get_lease_ledgers_with_http_info: #{e}"
|
|
1349
|
+
end
|
|
1350
|
+
```
|
|
1351
|
+
|
|
1352
|
+
### Parameters
|
|
1353
|
+
|
|
1354
|
+
| Name | Type | Description | Notes |
|
|
1355
|
+
| ---- | ---- | ----------- | ----- |
|
|
1356
|
+
| **lease_id** | **Integer** | | |
|
|
1357
|
+
| **transactiondatefrom** | **Date** | Filters results to any lease transaction whose start date is greater than or equal to the specified value. | [optional] |
|
|
1358
|
+
| **transactiondateto** | **Date** | Filters results to any lease transaction whose end date is less than or equal to the specified value. | [optional] |
|
|
1359
|
+
| **transactiontypes** | [**Array<String>**](String.md) | Filters results to any lease transaction whose lease transaction type matches the specified status. If no type is specified, lease transactions with any type will be returned. | [optional] |
|
|
1360
|
+
| **orderby** | **String** | `orderby` indicates the field(s) and direction to sort the results in the response. See <a href=\"#section/API-Overview/Bulk-Request-Options\">Bulk Request Options</a> for more information. | [optional] |
|
|
1361
|
+
| **offset** | **Integer** | `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0. | [optional] |
|
|
1362
|
+
| **limit** | **Integer** | `limit` indicates the maximum number of results to be returned in the response. `limit` can range between 1 and 1000 and the default is 50. | [optional] |
|
|
1363
|
+
|
|
1364
|
+
### Return type
|
|
1365
|
+
|
|
1366
|
+
[**Array<LeaseTransactionMessage>**](LeaseTransactionMessage.md)
|
|
1367
|
+
|
|
1368
|
+
### Authorization
|
|
1369
|
+
|
|
1370
|
+
[clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
|
|
1371
|
+
|
|
1372
|
+
### HTTP request headers
|
|
1373
|
+
|
|
1374
|
+
- **Content-Type**: Not defined
|
|
1375
|
+
- **Accept**: application/json
|
|
1376
|
+
|
|
1377
|
+
|
|
1378
|
+
## get_lease_move_out_data_by_tenant_id
|
|
1379
|
+
|
|
1380
|
+
> <LeaseMoveOutDataMessage> get_lease_move_out_data_by_tenant_id(lease_id, tenant_id)
|
|
1381
|
+
|
|
1382
|
+
Retrieve a move out
|
|
1383
|
+
|
|
1384
|
+
Retrieves move out data for a single tenant on a given lease. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Leases</span> - `View` <br /><span class=\"permissionBlock\">Rentals > Tenants</span> - `View`
|
|
1385
|
+
|
|
1386
|
+
### Examples
|
|
1387
|
+
|
|
1388
|
+
```ruby
|
|
1389
|
+
require 'time'
|
|
1390
|
+
require 'buildium-ruby'
|
|
1391
|
+
# setup authorization
|
|
1392
|
+
Buildium.configure do |config|
|
|
1393
|
+
# Configure API key authorization: clientId
|
|
1394
|
+
config.api_key['clientId'] = 'YOUR API KEY'
|
|
1395
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
1396
|
+
# config.api_key_prefix['clientId'] = 'Bearer'
|
|
1397
|
+
|
|
1398
|
+
# Configure API key authorization: clientSecret
|
|
1399
|
+
config.api_key['clientSecret'] = 'YOUR API KEY'
|
|
1400
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
1401
|
+
# config.api_key_prefix['clientSecret'] = 'Bearer'
|
|
1402
|
+
end
|
|
1403
|
+
|
|
1404
|
+
api_instance = Buildium::LeasesApi.new
|
|
1405
|
+
lease_id = 56 # Integer |
|
|
1406
|
+
tenant_id = 56 # Integer |
|
|
1407
|
+
|
|
1408
|
+
begin
|
|
1409
|
+
# Retrieve a move out
|
|
1410
|
+
result = api_instance.get_lease_move_out_data_by_tenant_id(lease_id, tenant_id)
|
|
1411
|
+
p result
|
|
1412
|
+
rescue Buildium::ApiError => e
|
|
1413
|
+
puts "Error when calling LeasesApi->get_lease_move_out_data_by_tenant_id: #{e}"
|
|
1414
|
+
end
|
|
1415
|
+
```
|
|
1416
|
+
|
|
1417
|
+
#### Using the get_lease_move_out_data_by_tenant_id_with_http_info variant
|
|
1418
|
+
|
|
1419
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1420
|
+
|
|
1421
|
+
> <Array(<LeaseMoveOutDataMessage>, Integer, Hash)> get_lease_move_out_data_by_tenant_id_with_http_info(lease_id, tenant_id)
|
|
1422
|
+
|
|
1423
|
+
```ruby
|
|
1424
|
+
begin
|
|
1425
|
+
# Retrieve a move out
|
|
1426
|
+
data, status_code, headers = api_instance.get_lease_move_out_data_by_tenant_id_with_http_info(lease_id, tenant_id)
|
|
1427
|
+
p status_code # => 2xx
|
|
1428
|
+
p headers # => { ... }
|
|
1429
|
+
p data # => <LeaseMoveOutDataMessage>
|
|
1430
|
+
rescue Buildium::ApiError => e
|
|
1431
|
+
puts "Error when calling LeasesApi->get_lease_move_out_data_by_tenant_id_with_http_info: #{e}"
|
|
1432
|
+
end
|
|
1433
|
+
```
|
|
1434
|
+
|
|
1435
|
+
### Parameters
|
|
1436
|
+
|
|
1437
|
+
| Name | Type | Description | Notes |
|
|
1438
|
+
| ---- | ---- | ----------- | ----- |
|
|
1439
|
+
| **lease_id** | **Integer** | | |
|
|
1440
|
+
| **tenant_id** | **Integer** | | |
|
|
1441
|
+
|
|
1442
|
+
### Return type
|
|
1443
|
+
|
|
1444
|
+
[**LeaseMoveOutDataMessage**](LeaseMoveOutDataMessage.md)
|
|
1445
|
+
|
|
1446
|
+
### Authorization
|
|
1447
|
+
|
|
1448
|
+
[clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
|
|
1449
|
+
|
|
1450
|
+
### HTTP request headers
|
|
1451
|
+
|
|
1452
|
+
- **Content-Type**: Not defined
|
|
1453
|
+
- **Accept**: application/json
|
|
1454
|
+
|
|
1455
|
+
|
|
1456
|
+
## get_lease_move_out_information_by_id
|
|
1457
|
+
|
|
1458
|
+
> <Array<LeaseMoveOutDataMessage>> get_lease_move_out_information_by_id(lease_id, opts)
|
|
1459
|
+
|
|
1460
|
+
Retrieve all move outs
|
|
1461
|
+
|
|
1462
|
+
Retrieves a list of move out dates for a given lease. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Leases</span> - `View` <br /><span class=\"permissionBlock\">Rentals > Tenants</span> - `View`
|
|
1463
|
+
|
|
1464
|
+
### Examples
|
|
1465
|
+
|
|
1466
|
+
```ruby
|
|
1467
|
+
require 'time'
|
|
1468
|
+
require 'buildium-ruby'
|
|
1469
|
+
# setup authorization
|
|
1470
|
+
Buildium.configure do |config|
|
|
1471
|
+
# Configure API key authorization: clientId
|
|
1472
|
+
config.api_key['clientId'] = 'YOUR API KEY'
|
|
1473
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
1474
|
+
# config.api_key_prefix['clientId'] = 'Bearer'
|
|
1475
|
+
|
|
1476
|
+
# Configure API key authorization: clientSecret
|
|
1477
|
+
config.api_key['clientSecret'] = 'YOUR API KEY'
|
|
1478
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
1479
|
+
# config.api_key_prefix['clientSecret'] = 'Bearer'
|
|
1480
|
+
end
|
|
1481
|
+
|
|
1482
|
+
api_instance = Buildium::LeasesApi.new
|
|
1483
|
+
lease_id = 56 # Integer |
|
|
1484
|
+
opts = {
|
|
1485
|
+
orderby: 'orderby_example', # String | `orderby` indicates the field(s) and direction to sort the results in the response. See <a href=\"#section/API-Overview/Bulk-Request-Options\">Bulk Request Options</a> for more information.
|
|
1486
|
+
offset: 56, # Integer | `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0.
|
|
1487
|
+
limit: 56 # Integer | `limit` indicates the maximum number of results to be returned in the response. `limit` can range between 1 and 1000 and the default is 50.
|
|
1488
|
+
}
|
|
1489
|
+
|
|
1490
|
+
begin
|
|
1491
|
+
# Retrieve all move outs
|
|
1492
|
+
result = api_instance.get_lease_move_out_information_by_id(lease_id, opts)
|
|
1493
|
+
p result
|
|
1494
|
+
rescue Buildium::ApiError => e
|
|
1495
|
+
puts "Error when calling LeasesApi->get_lease_move_out_information_by_id: #{e}"
|
|
1496
|
+
end
|
|
1497
|
+
```
|
|
1498
|
+
|
|
1499
|
+
#### Using the get_lease_move_out_information_by_id_with_http_info variant
|
|
1500
|
+
|
|
1501
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1502
|
+
|
|
1503
|
+
> <Array(<Array<LeaseMoveOutDataMessage>>, Integer, Hash)> get_lease_move_out_information_by_id_with_http_info(lease_id, opts)
|
|
1504
|
+
|
|
1505
|
+
```ruby
|
|
1506
|
+
begin
|
|
1507
|
+
# Retrieve all move outs
|
|
1508
|
+
data, status_code, headers = api_instance.get_lease_move_out_information_by_id_with_http_info(lease_id, opts)
|
|
1509
|
+
p status_code # => 2xx
|
|
1510
|
+
p headers # => { ... }
|
|
1511
|
+
p data # => <Array<LeaseMoveOutDataMessage>>
|
|
1512
|
+
rescue Buildium::ApiError => e
|
|
1513
|
+
puts "Error when calling LeasesApi->get_lease_move_out_information_by_id_with_http_info: #{e}"
|
|
1514
|
+
end
|
|
1515
|
+
```
|
|
1516
|
+
|
|
1517
|
+
### Parameters
|
|
1518
|
+
|
|
1519
|
+
| Name | Type | Description | Notes |
|
|
1520
|
+
| ---- | ---- | ----------- | ----- |
|
|
1521
|
+
| **lease_id** | **Integer** | | |
|
|
1522
|
+
| **orderby** | **String** | `orderby` indicates the field(s) and direction to sort the results in the response. See <a href=\"#section/API-Overview/Bulk-Request-Options\">Bulk Request Options</a> for more information. | [optional] |
|
|
1523
|
+
| **offset** | **Integer** | `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0. | [optional] |
|
|
1524
|
+
| **limit** | **Integer** | `limit` indicates the maximum number of results to be returned in the response. `limit` can range between 1 and 1000 and the default is 50. | [optional] |
|
|
1525
|
+
|
|
1526
|
+
### Return type
|
|
1527
|
+
|
|
1528
|
+
[**Array<LeaseMoveOutDataMessage>**](LeaseMoveOutDataMessage.md)
|
|
1529
|
+
|
|
1530
|
+
### Authorization
|
|
1531
|
+
|
|
1532
|
+
[clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
|
|
1533
|
+
|
|
1534
|
+
### HTTP request headers
|
|
1535
|
+
|
|
1536
|
+
- **Content-Type**: Not defined
|
|
1537
|
+
- **Accept**: application/json
|
|
1538
|
+
|
|
1539
|
+
|
|
1540
|
+
## get_lease_note_by_note_id
|
|
1541
|
+
|
|
1542
|
+
> <NoteMessage> get_lease_note_by_note_id(lease_id, note_id)
|
|
1543
|
+
|
|
1544
|
+
Retrieve a note
|
|
1545
|
+
|
|
1546
|
+
Retrieves a lease note. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Leases</span> - `View`
|
|
1547
|
+
|
|
1548
|
+
### Examples
|
|
1549
|
+
|
|
1550
|
+
```ruby
|
|
1551
|
+
require 'time'
|
|
1552
|
+
require 'buildium-ruby'
|
|
1553
|
+
# setup authorization
|
|
1554
|
+
Buildium.configure do |config|
|
|
1555
|
+
# Configure API key authorization: clientId
|
|
1556
|
+
config.api_key['clientId'] = 'YOUR API KEY'
|
|
1557
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
1558
|
+
# config.api_key_prefix['clientId'] = 'Bearer'
|
|
1559
|
+
|
|
1560
|
+
# Configure API key authorization: clientSecret
|
|
1561
|
+
config.api_key['clientSecret'] = 'YOUR API KEY'
|
|
1562
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
1563
|
+
# config.api_key_prefix['clientSecret'] = 'Bearer'
|
|
1564
|
+
end
|
|
1565
|
+
|
|
1566
|
+
api_instance = Buildium::LeasesApi.new
|
|
1567
|
+
lease_id = 56 # Integer |
|
|
1568
|
+
note_id = 56 # Integer |
|
|
1569
|
+
|
|
1570
|
+
begin
|
|
1571
|
+
# Retrieve a note
|
|
1572
|
+
result = api_instance.get_lease_note_by_note_id(lease_id, note_id)
|
|
1573
|
+
p result
|
|
1574
|
+
rescue Buildium::ApiError => e
|
|
1575
|
+
puts "Error when calling LeasesApi->get_lease_note_by_note_id: #{e}"
|
|
1576
|
+
end
|
|
1577
|
+
```
|
|
1578
|
+
|
|
1579
|
+
#### Using the get_lease_note_by_note_id_with_http_info variant
|
|
1580
|
+
|
|
1581
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1582
|
+
|
|
1583
|
+
> <Array(<NoteMessage>, Integer, Hash)> get_lease_note_by_note_id_with_http_info(lease_id, note_id)
|
|
1584
|
+
|
|
1585
|
+
```ruby
|
|
1586
|
+
begin
|
|
1587
|
+
# Retrieve a note
|
|
1588
|
+
data, status_code, headers = api_instance.get_lease_note_by_note_id_with_http_info(lease_id, note_id)
|
|
1589
|
+
p status_code # => 2xx
|
|
1590
|
+
p headers # => { ... }
|
|
1591
|
+
p data # => <NoteMessage>
|
|
1592
|
+
rescue Buildium::ApiError => e
|
|
1593
|
+
puts "Error when calling LeasesApi->get_lease_note_by_note_id_with_http_info: #{e}"
|
|
1594
|
+
end
|
|
1595
|
+
```
|
|
1596
|
+
|
|
1597
|
+
### Parameters
|
|
1598
|
+
|
|
1599
|
+
| Name | Type | Description | Notes |
|
|
1600
|
+
| ---- | ---- | ----------- | ----- |
|
|
1601
|
+
| **lease_id** | **Integer** | | |
|
|
1602
|
+
| **note_id** | **Integer** | | |
|
|
1603
|
+
|
|
1604
|
+
### Return type
|
|
1605
|
+
|
|
1606
|
+
[**NoteMessage**](NoteMessage.md)
|
|
1607
|
+
|
|
1608
|
+
### Authorization
|
|
1609
|
+
|
|
1610
|
+
[clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
|
|
1611
|
+
|
|
1612
|
+
### HTTP request headers
|
|
1613
|
+
|
|
1614
|
+
- **Content-Type**: Not defined
|
|
1615
|
+
- **Accept**: application/json
|
|
1616
|
+
|
|
1617
|
+
|
|
1618
|
+
## get_lease_notes
|
|
1619
|
+
|
|
1620
|
+
> <Array<NoteMessage>> get_lease_notes(lease_id, opts)
|
|
1621
|
+
|
|
1622
|
+
Retrieve all notes
|
|
1623
|
+
|
|
1624
|
+
Retrieves all lease notes. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Leases</span> - `View`
|
|
1625
|
+
|
|
1626
|
+
### Examples
|
|
1627
|
+
|
|
1628
|
+
```ruby
|
|
1629
|
+
require 'time'
|
|
1630
|
+
require 'buildium-ruby'
|
|
1631
|
+
# setup authorization
|
|
1632
|
+
Buildium.configure do |config|
|
|
1633
|
+
# Configure API key authorization: clientId
|
|
1634
|
+
config.api_key['clientId'] = 'YOUR API KEY'
|
|
1635
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
1636
|
+
# config.api_key_prefix['clientId'] = 'Bearer'
|
|
1637
|
+
|
|
1638
|
+
# Configure API key authorization: clientSecret
|
|
1639
|
+
config.api_key['clientSecret'] = 'YOUR API KEY'
|
|
1640
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
1641
|
+
# config.api_key_prefix['clientSecret'] = 'Bearer'
|
|
1642
|
+
end
|
|
1643
|
+
|
|
1644
|
+
api_instance = Buildium::LeasesApi.new
|
|
1645
|
+
lease_id = 56 # Integer |
|
|
1646
|
+
opts = {
|
|
1647
|
+
updateddatetimefrom: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filters results to any note whose updated date and time are greater than or equal to the specified value. The value must be formatted as YYYY-MM-DD HH:MM:SS.
|
|
1648
|
+
updateddatetimeto: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filters results to any note whose updated date and time are less than or equal to the specified value. The value must be formatted as YYYY-MM-DD HH:MM:SS.
|
|
1649
|
+
lastupdatedbyuserid: 56, # Integer | Filters results to only notes that were last updated by the specified user identifier.
|
|
1650
|
+
orderby: 'orderby_example', # String | `orderby` indicates the field(s) and direction to sort the results in the response. See <a href=\"#section/API-Overview/Bulk-Request-Options\">Bulk Request Options</a> for more information.
|
|
1651
|
+
offset: 56, # Integer | `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0.
|
|
1652
|
+
limit: 56 # Integer | `limit` indicates the maximum number of results to be returned in the response. `limit` can range between 1 and 1000 and the default is 50.
|
|
1653
|
+
}
|
|
1654
|
+
|
|
1655
|
+
begin
|
|
1656
|
+
# Retrieve all notes
|
|
1657
|
+
result = api_instance.get_lease_notes(lease_id, opts)
|
|
1658
|
+
p result
|
|
1659
|
+
rescue Buildium::ApiError => e
|
|
1660
|
+
puts "Error when calling LeasesApi->get_lease_notes: #{e}"
|
|
1661
|
+
end
|
|
1662
|
+
```
|
|
1663
|
+
|
|
1664
|
+
#### Using the get_lease_notes_with_http_info variant
|
|
1665
|
+
|
|
1666
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1667
|
+
|
|
1668
|
+
> <Array(<Array<NoteMessage>>, Integer, Hash)> get_lease_notes_with_http_info(lease_id, opts)
|
|
1669
|
+
|
|
1670
|
+
```ruby
|
|
1671
|
+
begin
|
|
1672
|
+
# Retrieve all notes
|
|
1673
|
+
data, status_code, headers = api_instance.get_lease_notes_with_http_info(lease_id, opts)
|
|
1674
|
+
p status_code # => 2xx
|
|
1675
|
+
p headers # => { ... }
|
|
1676
|
+
p data # => <Array<NoteMessage>>
|
|
1677
|
+
rescue Buildium::ApiError => e
|
|
1678
|
+
puts "Error when calling LeasesApi->get_lease_notes_with_http_info: #{e}"
|
|
1679
|
+
end
|
|
1680
|
+
```
|
|
1681
|
+
|
|
1682
|
+
### Parameters
|
|
1683
|
+
|
|
1684
|
+
| Name | Type | Description | Notes |
|
|
1685
|
+
| ---- | ---- | ----------- | ----- |
|
|
1686
|
+
| **lease_id** | **Integer** | | |
|
|
1687
|
+
| **updateddatetimefrom** | **Time** | Filters results to any note whose updated date and time are greater than or equal to the specified value. The value must be formatted as YYYY-MM-DD HH:MM:SS. | [optional] |
|
|
1688
|
+
| **updateddatetimeto** | **Time** | Filters results to any note whose updated date and time are less than or equal to the specified value. The value must be formatted as YYYY-MM-DD HH:MM:SS. | [optional] |
|
|
1689
|
+
| **lastupdatedbyuserid** | **Integer** | Filters results to only notes that were last updated by the specified user identifier. | [optional] |
|
|
1690
|
+
| **orderby** | **String** | `orderby` indicates the field(s) and direction to sort the results in the response. See <a href=\"#section/API-Overview/Bulk-Request-Options\">Bulk Request Options</a> for more information. | [optional] |
|
|
1691
|
+
| **offset** | **Integer** | `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0. | [optional] |
|
|
1692
|
+
| **limit** | **Integer** | `limit` indicates the maximum number of results to be returned in the response. `limit` can range between 1 and 1000 and the default is 50. | [optional] |
|
|
1693
|
+
|
|
1694
|
+
### Return type
|
|
1695
|
+
|
|
1696
|
+
[**Array<NoteMessage>**](NoteMessage.md)
|
|
1697
|
+
|
|
1698
|
+
### Authorization
|
|
1699
|
+
|
|
1700
|
+
[clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
|
|
1701
|
+
|
|
1702
|
+
### HTTP request headers
|
|
1703
|
+
|
|
1704
|
+
- **Content-Type**: Not defined
|
|
1705
|
+
- **Accept**: application/json
|
|
1706
|
+
|
|
1707
|
+
|
|
1708
|
+
## get_lease_outstanding_balances
|
|
1709
|
+
|
|
1710
|
+
> <Array<LeaseOutstandingBalanceMessage>> get_lease_outstanding_balances(opts)
|
|
1711
|
+
|
|
1712
|
+
Retrieve all outstanding balances
|
|
1713
|
+
|
|
1714
|
+
Retrieves a list of lease outstanding balances. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Outstanding Balances</span> - `View`
|
|
1715
|
+
|
|
1716
|
+
### Examples
|
|
1717
|
+
|
|
1718
|
+
```ruby
|
|
1719
|
+
require 'time'
|
|
1720
|
+
require 'buildium-ruby'
|
|
1721
|
+
# setup authorization
|
|
1722
|
+
Buildium.configure do |config|
|
|
1723
|
+
# Configure API key authorization: clientId
|
|
1724
|
+
config.api_key['clientId'] = 'YOUR API KEY'
|
|
1725
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
1726
|
+
# config.api_key_prefix['clientId'] = 'Bearer'
|
|
1727
|
+
|
|
1728
|
+
# Configure API key authorization: clientSecret
|
|
1729
|
+
config.api_key['clientSecret'] = 'YOUR API KEY'
|
|
1730
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
1731
|
+
# config.api_key_prefix['clientSecret'] = 'Bearer'
|
|
1732
|
+
end
|
|
1733
|
+
|
|
1734
|
+
api_instance = Buildium::LeasesApi.new
|
|
1735
|
+
opts = {
|
|
1736
|
+
entitytype: 'Rental', # String |
|
|
1737
|
+
entityid: 56, # Integer |
|
|
1738
|
+
leasestatuses: ['Active'], # Array<String> |
|
|
1739
|
+
leaseids: [37], # Array<Integer> |
|
|
1740
|
+
pastdueemail: 'NoEmailAddress', # String |
|
|
1741
|
+
balanceduration: 'TotalBalance', # String |
|
|
1742
|
+
evictionstatus: 'NotEvictionPending', # String |
|
|
1743
|
+
orderby: 'orderby_example', # String | `orderby` indicates the field(s) and direction to sort the results in the response. See <a href=\"#section/API-Overview/Bulk-Request-Options\">Bulk Request Options</a> for more information.
|
|
1744
|
+
offset: 56, # Integer | `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0.
|
|
1745
|
+
limit: 56 # Integer | `limit` indicates the maximum number of results to be returned in the response. `limit` can range between 1 and 1000 and the default is 50.
|
|
1746
|
+
}
|
|
1747
|
+
|
|
1748
|
+
begin
|
|
1749
|
+
# Retrieve all outstanding balances
|
|
1750
|
+
result = api_instance.get_lease_outstanding_balances(opts)
|
|
1751
|
+
p result
|
|
1752
|
+
rescue Buildium::ApiError => e
|
|
1753
|
+
puts "Error when calling LeasesApi->get_lease_outstanding_balances: #{e}"
|
|
1754
|
+
end
|
|
1755
|
+
```
|
|
1756
|
+
|
|
1757
|
+
#### Using the get_lease_outstanding_balances_with_http_info variant
|
|
1758
|
+
|
|
1759
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1760
|
+
|
|
1761
|
+
> <Array(<Array<LeaseOutstandingBalanceMessage>>, Integer, Hash)> get_lease_outstanding_balances_with_http_info(opts)
|
|
1762
|
+
|
|
1763
|
+
```ruby
|
|
1764
|
+
begin
|
|
1765
|
+
# Retrieve all outstanding balances
|
|
1766
|
+
data, status_code, headers = api_instance.get_lease_outstanding_balances_with_http_info(opts)
|
|
1767
|
+
p status_code # => 2xx
|
|
1768
|
+
p headers # => { ... }
|
|
1769
|
+
p data # => <Array<LeaseOutstandingBalanceMessage>>
|
|
1770
|
+
rescue Buildium::ApiError => e
|
|
1771
|
+
puts "Error when calling LeasesApi->get_lease_outstanding_balances_with_http_info: #{e}"
|
|
1772
|
+
end
|
|
1773
|
+
```
|
|
1774
|
+
|
|
1775
|
+
### Parameters
|
|
1776
|
+
|
|
1777
|
+
| Name | Type | Description | Notes |
|
|
1778
|
+
| ---- | ---- | ----------- | ----- |
|
|
1779
|
+
| **entitytype** | **String** | | [optional] |
|
|
1780
|
+
| **entityid** | **Integer** | | [optional] |
|
|
1781
|
+
| **leasestatuses** | [**Array<String>**](String.md) | | [optional] |
|
|
1782
|
+
| **leaseids** | [**Array<Integer>**](Integer.md) | | [optional] |
|
|
1783
|
+
| **pastdueemail** | **String** | | [optional] |
|
|
1784
|
+
| **balanceduration** | **String** | | [optional] |
|
|
1785
|
+
| **evictionstatus** | **String** | | [optional] |
|
|
1786
|
+
| **orderby** | **String** | `orderby` indicates the field(s) and direction to sort the results in the response. See <a href=\"#section/API-Overview/Bulk-Request-Options\">Bulk Request Options</a> for more information. | [optional] |
|
|
1787
|
+
| **offset** | **Integer** | `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0. | [optional] |
|
|
1788
|
+
| **limit** | **Integer** | `limit` indicates the maximum number of results to be returned in the response. `limit` can range between 1 and 1000 and the default is 50. | [optional] |
|
|
1789
|
+
|
|
1790
|
+
### Return type
|
|
1791
|
+
|
|
1792
|
+
[**Array<LeaseOutstandingBalanceMessage>**](LeaseOutstandingBalanceMessage.md)
|
|
1793
|
+
|
|
1794
|
+
### Authorization
|
|
1795
|
+
|
|
1796
|
+
[clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
|
|
1797
|
+
|
|
1798
|
+
### HTTP request headers
|
|
1799
|
+
|
|
1800
|
+
- **Content-Type**: Not defined
|
|
1801
|
+
- **Accept**: application/json
|
|
1802
|
+
|
|
1803
|
+
|
|
1804
|
+
## get_lease_recurring_credit_by_id
|
|
1805
|
+
|
|
1806
|
+
> <LeaseRecurringCreditMessage> get_lease_recurring_credit_by_id(lease_id, transaction_id)
|
|
1807
|
+
|
|
1808
|
+
Retrieve a recurring credit
|
|
1809
|
+
|
|
1810
|
+
Retrieves a recurring credit. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Lease transactions</span> - `View`
|
|
1811
|
+
|
|
1812
|
+
### Examples
|
|
1813
|
+
|
|
1814
|
+
```ruby
|
|
1815
|
+
require 'time'
|
|
1816
|
+
require 'buildium-ruby'
|
|
1817
|
+
# setup authorization
|
|
1818
|
+
Buildium.configure do |config|
|
|
1819
|
+
# Configure API key authorization: clientId
|
|
1820
|
+
config.api_key['clientId'] = 'YOUR API KEY'
|
|
1821
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
1822
|
+
# config.api_key_prefix['clientId'] = 'Bearer'
|
|
1823
|
+
|
|
1824
|
+
# Configure API key authorization: clientSecret
|
|
1825
|
+
config.api_key['clientSecret'] = 'YOUR API KEY'
|
|
1826
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
1827
|
+
# config.api_key_prefix['clientSecret'] = 'Bearer'
|
|
1828
|
+
end
|
|
1829
|
+
|
|
1830
|
+
api_instance = Buildium::LeasesApi.new
|
|
1831
|
+
lease_id = 56 # Integer |
|
|
1832
|
+
transaction_id = 56 # Integer |
|
|
1833
|
+
|
|
1834
|
+
begin
|
|
1835
|
+
# Retrieve a recurring credit
|
|
1836
|
+
result = api_instance.get_lease_recurring_credit_by_id(lease_id, transaction_id)
|
|
1837
|
+
p result
|
|
1838
|
+
rescue Buildium::ApiError => e
|
|
1839
|
+
puts "Error when calling LeasesApi->get_lease_recurring_credit_by_id: #{e}"
|
|
1840
|
+
end
|
|
1841
|
+
```
|
|
1842
|
+
|
|
1843
|
+
#### Using the get_lease_recurring_credit_by_id_with_http_info variant
|
|
1844
|
+
|
|
1845
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1846
|
+
|
|
1847
|
+
> <Array(<LeaseRecurringCreditMessage>, Integer, Hash)> get_lease_recurring_credit_by_id_with_http_info(lease_id, transaction_id)
|
|
1848
|
+
|
|
1849
|
+
```ruby
|
|
1850
|
+
begin
|
|
1851
|
+
# Retrieve a recurring credit
|
|
1852
|
+
data, status_code, headers = api_instance.get_lease_recurring_credit_by_id_with_http_info(lease_id, transaction_id)
|
|
1853
|
+
p status_code # => 2xx
|
|
1854
|
+
p headers # => { ... }
|
|
1855
|
+
p data # => <LeaseRecurringCreditMessage>
|
|
1856
|
+
rescue Buildium::ApiError => e
|
|
1857
|
+
puts "Error when calling LeasesApi->get_lease_recurring_credit_by_id_with_http_info: #{e}"
|
|
1858
|
+
end
|
|
1859
|
+
```
|
|
1860
|
+
|
|
1861
|
+
### Parameters
|
|
1862
|
+
|
|
1863
|
+
| Name | Type | Description | Notes |
|
|
1864
|
+
| ---- | ---- | ----------- | ----- |
|
|
1865
|
+
| **lease_id** | **Integer** | | |
|
|
1866
|
+
| **transaction_id** | **Integer** | | |
|
|
1867
|
+
|
|
1868
|
+
### Return type
|
|
1869
|
+
|
|
1870
|
+
[**LeaseRecurringCreditMessage**](LeaseRecurringCreditMessage.md)
|
|
1871
|
+
|
|
1872
|
+
### Authorization
|
|
1873
|
+
|
|
1874
|
+
[clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
|
|
1875
|
+
|
|
1876
|
+
### HTTP request headers
|
|
1877
|
+
|
|
1878
|
+
- **Content-Type**: Not defined
|
|
1879
|
+
- **Accept**: application/json
|
|
1880
|
+
|
|
1881
|
+
|
|
1882
|
+
## get_lease_recurring_transactions
|
|
1883
|
+
|
|
1884
|
+
> <Array<RecurringTransactionMessage>> get_lease_recurring_transactions(lease_id, opts)
|
|
1885
|
+
|
|
1886
|
+
Retrieve all recurring transactions
|
|
1887
|
+
|
|
1888
|
+
Retrieves all recurring transactions. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Lease transactions</span> - `View`
|
|
1889
|
+
|
|
1890
|
+
### Examples
|
|
1891
|
+
|
|
1892
|
+
```ruby
|
|
1893
|
+
require 'time'
|
|
1894
|
+
require 'buildium-ruby'
|
|
1895
|
+
# setup authorization
|
|
1896
|
+
Buildium.configure do |config|
|
|
1897
|
+
# Configure API key authorization: clientId
|
|
1898
|
+
config.api_key['clientId'] = 'YOUR API KEY'
|
|
1899
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
1900
|
+
# config.api_key_prefix['clientId'] = 'Bearer'
|
|
1901
|
+
|
|
1902
|
+
# Configure API key authorization: clientSecret
|
|
1903
|
+
config.api_key['clientSecret'] = 'YOUR API KEY'
|
|
1904
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
1905
|
+
# config.api_key_prefix['clientSecret'] = 'Bearer'
|
|
1906
|
+
end
|
|
1907
|
+
|
|
1908
|
+
api_instance = Buildium::LeasesApi.new
|
|
1909
|
+
lease_id = 56 # Integer |
|
|
1910
|
+
opts = {
|
|
1911
|
+
orderby: 'orderby_example', # String | `orderby` indicates the field(s) and direction to sort the results in the response. See <a href=\"#section/API-Overview/Bulk-Request-Options\">Bulk Request Options</a> for more information.
|
|
1912
|
+
offset: 56, # Integer | `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0.
|
|
1913
|
+
limit: 56 # Integer | `limit` indicates the maximum number of results to be returned in the response. `limit` can range between 1 and 1000 and the default is 50.
|
|
1914
|
+
}
|
|
1915
|
+
|
|
1916
|
+
begin
|
|
1917
|
+
# Retrieve all recurring transactions
|
|
1918
|
+
result = api_instance.get_lease_recurring_transactions(lease_id, opts)
|
|
1919
|
+
p result
|
|
1920
|
+
rescue Buildium::ApiError => e
|
|
1921
|
+
puts "Error when calling LeasesApi->get_lease_recurring_transactions: #{e}"
|
|
1922
|
+
end
|
|
1923
|
+
```
|
|
1924
|
+
|
|
1925
|
+
#### Using the get_lease_recurring_transactions_with_http_info variant
|
|
1926
|
+
|
|
1927
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1928
|
+
|
|
1929
|
+
> <Array(<Array<RecurringTransactionMessage>>, Integer, Hash)> get_lease_recurring_transactions_with_http_info(lease_id, opts)
|
|
1930
|
+
|
|
1931
|
+
```ruby
|
|
1932
|
+
begin
|
|
1933
|
+
# Retrieve all recurring transactions
|
|
1934
|
+
data, status_code, headers = api_instance.get_lease_recurring_transactions_with_http_info(lease_id, opts)
|
|
1935
|
+
p status_code # => 2xx
|
|
1936
|
+
p headers # => { ... }
|
|
1937
|
+
p data # => <Array<RecurringTransactionMessage>>
|
|
1938
|
+
rescue Buildium::ApiError => e
|
|
1939
|
+
puts "Error when calling LeasesApi->get_lease_recurring_transactions_with_http_info: #{e}"
|
|
1940
|
+
end
|
|
1941
|
+
```
|
|
1942
|
+
|
|
1943
|
+
### Parameters
|
|
1944
|
+
|
|
1945
|
+
| Name | Type | Description | Notes |
|
|
1946
|
+
| ---- | ---- | ----------- | ----- |
|
|
1947
|
+
| **lease_id** | **Integer** | | |
|
|
1948
|
+
| **orderby** | **String** | `orderby` indicates the field(s) and direction to sort the results in the response. See <a href=\"#section/API-Overview/Bulk-Request-Options\">Bulk Request Options</a> for more information. | [optional] |
|
|
1949
|
+
| **offset** | **Integer** | `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0. | [optional] |
|
|
1950
|
+
| **limit** | **Integer** | `limit` indicates the maximum number of results to be returned in the response. `limit` can range between 1 and 1000 and the default is 50. | [optional] |
|
|
1951
|
+
|
|
1952
|
+
### Return type
|
|
1953
|
+
|
|
1954
|
+
[**Array<RecurringTransactionMessage>**](RecurringTransactionMessage.md)
|
|
1955
|
+
|
|
1956
|
+
### Authorization
|
|
1957
|
+
|
|
1958
|
+
[clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
|
|
1959
|
+
|
|
1960
|
+
### HTTP request headers
|
|
1961
|
+
|
|
1962
|
+
- **Content-Type**: Not defined
|
|
1963
|
+
- **Accept**: application/json
|
|
1964
|
+
|
|
1965
|
+
|
|
1966
|
+
## get_leases
|
|
1967
|
+
|
|
1968
|
+
> <Array<LeaseMessage>> get_leases(opts)
|
|
1969
|
+
|
|
1970
|
+
Retrieve all leases
|
|
1971
|
+
|
|
1972
|
+
Retrieves a list of leases. <br /><br /><span class=\"permissionBlock\">Rentals > Leases</span> - `View`
|
|
1973
|
+
|
|
1974
|
+
### Examples
|
|
1975
|
+
|
|
1976
|
+
```ruby
|
|
1977
|
+
require 'time'
|
|
1978
|
+
require 'buildium-ruby'
|
|
1979
|
+
# setup authorization
|
|
1980
|
+
Buildium.configure do |config|
|
|
1981
|
+
# Configure API key authorization: clientId
|
|
1982
|
+
config.api_key['clientId'] = 'YOUR API KEY'
|
|
1983
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
1984
|
+
# config.api_key_prefix['clientId'] = 'Bearer'
|
|
1985
|
+
|
|
1986
|
+
# Configure API key authorization: clientSecret
|
|
1987
|
+
config.api_key['clientSecret'] = 'YOUR API KEY'
|
|
1988
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
1989
|
+
# config.api_key_prefix['clientSecret'] = 'Bearer'
|
|
1990
|
+
end
|
|
1991
|
+
|
|
1992
|
+
api_instance = Buildium::LeasesApi.new
|
|
1993
|
+
opts = {
|
|
1994
|
+
propertyids: [37], # Array<Integer> | Filters results to any lease whose unit belongs to the specified set of property ids.
|
|
1995
|
+
rentalownerids: [37], # Array<Integer> | Filters results to any lease whose unit belongs to a property with a rental owner in the specified set of rental owner ids.
|
|
1996
|
+
unitnumber: 'unitnumber_example', # String | Filters results to any lease whose unit number *contains* the specified value.
|
|
1997
|
+
tenantname: 'tenantname_example', # String | Filters results to any lease whose current tenants' names *contain* the specified value.
|
|
1998
|
+
leasedatefrom: Date.parse('2013-10-20'), # Date | Filters results to any lease whose start date is greater than or equal to the specified value.
|
|
1999
|
+
leasedateto: Date.parse('2013-10-20'), # Date | Filters results to any lease whose end date is less than or equal to the specified value.
|
|
2000
|
+
leasetypes: ['None'], # Array<String> | Filters results to any lease whose lease type matches the specified status. If no type is specified, leases with any type will be returned.
|
|
2001
|
+
leasestatuses: ['Active'], # Array<String> | Filters results to any lease whose lease term matches the specified status. If no status is specified, leases with any lease term status will be returned.
|
|
2002
|
+
createddatetimefrom: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filters results to any lease whose created date and time are greater than or equal to the specified value. The value must be formatted as YYYY-MM-DD HH:MM:SS.
|
|
2003
|
+
createddatetimeto: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filters results to any lease whose created date and time are less than or equal to the specified value. The value must be formatted as YYYY-MM-DD HH:MM:SS.
|
|
2004
|
+
lastupdatedfrom: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filters results to any leases that were updated on or after the specified date. The value must be in UTC and formatted as YYYY-MM-DDTHH:MM:SSZ.
|
|
2005
|
+
lastupdatedto: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filters results to any leases that were updated on or before the specified date. The value must be in UTC and formatted as YYYY-MM-DDTHH:MM:SSZ.
|
|
2006
|
+
orderby: 'orderby_example', # String | `orderby` indicates the field(s) and direction to sort the results in the response. See <a href=\"#section/API-Overview/Bulk-Request-Options\">Bulk Request Options</a> for more information.
|
|
2007
|
+
offset: 56, # Integer | `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0.
|
|
2008
|
+
limit: 56 # Integer | `limit` indicates the maximum number of results to be returned in the response. `limit` can range between 1 and 1000 and the default is 50.
|
|
2009
|
+
}
|
|
2010
|
+
|
|
2011
|
+
begin
|
|
2012
|
+
# Retrieve all leases
|
|
2013
|
+
result = api_instance.get_leases(opts)
|
|
2014
|
+
p result
|
|
2015
|
+
rescue Buildium::ApiError => e
|
|
2016
|
+
puts "Error when calling LeasesApi->get_leases: #{e}"
|
|
2017
|
+
end
|
|
2018
|
+
```
|
|
2019
|
+
|
|
2020
|
+
#### Using the get_leases_with_http_info variant
|
|
2021
|
+
|
|
2022
|
+
This returns an Array which contains the response data, status code and headers.
|
|
2023
|
+
|
|
2024
|
+
> <Array(<Array<LeaseMessage>>, Integer, Hash)> get_leases_with_http_info(opts)
|
|
2025
|
+
|
|
2026
|
+
```ruby
|
|
2027
|
+
begin
|
|
2028
|
+
# Retrieve all leases
|
|
2029
|
+
data, status_code, headers = api_instance.get_leases_with_http_info(opts)
|
|
2030
|
+
p status_code # => 2xx
|
|
2031
|
+
p headers # => { ... }
|
|
2032
|
+
p data # => <Array<LeaseMessage>>
|
|
2033
|
+
rescue Buildium::ApiError => e
|
|
2034
|
+
puts "Error when calling LeasesApi->get_leases_with_http_info: #{e}"
|
|
2035
|
+
end
|
|
2036
|
+
```
|
|
2037
|
+
|
|
2038
|
+
### Parameters
|
|
2039
|
+
|
|
2040
|
+
| Name | Type | Description | Notes |
|
|
2041
|
+
| ---- | ---- | ----------- | ----- |
|
|
2042
|
+
| **propertyids** | [**Array<Integer>**](Integer.md) | Filters results to any lease whose unit belongs to the specified set of property ids. | [optional] |
|
|
2043
|
+
| **rentalownerids** | [**Array<Integer>**](Integer.md) | Filters results to any lease whose unit belongs to a property with a rental owner in the specified set of rental owner ids. | [optional] |
|
|
2044
|
+
| **unitnumber** | **String** | Filters results to any lease whose unit number *contains* the specified value. | [optional] |
|
|
2045
|
+
| **tenantname** | **String** | Filters results to any lease whose current tenants' names *contain* the specified value. | [optional] |
|
|
2046
|
+
| **leasedatefrom** | **Date** | Filters results to any lease whose start date is greater than or equal to the specified value. | [optional] |
|
|
2047
|
+
| **leasedateto** | **Date** | Filters results to any lease whose end date is less than or equal to the specified value. | [optional] |
|
|
2048
|
+
| **leasetypes** | [**Array<String>**](String.md) | Filters results to any lease whose lease type matches the specified status. If no type is specified, leases with any type will be returned. | [optional] |
|
|
2049
|
+
| **leasestatuses** | [**Array<String>**](String.md) | Filters results to any lease whose lease term matches the specified status. If no status is specified, leases with any lease term status will be returned. | [optional] |
|
|
2050
|
+
| **createddatetimefrom** | **Time** | Filters results to any lease whose created date and time are greater than or equal to the specified value. The value must be formatted as YYYY-MM-DD HH:MM:SS. | [optional] |
|
|
2051
|
+
| **createddatetimeto** | **Time** | Filters results to any lease whose created date and time are less than or equal to the specified value. The value must be formatted as YYYY-MM-DD HH:MM:SS. | [optional] |
|
|
2052
|
+
| **lastupdatedfrom** | **Time** | Filters results to any leases that were updated on or after the specified date. The value must be in UTC and formatted as YYYY-MM-DDTHH:MM:SSZ. | [optional] |
|
|
2053
|
+
| **lastupdatedto** | **Time** | Filters results to any leases that were updated on or before the specified date. The value must be in UTC and formatted as YYYY-MM-DDTHH:MM:SSZ. | [optional] |
|
|
2054
|
+
| **orderby** | **String** | `orderby` indicates the field(s) and direction to sort the results in the response. See <a href=\"#section/API-Overview/Bulk-Request-Options\">Bulk Request Options</a> for more information. | [optional] |
|
|
2055
|
+
| **offset** | **Integer** | `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0. | [optional] |
|
|
2056
|
+
| **limit** | **Integer** | `limit` indicates the maximum number of results to be returned in the response. `limit` can range between 1 and 1000 and the default is 50. | [optional] |
|
|
2057
|
+
|
|
2058
|
+
### Return type
|
|
2059
|
+
|
|
2060
|
+
[**Array<LeaseMessage>**](LeaseMessage.md)
|
|
2061
|
+
|
|
2062
|
+
### Authorization
|
|
2063
|
+
|
|
2064
|
+
[clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
|
|
2065
|
+
|
|
2066
|
+
### HTTP request headers
|
|
2067
|
+
|
|
2068
|
+
- **Content-Type**: Not defined
|
|
2069
|
+
- **Accept**: application/json
|
|
2070
|
+
|
|
2071
|
+
|
|
2072
|
+
## get_recurring_lease_payments_by_id
|
|
2073
|
+
|
|
2074
|
+
> <LeaseRecurringPaymentMessage> get_recurring_lease_payments_by_id(lease_id, payment_id)
|
|
2075
|
+
|
|
2076
|
+
Retrieve a recurring payment
|
|
2077
|
+
|
|
2078
|
+
Retrieves a recurring payment. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Lease Transactions</span> - `View`
|
|
2079
|
+
|
|
2080
|
+
### Examples
|
|
2081
|
+
|
|
2082
|
+
```ruby
|
|
2083
|
+
require 'time'
|
|
2084
|
+
require 'buildium-ruby'
|
|
2085
|
+
# setup authorization
|
|
2086
|
+
Buildium.configure do |config|
|
|
2087
|
+
# Configure API key authorization: clientId
|
|
2088
|
+
config.api_key['clientId'] = 'YOUR API KEY'
|
|
2089
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
2090
|
+
# config.api_key_prefix['clientId'] = 'Bearer'
|
|
2091
|
+
|
|
2092
|
+
# Configure API key authorization: clientSecret
|
|
2093
|
+
config.api_key['clientSecret'] = 'YOUR API KEY'
|
|
2094
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
2095
|
+
# config.api_key_prefix['clientSecret'] = 'Bearer'
|
|
2096
|
+
end
|
|
2097
|
+
|
|
2098
|
+
api_instance = Buildium::LeasesApi.new
|
|
2099
|
+
lease_id = 56 # Integer |
|
|
2100
|
+
payment_id = 56 # Integer |
|
|
2101
|
+
|
|
2102
|
+
begin
|
|
2103
|
+
# Retrieve a recurring payment
|
|
2104
|
+
result = api_instance.get_recurring_lease_payments_by_id(lease_id, payment_id)
|
|
2105
|
+
p result
|
|
2106
|
+
rescue Buildium::ApiError => e
|
|
2107
|
+
puts "Error when calling LeasesApi->get_recurring_lease_payments_by_id: #{e}"
|
|
2108
|
+
end
|
|
2109
|
+
```
|
|
2110
|
+
|
|
2111
|
+
#### Using the get_recurring_lease_payments_by_id_with_http_info variant
|
|
2112
|
+
|
|
2113
|
+
This returns an Array which contains the response data, status code and headers.
|
|
2114
|
+
|
|
2115
|
+
> <Array(<LeaseRecurringPaymentMessage>, Integer, Hash)> get_recurring_lease_payments_by_id_with_http_info(lease_id, payment_id)
|
|
2116
|
+
|
|
2117
|
+
```ruby
|
|
2118
|
+
begin
|
|
2119
|
+
# Retrieve a recurring payment
|
|
2120
|
+
data, status_code, headers = api_instance.get_recurring_lease_payments_by_id_with_http_info(lease_id, payment_id)
|
|
2121
|
+
p status_code # => 2xx
|
|
2122
|
+
p headers # => { ... }
|
|
2123
|
+
p data # => <LeaseRecurringPaymentMessage>
|
|
2124
|
+
rescue Buildium::ApiError => e
|
|
2125
|
+
puts "Error when calling LeasesApi->get_recurring_lease_payments_by_id_with_http_info: #{e}"
|
|
2126
|
+
end
|
|
2127
|
+
```
|
|
2128
|
+
|
|
2129
|
+
### Parameters
|
|
2130
|
+
|
|
2131
|
+
| Name | Type | Description | Notes |
|
|
2132
|
+
| ---- | ---- | ----------- | ----- |
|
|
2133
|
+
| **lease_id** | **Integer** | | |
|
|
2134
|
+
| **payment_id** | **Integer** | | |
|
|
2135
|
+
|
|
2136
|
+
### Return type
|
|
2137
|
+
|
|
2138
|
+
[**LeaseRecurringPaymentMessage**](LeaseRecurringPaymentMessage.md)
|
|
2139
|
+
|
|
2140
|
+
### Authorization
|
|
2141
|
+
|
|
2142
|
+
[clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
|
|
2143
|
+
|
|
2144
|
+
### HTTP request headers
|
|
2145
|
+
|
|
2146
|
+
- **Content-Type**: Not defined
|
|
2147
|
+
- **Accept**: application/json
|
|
2148
|
+
|
|
2149
|
+
|
|
2150
|
+
## get_rent
|
|
2151
|
+
|
|
2152
|
+
> <Array<LeaseRentMessage>> get_rent(lease_id, opts)
|
|
2153
|
+
|
|
2154
|
+
Retrieve all rent schedules
|
|
2155
|
+
|
|
2156
|
+
The rent schedule provides details (dollar amount, day of the month, etc) of the recurring charges that are applied to the lease ledger each rent cycle. A lease may have more than one rent schedule associated with it if the rent terms change within the duration of the lease. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Lease transactions</span> - `View`
|
|
2157
|
+
|
|
2158
|
+
### Examples
|
|
2159
|
+
|
|
2160
|
+
```ruby
|
|
2161
|
+
require 'time'
|
|
2162
|
+
require 'buildium-ruby'
|
|
2163
|
+
# setup authorization
|
|
2164
|
+
Buildium.configure do |config|
|
|
2165
|
+
# Configure API key authorization: clientId
|
|
2166
|
+
config.api_key['clientId'] = 'YOUR API KEY'
|
|
2167
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
2168
|
+
# config.api_key_prefix['clientId'] = 'Bearer'
|
|
2169
|
+
|
|
2170
|
+
# Configure API key authorization: clientSecret
|
|
2171
|
+
config.api_key['clientSecret'] = 'YOUR API KEY'
|
|
2172
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
2173
|
+
# config.api_key_prefix['clientSecret'] = 'Bearer'
|
|
2174
|
+
end
|
|
2175
|
+
|
|
2176
|
+
api_instance = Buildium::LeasesApi.new
|
|
2177
|
+
lease_id = 56 # Integer |
|
|
2178
|
+
opts = {
|
|
2179
|
+
orderby: 'orderby_example', # String | `orderby` indicates the field(s) and direction to sort the results in the response. See <a href=\"#section/API-Overview/Bulk-Request-Options\">Bulk Request Options</a> for more information.
|
|
2180
|
+
offset: 56, # Integer | `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0.
|
|
2181
|
+
limit: 56 # Integer | `limit` indicates the maximum number of results to be returned in the response. `limit` can range between 1 and 1000 and the default is 50.
|
|
2182
|
+
}
|
|
2183
|
+
|
|
2184
|
+
begin
|
|
2185
|
+
# Retrieve all rent schedules
|
|
2186
|
+
result = api_instance.get_rent(lease_id, opts)
|
|
2187
|
+
p result
|
|
2188
|
+
rescue Buildium::ApiError => e
|
|
2189
|
+
puts "Error when calling LeasesApi->get_rent: #{e}"
|
|
2190
|
+
end
|
|
2191
|
+
```
|
|
2192
|
+
|
|
2193
|
+
#### Using the get_rent_with_http_info variant
|
|
2194
|
+
|
|
2195
|
+
This returns an Array which contains the response data, status code and headers.
|
|
2196
|
+
|
|
2197
|
+
> <Array(<Array<LeaseRentMessage>>, Integer, Hash)> get_rent_with_http_info(lease_id, opts)
|
|
2198
|
+
|
|
2199
|
+
```ruby
|
|
2200
|
+
begin
|
|
2201
|
+
# Retrieve all rent schedules
|
|
2202
|
+
data, status_code, headers = api_instance.get_rent_with_http_info(lease_id, opts)
|
|
2203
|
+
p status_code # => 2xx
|
|
2204
|
+
p headers # => { ... }
|
|
2205
|
+
p data # => <Array<LeaseRentMessage>>
|
|
2206
|
+
rescue Buildium::ApiError => e
|
|
2207
|
+
puts "Error when calling LeasesApi->get_rent_with_http_info: #{e}"
|
|
2208
|
+
end
|
|
2209
|
+
```
|
|
2210
|
+
|
|
2211
|
+
### Parameters
|
|
2212
|
+
|
|
2213
|
+
| Name | Type | Description | Notes |
|
|
2214
|
+
| ---- | ---- | ----------- | ----- |
|
|
2215
|
+
| **lease_id** | **Integer** | | |
|
|
2216
|
+
| **orderby** | **String** | `orderby` indicates the field(s) and direction to sort the results in the response. See <a href=\"#section/API-Overview/Bulk-Request-Options\">Bulk Request Options</a> for more information. | [optional] |
|
|
2217
|
+
| **offset** | **Integer** | `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0. | [optional] |
|
|
2218
|
+
| **limit** | **Integer** | `limit` indicates the maximum number of results to be returned in the response. `limit` can range between 1 and 1000 and the default is 50. | [optional] |
|
|
2219
|
+
|
|
2220
|
+
### Return type
|
|
2221
|
+
|
|
2222
|
+
[**Array<LeaseRentMessage>**](LeaseRentMessage.md)
|
|
2223
|
+
|
|
2224
|
+
### Authorization
|
|
2225
|
+
|
|
2226
|
+
[clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
|
|
2227
|
+
|
|
2228
|
+
### HTTP request headers
|
|
2229
|
+
|
|
2230
|
+
- **Content-Type**: Not defined
|
|
2231
|
+
- **Accept**: application/json
|
|
2232
|
+
|
|
2233
|
+
|
|
2234
|
+
## get_rent_by_id
|
|
2235
|
+
|
|
2236
|
+
> <LeaseRentMessage> get_rent_by_id(lease_id, rent_id)
|
|
2237
|
+
|
|
2238
|
+
Retrieve a rent schedule
|
|
2239
|
+
|
|
2240
|
+
Retrieves a specific rent schedule for a lease. The rent schedule provides details (dollar amount, day of the month, etc) of the recurring charges that are applied to the lease ledger each rent cycle. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Lease transactions</span> - `View`
|
|
2241
|
+
|
|
2242
|
+
### Examples
|
|
2243
|
+
|
|
2244
|
+
```ruby
|
|
2245
|
+
require 'time'
|
|
2246
|
+
require 'buildium-ruby'
|
|
2247
|
+
# setup authorization
|
|
2248
|
+
Buildium.configure do |config|
|
|
2249
|
+
# Configure API key authorization: clientId
|
|
2250
|
+
config.api_key['clientId'] = 'YOUR API KEY'
|
|
2251
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
2252
|
+
# config.api_key_prefix['clientId'] = 'Bearer'
|
|
2253
|
+
|
|
2254
|
+
# Configure API key authorization: clientSecret
|
|
2255
|
+
config.api_key['clientSecret'] = 'YOUR API KEY'
|
|
2256
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
2257
|
+
# config.api_key_prefix['clientSecret'] = 'Bearer'
|
|
2258
|
+
end
|
|
2259
|
+
|
|
2260
|
+
api_instance = Buildium::LeasesApi.new
|
|
2261
|
+
lease_id = 56 # Integer |
|
|
2262
|
+
rent_id = 56 # Integer |
|
|
2263
|
+
|
|
2264
|
+
begin
|
|
2265
|
+
# Retrieve a rent schedule
|
|
2266
|
+
result = api_instance.get_rent_by_id(lease_id, rent_id)
|
|
2267
|
+
p result
|
|
2268
|
+
rescue Buildium::ApiError => e
|
|
2269
|
+
puts "Error when calling LeasesApi->get_rent_by_id: #{e}"
|
|
2270
|
+
end
|
|
2271
|
+
```
|
|
2272
|
+
|
|
2273
|
+
#### Using the get_rent_by_id_with_http_info variant
|
|
2274
|
+
|
|
2275
|
+
This returns an Array which contains the response data, status code and headers.
|
|
2276
|
+
|
|
2277
|
+
> <Array(<LeaseRentMessage>, Integer, Hash)> get_rent_by_id_with_http_info(lease_id, rent_id)
|
|
2278
|
+
|
|
2279
|
+
```ruby
|
|
2280
|
+
begin
|
|
2281
|
+
# Retrieve a rent schedule
|
|
2282
|
+
data, status_code, headers = api_instance.get_rent_by_id_with_http_info(lease_id, rent_id)
|
|
2283
|
+
p status_code # => 2xx
|
|
2284
|
+
p headers # => { ... }
|
|
2285
|
+
p data # => <LeaseRentMessage>
|
|
2286
|
+
rescue Buildium::ApiError => e
|
|
2287
|
+
puts "Error when calling LeasesApi->get_rent_by_id_with_http_info: #{e}"
|
|
2288
|
+
end
|
|
2289
|
+
```
|
|
2290
|
+
|
|
2291
|
+
### Parameters
|
|
2292
|
+
|
|
2293
|
+
| Name | Type | Description | Notes |
|
|
2294
|
+
| ---- | ---- | ----------- | ----- |
|
|
2295
|
+
| **lease_id** | **Integer** | | |
|
|
2296
|
+
| **rent_id** | **Integer** | | |
|
|
2297
|
+
|
|
2298
|
+
### Return type
|
|
2299
|
+
|
|
2300
|
+
[**LeaseRentMessage**](LeaseRentMessage.md)
|
|
2301
|
+
|
|
2302
|
+
### Authorization
|
|
2303
|
+
|
|
2304
|
+
[clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
|
|
2305
|
+
|
|
2306
|
+
### HTTP request headers
|
|
2307
|
+
|
|
2308
|
+
- **Content-Type**: Not defined
|
|
2309
|
+
- **Accept**: application/json
|
|
2310
|
+
|
|
2311
|
+
|
|
2312
|
+
## lease_renewals_external_api_read_get_all_lease_renewals
|
|
2313
|
+
|
|
2314
|
+
> <Array<LeaseRenewalMessage>> lease_renewals_external_api_read_get_all_lease_renewals(lease_id, opts)
|
|
2315
|
+
|
|
2316
|
+
Retrieve all lease renewals
|
|
2317
|
+
|
|
2318
|
+
Retrieves all lease renewals. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Leases</span> - `View`
|
|
2319
|
+
|
|
2320
|
+
### Examples
|
|
2321
|
+
|
|
2322
|
+
```ruby
|
|
2323
|
+
require 'time'
|
|
2324
|
+
require 'buildium-ruby'
|
|
2325
|
+
# setup authorization
|
|
2326
|
+
Buildium.configure do |config|
|
|
2327
|
+
# Configure API key authorization: clientId
|
|
2328
|
+
config.api_key['clientId'] = 'YOUR API KEY'
|
|
2329
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
2330
|
+
# config.api_key_prefix['clientId'] = 'Bearer'
|
|
2331
|
+
|
|
2332
|
+
# Configure API key authorization: clientSecret
|
|
2333
|
+
config.api_key['clientSecret'] = 'YOUR API KEY'
|
|
2334
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
2335
|
+
# config.api_key_prefix['clientSecret'] = 'Bearer'
|
|
2336
|
+
end
|
|
2337
|
+
|
|
2338
|
+
api_instance = Buildium::LeasesApi.new
|
|
2339
|
+
lease_id = 56 # Integer |
|
|
2340
|
+
opts = {
|
|
2341
|
+
orderby: 'orderby_example', # String | `orderby` indicates the field(s) and direction to sort the results in the response. See <a href=\"#section/API-Overview/Bulk-Request-Options\">Bulk Request Options</a> for more information.
|
|
2342
|
+
offset: 56, # Integer | `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0.
|
|
2343
|
+
limit: 56 # Integer | `limit` indicates the maximum number of results to be returned in the response. `limit` can range between 1 and 1000 and the default is 50.
|
|
2344
|
+
}
|
|
2345
|
+
|
|
2346
|
+
begin
|
|
2347
|
+
# Retrieve all lease renewals
|
|
2348
|
+
result = api_instance.lease_renewals_external_api_read_get_all_lease_renewals(lease_id, opts)
|
|
2349
|
+
p result
|
|
2350
|
+
rescue Buildium::ApiError => e
|
|
2351
|
+
puts "Error when calling LeasesApi->lease_renewals_external_api_read_get_all_lease_renewals: #{e}"
|
|
2352
|
+
end
|
|
2353
|
+
```
|
|
2354
|
+
|
|
2355
|
+
#### Using the lease_renewals_external_api_read_get_all_lease_renewals_with_http_info variant
|
|
2356
|
+
|
|
2357
|
+
This returns an Array which contains the response data, status code and headers.
|
|
2358
|
+
|
|
2359
|
+
> <Array(<Array<LeaseRenewalMessage>>, Integer, Hash)> lease_renewals_external_api_read_get_all_lease_renewals_with_http_info(lease_id, opts)
|
|
2360
|
+
|
|
2361
|
+
```ruby
|
|
2362
|
+
begin
|
|
2363
|
+
# Retrieve all lease renewals
|
|
2364
|
+
data, status_code, headers = api_instance.lease_renewals_external_api_read_get_all_lease_renewals_with_http_info(lease_id, opts)
|
|
2365
|
+
p status_code # => 2xx
|
|
2366
|
+
p headers # => { ... }
|
|
2367
|
+
p data # => <Array<LeaseRenewalMessage>>
|
|
2368
|
+
rescue Buildium::ApiError => e
|
|
2369
|
+
puts "Error when calling LeasesApi->lease_renewals_external_api_read_get_all_lease_renewals_with_http_info: #{e}"
|
|
2370
|
+
end
|
|
2371
|
+
```
|
|
2372
|
+
|
|
2373
|
+
### Parameters
|
|
2374
|
+
|
|
2375
|
+
| Name | Type | Description | Notes |
|
|
2376
|
+
| ---- | ---- | ----------- | ----- |
|
|
2377
|
+
| **lease_id** | **Integer** | | |
|
|
2378
|
+
| **orderby** | **String** | `orderby` indicates the field(s) and direction to sort the results in the response. See <a href=\"#section/API-Overview/Bulk-Request-Options\">Bulk Request Options</a> for more information. | [optional] |
|
|
2379
|
+
| **offset** | **Integer** | `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0. | [optional] |
|
|
2380
|
+
| **limit** | **Integer** | `limit` indicates the maximum number of results to be returned in the response. `limit` can range between 1 and 1000 and the default is 50. | [optional] |
|
|
2381
|
+
|
|
2382
|
+
### Return type
|
|
2383
|
+
|
|
2384
|
+
[**Array<LeaseRenewalMessage>**](LeaseRenewalMessage.md)
|
|
2385
|
+
|
|
2386
|
+
### Authorization
|
|
2387
|
+
|
|
2388
|
+
[clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
|
|
2389
|
+
|
|
2390
|
+
### HTTP request headers
|
|
2391
|
+
|
|
2392
|
+
- **Content-Type**: Not defined
|
|
2393
|
+
- **Accept**: application/json
|
|
2394
|
+
|
|
2395
|
+
|
|
2396
|
+
## lease_renewals_external_api_read_get_lease_renewal_by_id
|
|
2397
|
+
|
|
2398
|
+
> <LeaseRenewalMessage> lease_renewals_external_api_read_get_lease_renewal_by_id(lease_id, renewal_id)
|
|
2399
|
+
|
|
2400
|
+
Retrieve a lease renewal
|
|
2401
|
+
|
|
2402
|
+
Retrieves a lease renewal. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Leases</span> - `View`
|
|
2403
|
+
|
|
2404
|
+
### Examples
|
|
2405
|
+
|
|
2406
|
+
```ruby
|
|
2407
|
+
require 'time'
|
|
2408
|
+
require 'buildium-ruby'
|
|
2409
|
+
# setup authorization
|
|
2410
|
+
Buildium.configure do |config|
|
|
2411
|
+
# Configure API key authorization: clientId
|
|
2412
|
+
config.api_key['clientId'] = 'YOUR API KEY'
|
|
2413
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
2414
|
+
# config.api_key_prefix['clientId'] = 'Bearer'
|
|
2415
|
+
|
|
2416
|
+
# Configure API key authorization: clientSecret
|
|
2417
|
+
config.api_key['clientSecret'] = 'YOUR API KEY'
|
|
2418
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
2419
|
+
# config.api_key_prefix['clientSecret'] = 'Bearer'
|
|
2420
|
+
end
|
|
2421
|
+
|
|
2422
|
+
api_instance = Buildium::LeasesApi.new
|
|
2423
|
+
lease_id = 56 # Integer |
|
|
2424
|
+
renewal_id = 56 # Integer |
|
|
2425
|
+
|
|
2426
|
+
begin
|
|
2427
|
+
# Retrieve a lease renewal
|
|
2428
|
+
result = api_instance.lease_renewals_external_api_read_get_lease_renewal_by_id(lease_id, renewal_id)
|
|
2429
|
+
p result
|
|
2430
|
+
rescue Buildium::ApiError => e
|
|
2431
|
+
puts "Error when calling LeasesApi->lease_renewals_external_api_read_get_lease_renewal_by_id: #{e}"
|
|
2432
|
+
end
|
|
2433
|
+
```
|
|
2434
|
+
|
|
2435
|
+
#### Using the lease_renewals_external_api_read_get_lease_renewal_by_id_with_http_info variant
|
|
2436
|
+
|
|
2437
|
+
This returns an Array which contains the response data, status code and headers.
|
|
2438
|
+
|
|
2439
|
+
> <Array(<LeaseRenewalMessage>, Integer, Hash)> lease_renewals_external_api_read_get_lease_renewal_by_id_with_http_info(lease_id, renewal_id)
|
|
2440
|
+
|
|
2441
|
+
```ruby
|
|
2442
|
+
begin
|
|
2443
|
+
# Retrieve a lease renewal
|
|
2444
|
+
data, status_code, headers = api_instance.lease_renewals_external_api_read_get_lease_renewal_by_id_with_http_info(lease_id, renewal_id)
|
|
2445
|
+
p status_code # => 2xx
|
|
2446
|
+
p headers # => { ... }
|
|
2447
|
+
p data # => <LeaseRenewalMessage>
|
|
2448
|
+
rescue Buildium::ApiError => e
|
|
2449
|
+
puts "Error when calling LeasesApi->lease_renewals_external_api_read_get_lease_renewal_by_id_with_http_info: #{e}"
|
|
2450
|
+
end
|
|
2451
|
+
```
|
|
2452
|
+
|
|
2453
|
+
### Parameters
|
|
2454
|
+
|
|
2455
|
+
| Name | Type | Description | Notes |
|
|
2456
|
+
| ---- | ---- | ----------- | ----- |
|
|
2457
|
+
| **lease_id** | **Integer** | | |
|
|
2458
|
+
| **renewal_id** | **Integer** | | |
|
|
2459
|
+
|
|
2460
|
+
### Return type
|
|
2461
|
+
|
|
2462
|
+
[**LeaseRenewalMessage**](LeaseRenewalMessage.md)
|
|
2463
|
+
|
|
2464
|
+
### Authorization
|
|
2465
|
+
|
|
2466
|
+
[clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
|
|
2467
|
+
|
|
2468
|
+
### HTTP request headers
|
|
2469
|
+
|
|
2470
|
+
- **Content-Type**: Not defined
|
|
2471
|
+
- **Accept**: application/json
|
|
2472
|
+
|
|
2473
|
+
|
|
2474
|
+
## lease_renewals_external_api_write_create_lease_renewal
|
|
2475
|
+
|
|
2476
|
+
> <LeaseRenewalMessage> lease_renewals_external_api_write_create_lease_renewal(lease_id, lease_renewal_post_message)
|
|
2477
|
+
|
|
2478
|
+
Create a lease renewal
|
|
2479
|
+
|
|
2480
|
+
Creates a lease renewal. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Leases</span> - `View` `Edit`
|
|
2481
|
+
|
|
2482
|
+
### Examples
|
|
2483
|
+
|
|
2484
|
+
```ruby
|
|
2485
|
+
require 'time'
|
|
2486
|
+
require 'buildium-ruby'
|
|
2487
|
+
# setup authorization
|
|
2488
|
+
Buildium.configure do |config|
|
|
2489
|
+
# Configure API key authorization: clientId
|
|
2490
|
+
config.api_key['clientId'] = 'YOUR API KEY'
|
|
2491
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
2492
|
+
# config.api_key_prefix['clientId'] = 'Bearer'
|
|
2493
|
+
|
|
2494
|
+
# Configure API key authorization: clientSecret
|
|
2495
|
+
config.api_key['clientSecret'] = 'YOUR API KEY'
|
|
2496
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
2497
|
+
# config.api_key_prefix['clientSecret'] = 'Bearer'
|
|
2498
|
+
end
|
|
2499
|
+
|
|
2500
|
+
api_instance = Buildium::LeasesApi.new
|
|
2501
|
+
lease_id = 56 # Integer |
|
|
2502
|
+
lease_renewal_post_message = Buildium::LeaseRenewalPostMessage.new({lease_type: 'Fixed', rent: Buildium::LeaseRentPostMessage.new({cycle: 'Monthly', charges: [Buildium::LeaseRentChargePostMessage.new({amount: 3.56, gl_account_id: 37, next_due_date: Date.today})]}), send_welcome_email: false}) # LeaseRenewalPostMessage |
|
|
2503
|
+
|
|
2504
|
+
begin
|
|
2505
|
+
# Create a lease renewal
|
|
2506
|
+
result = api_instance.lease_renewals_external_api_write_create_lease_renewal(lease_id, lease_renewal_post_message)
|
|
2507
|
+
p result
|
|
2508
|
+
rescue Buildium::ApiError => e
|
|
2509
|
+
puts "Error when calling LeasesApi->lease_renewals_external_api_write_create_lease_renewal: #{e}"
|
|
2510
|
+
end
|
|
2511
|
+
```
|
|
2512
|
+
|
|
2513
|
+
#### Using the lease_renewals_external_api_write_create_lease_renewal_with_http_info variant
|
|
2514
|
+
|
|
2515
|
+
This returns an Array which contains the response data, status code and headers.
|
|
2516
|
+
|
|
2517
|
+
> <Array(<LeaseRenewalMessage>, Integer, Hash)> lease_renewals_external_api_write_create_lease_renewal_with_http_info(lease_id, lease_renewal_post_message)
|
|
2518
|
+
|
|
2519
|
+
```ruby
|
|
2520
|
+
begin
|
|
2521
|
+
# Create a lease renewal
|
|
2522
|
+
data, status_code, headers = api_instance.lease_renewals_external_api_write_create_lease_renewal_with_http_info(lease_id, lease_renewal_post_message)
|
|
2523
|
+
p status_code # => 2xx
|
|
2524
|
+
p headers # => { ... }
|
|
2525
|
+
p data # => <LeaseRenewalMessage>
|
|
2526
|
+
rescue Buildium::ApiError => e
|
|
2527
|
+
puts "Error when calling LeasesApi->lease_renewals_external_api_write_create_lease_renewal_with_http_info: #{e}"
|
|
2528
|
+
end
|
|
2529
|
+
```
|
|
2530
|
+
|
|
2531
|
+
### Parameters
|
|
2532
|
+
|
|
2533
|
+
| Name | Type | Description | Notes |
|
|
2534
|
+
| ---- | ---- | ----------- | ----- |
|
|
2535
|
+
| **lease_id** | **Integer** | | |
|
|
2536
|
+
| **lease_renewal_post_message** | [**LeaseRenewalPostMessage**](LeaseRenewalPostMessage.md) | | |
|
|
2537
|
+
|
|
2538
|
+
### Return type
|
|
2539
|
+
|
|
2540
|
+
[**LeaseRenewalMessage**](LeaseRenewalMessage.md)
|
|
2541
|
+
|
|
2542
|
+
### Authorization
|
|
2543
|
+
|
|
2544
|
+
[clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
|
|
2545
|
+
|
|
2546
|
+
### HTTP request headers
|
|
2547
|
+
|
|
2548
|
+
- **Content-Type**: application/json
|
|
2549
|
+
- **Accept**: application/json
|
|
2550
|
+
|
|
2551
|
+
|
|
2552
|
+
## undo_tenant_moveout
|
|
2553
|
+
|
|
2554
|
+
> undo_tenant_moveout(lease_id, tenant_id)
|
|
2555
|
+
|
|
2556
|
+
Delete a move out
|
|
2557
|
+
|
|
2558
|
+
Deletes move out data for a tenant on a given lease. <br /><br /><h4>Required Permission(s):</h4><span class=\"permissionBlock\">Rentals > Leases</span> - `View` `Edit` <br /><span class=\"permissionBlock\">Rentals > Tenants</span> - `View`
|
|
2559
|
+
|
|
2560
|
+
### Examples
|
|
2561
|
+
|
|
2562
|
+
```ruby
|
|
2563
|
+
require 'time'
|
|
2564
|
+
require 'buildium-ruby'
|
|
2565
|
+
# setup authorization
|
|
2566
|
+
Buildium.configure do |config|
|
|
2567
|
+
# Configure API key authorization: clientId
|
|
2568
|
+
config.api_key['clientId'] = 'YOUR API KEY'
|
|
2569
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
2570
|
+
# config.api_key_prefix['clientId'] = 'Bearer'
|
|
2571
|
+
|
|
2572
|
+
# Configure API key authorization: clientSecret
|
|
2573
|
+
config.api_key['clientSecret'] = 'YOUR API KEY'
|
|
2574
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
2575
|
+
# config.api_key_prefix['clientSecret'] = 'Bearer'
|
|
2576
|
+
end
|
|
2577
|
+
|
|
2578
|
+
api_instance = Buildium::LeasesApi.new
|
|
2579
|
+
lease_id = 56 # Integer |
|
|
2580
|
+
tenant_id = 56 # Integer |
|
|
2581
|
+
|
|
2582
|
+
begin
|
|
2583
|
+
# Delete a move out
|
|
2584
|
+
api_instance.undo_tenant_moveout(lease_id, tenant_id)
|
|
2585
|
+
rescue Buildium::ApiError => e
|
|
2586
|
+
puts "Error when calling LeasesApi->undo_tenant_moveout: #{e}"
|
|
2587
|
+
end
|
|
2588
|
+
```
|
|
2589
|
+
|
|
2590
|
+
#### Using the undo_tenant_moveout_with_http_info variant
|
|
2591
|
+
|
|
2592
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
|
2593
|
+
|
|
2594
|
+
> <Array(nil, Integer, Hash)> undo_tenant_moveout_with_http_info(lease_id, tenant_id)
|
|
2595
|
+
|
|
2596
|
+
```ruby
|
|
2597
|
+
begin
|
|
2598
|
+
# Delete a move out
|
|
2599
|
+
data, status_code, headers = api_instance.undo_tenant_moveout_with_http_info(lease_id, tenant_id)
|
|
2600
|
+
p status_code # => 2xx
|
|
2601
|
+
p headers # => { ... }
|
|
2602
|
+
p data # => nil
|
|
2603
|
+
rescue Buildium::ApiError => e
|
|
2604
|
+
puts "Error when calling LeasesApi->undo_tenant_moveout_with_http_info: #{e}"
|
|
2605
|
+
end
|
|
2606
|
+
```
|
|
2607
|
+
|
|
2608
|
+
### Parameters
|
|
2609
|
+
|
|
2610
|
+
| Name | Type | Description | Notes |
|
|
2611
|
+
| ---- | ---- | ----------- | ----- |
|
|
2612
|
+
| **lease_id** | **Integer** | | |
|
|
2613
|
+
| **tenant_id** | **Integer** | | |
|
|
2614
|
+
|
|
2615
|
+
### Return type
|
|
2616
|
+
|
|
2617
|
+
nil (empty response body)
|
|
2618
|
+
|
|
2619
|
+
### Authorization
|
|
2620
|
+
|
|
2621
|
+
[clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
|
|
2622
|
+
|
|
2623
|
+
### HTTP request headers
|
|
2624
|
+
|
|
2625
|
+
- **Content-Type**: Not defined
|
|
2626
|
+
- **Accept**: application/json
|
|
2627
|
+
|
|
2628
|
+
|
|
2629
|
+
## update_lease
|
|
2630
|
+
|
|
2631
|
+
> <LeaseMessage> update_lease(lease_id, lease_put_message)
|
|
2632
|
+
|
|
2633
|
+
Update a lease
|
|
2634
|
+
|
|
2635
|
+
Update a signed lease. <br /><br /><strong>NOTE:</strong> Any field not included in the update request will be set to either an empty string or `null` in the database depending on the field definition. <br />The recommended workflow to ensure no data is inadvertently overwritten is to execute a `GET` request for the resource you're about to update and then use this response to fill any of the fields that are not being updated. <br /><br /><span class=\"permissionBlock\">Rentals > Leases</span> - `View` `Edit`
|
|
2636
|
+
|
|
2637
|
+
### Examples
|
|
2638
|
+
|
|
2639
|
+
```ruby
|
|
2640
|
+
require 'time'
|
|
2641
|
+
require 'buildium-ruby'
|
|
2642
|
+
# setup authorization
|
|
2643
|
+
Buildium.configure do |config|
|
|
2644
|
+
# Configure API key authorization: clientId
|
|
2645
|
+
config.api_key['clientId'] = 'YOUR API KEY'
|
|
2646
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
2647
|
+
# config.api_key_prefix['clientId'] = 'Bearer'
|
|
2648
|
+
|
|
2649
|
+
# Configure API key authorization: clientSecret
|
|
2650
|
+
config.api_key['clientSecret'] = 'YOUR API KEY'
|
|
2651
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
2652
|
+
# config.api_key_prefix['clientSecret'] = 'Bearer'
|
|
2653
|
+
end
|
|
2654
|
+
|
|
2655
|
+
api_instance = Buildium::LeasesApi.new
|
|
2656
|
+
lease_id = 56 # Integer |
|
|
2657
|
+
lease_put_message = Buildium::LeasePutMessage.new({lease_type: 'Fixed', unit_id: 37, lease_from_date: Date.today, is_eviction_pending: false}) # LeasePutMessage |
|
|
2658
|
+
|
|
2659
|
+
begin
|
|
2660
|
+
# Update a lease
|
|
2661
|
+
result = api_instance.update_lease(lease_id, lease_put_message)
|
|
2662
|
+
p result
|
|
2663
|
+
rescue Buildium::ApiError => e
|
|
2664
|
+
puts "Error when calling LeasesApi->update_lease: #{e}"
|
|
2665
|
+
end
|
|
2666
|
+
```
|
|
2667
|
+
|
|
2668
|
+
#### Using the update_lease_with_http_info variant
|
|
2669
|
+
|
|
2670
|
+
This returns an Array which contains the response data, status code and headers.
|
|
2671
|
+
|
|
2672
|
+
> <Array(<LeaseMessage>, Integer, Hash)> update_lease_with_http_info(lease_id, lease_put_message)
|
|
2673
|
+
|
|
2674
|
+
```ruby
|
|
2675
|
+
begin
|
|
2676
|
+
# Update a lease
|
|
2677
|
+
data, status_code, headers = api_instance.update_lease_with_http_info(lease_id, lease_put_message)
|
|
2678
|
+
p status_code # => 2xx
|
|
2679
|
+
p headers # => { ... }
|
|
2680
|
+
p data # => <LeaseMessage>
|
|
2681
|
+
rescue Buildium::ApiError => e
|
|
2682
|
+
puts "Error when calling LeasesApi->update_lease_with_http_info: #{e}"
|
|
2683
|
+
end
|
|
2684
|
+
```
|
|
2685
|
+
|
|
2686
|
+
### Parameters
|
|
2687
|
+
|
|
2688
|
+
| Name | Type | Description | Notes |
|
|
2689
|
+
| ---- | ---- | ----------- | ----- |
|
|
2690
|
+
| **lease_id** | **Integer** | | |
|
|
2691
|
+
| **lease_put_message** | [**LeasePutMessage**](LeasePutMessage.md) | | |
|
|
2692
|
+
|
|
2693
|
+
### Return type
|
|
2694
|
+
|
|
2695
|
+
[**LeaseMessage**](LeaseMessage.md)
|
|
2696
|
+
|
|
2697
|
+
### Authorization
|
|
2698
|
+
|
|
2699
|
+
[clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
|
|
2700
|
+
|
|
2701
|
+
### HTTP request headers
|
|
2702
|
+
|
|
2703
|
+
- **Content-Type**: application/json
|
|
2704
|
+
- **Accept**: application/json
|
|
2705
|
+
|
|
2706
|
+
|
|
2707
|
+
## update_lease_charge
|
|
2708
|
+
|
|
2709
|
+
> <LeaseTransactionMessage> update_lease_charge(lease_id, charge_id, lease_charge_put_message)
|
|
2710
|
+
|
|
2711
|
+
Update a charge
|
|
2712
|
+
|
|
2713
|
+
Updates a charge. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Lease transactions</span> - `View` `Edit`
|
|
2714
|
+
|
|
2715
|
+
### Examples
|
|
2716
|
+
|
|
2717
|
+
```ruby
|
|
2718
|
+
require 'time'
|
|
2719
|
+
require 'buildium-ruby'
|
|
2720
|
+
# setup authorization
|
|
2721
|
+
Buildium.configure do |config|
|
|
2722
|
+
# Configure API key authorization: clientId
|
|
2723
|
+
config.api_key['clientId'] = 'YOUR API KEY'
|
|
2724
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
2725
|
+
# config.api_key_prefix['clientId'] = 'Bearer'
|
|
2726
|
+
|
|
2727
|
+
# Configure API key authorization: clientSecret
|
|
2728
|
+
config.api_key['clientSecret'] = 'YOUR API KEY'
|
|
2729
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
2730
|
+
# config.api_key_prefix['clientSecret'] = 'Bearer'
|
|
2731
|
+
end
|
|
2732
|
+
|
|
2733
|
+
api_instance = Buildium::LeasesApi.new
|
|
2734
|
+
lease_id = 56 # Integer |
|
|
2735
|
+
charge_id = 56 # Integer |
|
|
2736
|
+
lease_charge_put_message = Buildium::LeaseChargePutMessage.new({date: Date.today, lines: [Buildium::LeaseChargeLineSaveMessage.new({amount: 3.56, gl_account_id: 37})]}) # LeaseChargePutMessage |
|
|
2737
|
+
|
|
2738
|
+
begin
|
|
2739
|
+
# Update a charge
|
|
2740
|
+
result = api_instance.update_lease_charge(lease_id, charge_id, lease_charge_put_message)
|
|
2741
|
+
p result
|
|
2742
|
+
rescue Buildium::ApiError => e
|
|
2743
|
+
puts "Error when calling LeasesApi->update_lease_charge: #{e}"
|
|
2744
|
+
end
|
|
2745
|
+
```
|
|
2746
|
+
|
|
2747
|
+
#### Using the update_lease_charge_with_http_info variant
|
|
2748
|
+
|
|
2749
|
+
This returns an Array which contains the response data, status code and headers.
|
|
2750
|
+
|
|
2751
|
+
> <Array(<LeaseTransactionMessage>, Integer, Hash)> update_lease_charge_with_http_info(lease_id, charge_id, lease_charge_put_message)
|
|
2752
|
+
|
|
2753
|
+
```ruby
|
|
2754
|
+
begin
|
|
2755
|
+
# Update a charge
|
|
2756
|
+
data, status_code, headers = api_instance.update_lease_charge_with_http_info(lease_id, charge_id, lease_charge_put_message)
|
|
2757
|
+
p status_code # => 2xx
|
|
2758
|
+
p headers # => { ... }
|
|
2759
|
+
p data # => <LeaseTransactionMessage>
|
|
2760
|
+
rescue Buildium::ApiError => e
|
|
2761
|
+
puts "Error when calling LeasesApi->update_lease_charge_with_http_info: #{e}"
|
|
2762
|
+
end
|
|
2763
|
+
```
|
|
2764
|
+
|
|
2765
|
+
### Parameters
|
|
2766
|
+
|
|
2767
|
+
| Name | Type | Description | Notes |
|
|
2768
|
+
| ---- | ---- | ----------- | ----- |
|
|
2769
|
+
| **lease_id** | **Integer** | | |
|
|
2770
|
+
| **charge_id** | **Integer** | | |
|
|
2771
|
+
| **lease_charge_put_message** | [**LeaseChargePutMessage**](LeaseChargePutMessage.md) | | |
|
|
2772
|
+
|
|
2773
|
+
### Return type
|
|
2774
|
+
|
|
2775
|
+
[**LeaseTransactionMessage**](LeaseTransactionMessage.md)
|
|
2776
|
+
|
|
2777
|
+
### Authorization
|
|
2778
|
+
|
|
2779
|
+
[clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
|
|
2780
|
+
|
|
2781
|
+
### HTTP request headers
|
|
2782
|
+
|
|
2783
|
+
- **Content-Type**: application/json
|
|
2784
|
+
- **Accept**: application/json
|
|
2785
|
+
|
|
2786
|
+
|
|
2787
|
+
## update_lease_note
|
|
2788
|
+
|
|
2789
|
+
> <NoteMessage> update_lease_note(lease_id, note_id, note_put_message)
|
|
2790
|
+
|
|
2791
|
+
Update a note
|
|
2792
|
+
|
|
2793
|
+
Updates a lease note. <br /><br /><strong>NOTE:</strong> Any field not included in the update request will be set to either an empty string or `null` in the database depending on the field definition. <br />The recommended workflow to ensure no data is inadvertently overwritten is to execute a `GET` request for the resource you're about to update and then use this response to fill any of the fields that are not being updated. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Leases</span> - `View` `Edit`
|
|
2794
|
+
|
|
2795
|
+
### Examples
|
|
2796
|
+
|
|
2797
|
+
```ruby
|
|
2798
|
+
require 'time'
|
|
2799
|
+
require 'buildium-ruby'
|
|
2800
|
+
# setup authorization
|
|
2801
|
+
Buildium.configure do |config|
|
|
2802
|
+
# Configure API key authorization: clientId
|
|
2803
|
+
config.api_key['clientId'] = 'YOUR API KEY'
|
|
2804
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
2805
|
+
# config.api_key_prefix['clientId'] = 'Bearer'
|
|
2806
|
+
|
|
2807
|
+
# Configure API key authorization: clientSecret
|
|
2808
|
+
config.api_key['clientSecret'] = 'YOUR API KEY'
|
|
2809
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
2810
|
+
# config.api_key_prefix['clientSecret'] = 'Bearer'
|
|
2811
|
+
end
|
|
2812
|
+
|
|
2813
|
+
api_instance = Buildium::LeasesApi.new
|
|
2814
|
+
lease_id = 56 # Integer |
|
|
2815
|
+
note_id = 56 # Integer |
|
|
2816
|
+
note_put_message = Buildium::NotePutMessage.new({note: 'note_example'}) # NotePutMessage |
|
|
2817
|
+
|
|
2818
|
+
begin
|
|
2819
|
+
# Update a note
|
|
2820
|
+
result = api_instance.update_lease_note(lease_id, note_id, note_put_message)
|
|
2821
|
+
p result
|
|
2822
|
+
rescue Buildium::ApiError => e
|
|
2823
|
+
puts "Error when calling LeasesApi->update_lease_note: #{e}"
|
|
2824
|
+
end
|
|
2825
|
+
```
|
|
2826
|
+
|
|
2827
|
+
#### Using the update_lease_note_with_http_info variant
|
|
2828
|
+
|
|
2829
|
+
This returns an Array which contains the response data, status code and headers.
|
|
2830
|
+
|
|
2831
|
+
> <Array(<NoteMessage>, Integer, Hash)> update_lease_note_with_http_info(lease_id, note_id, note_put_message)
|
|
2832
|
+
|
|
2833
|
+
```ruby
|
|
2834
|
+
begin
|
|
2835
|
+
# Update a note
|
|
2836
|
+
data, status_code, headers = api_instance.update_lease_note_with_http_info(lease_id, note_id, note_put_message)
|
|
2837
|
+
p status_code # => 2xx
|
|
2838
|
+
p headers # => { ... }
|
|
2839
|
+
p data # => <NoteMessage>
|
|
2840
|
+
rescue Buildium::ApiError => e
|
|
2841
|
+
puts "Error when calling LeasesApi->update_lease_note_with_http_info: #{e}"
|
|
2842
|
+
end
|
|
2843
|
+
```
|
|
2844
|
+
|
|
2845
|
+
### Parameters
|
|
2846
|
+
|
|
2847
|
+
| Name | Type | Description | Notes |
|
|
2848
|
+
| ---- | ---- | ----------- | ----- |
|
|
2849
|
+
| **lease_id** | **Integer** | | |
|
|
2850
|
+
| **note_id** | **Integer** | | |
|
|
2851
|
+
| **note_put_message** | [**NotePutMessage**](NotePutMessage.md) | | |
|
|
2852
|
+
|
|
2853
|
+
### Return type
|
|
2854
|
+
|
|
2855
|
+
[**NoteMessage**](NoteMessage.md)
|
|
2856
|
+
|
|
2857
|
+
### Authorization
|
|
2858
|
+
|
|
2859
|
+
[clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
|
|
2860
|
+
|
|
2861
|
+
### HTTP request headers
|
|
2862
|
+
|
|
2863
|
+
- **Content-Type**: application/json
|
|
2864
|
+
- **Accept**: application/json
|
|
2865
|
+
|