propertyware 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- 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 +375 -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 +23 -0
- data/.rspec +2 -0
- data/.rubocop.yml +124 -0
- data/CUSTOMIZATIONS.md +11 -0
- data/DOCS.md +673 -0
- data/Gemfile +9 -0
- data/Gemfile.lock +76 -0
- data/README.md +93 -0
- data/Rakefile +10 -0
- data/bin/CUSTOMIZATIONS.md +11 -0
- data/bin/README.md +93 -0
- data/bin/config.yml +7 -0
- data/bin/fix_json.rb +59 -0
- data/bin/propertyware.json +1 -0
- data/bin/rebuild.sh +31 -0
- data/docs/Account.md +84 -0
- data/docs/AccountingApi.md +1235 -0
- data/docs/Address.md +28 -0
- data/docs/Amenity.md +24 -0
- data/docs/AutoJournalEntry.md +46 -0
- data/docs/AutoPayment.md +42 -0
- data/docs/Bank.md +52 -0
- data/docs/BankDeposit.md +32 -0
- data/docs/BasicVendor.md +40 -0
- data/docs/Bill.md +54 -0
- data/docs/BillPaid.md +24 -0
- data/docs/BillPay.md +20 -0
- data/docs/BillPayment.md +46 -0
- data/docs/BillSplit.md +42 -0
- data/docs/BillsApi.md +1391 -0
- data/docs/Building.md +116 -0
- data/docs/BuildingsApi.md +1037 -0
- data/docs/Campaign.md +60 -0
- data/docs/CampaignSource.md +26 -0
- data/docs/Charge.md +36 -0
- data/docs/ChargeTx.md +52 -0
- data/docs/Check.md +48 -0
- data/docs/CheckSplit.md +30 -0
- data/docs/Comment.md +28 -0
- data/docs/Contact.md +74 -0
- data/docs/ContactsApi.md +783 -0
- data/docs/Conversation.md +36 -0
- data/docs/CreditCardAccount.md +18 -0
- data/docs/CurrentAsset.md +30 -0
- data/docs/CurrentLiability.md +30 -0
- data/docs/CustomField.md +24 -0
- data/docs/Discount.md +40 -0
- data/docs/Document.md +40 -0
- data/docs/DocumentsApi.md +267 -0
- data/docs/Entry.md +34 -0
- data/docs/Equity.md +32 -0
- data/docs/ErrorResponse.md +22 -0
- data/docs/Expense.md +32 -0
- data/docs/GLItem.md +40 -0
- data/docs/HealthCheckApi.md +86 -0
- data/docs/Income.md +34 -0
- data/docs/Inspection.md +46 -0
- data/docs/InspectionArea.md +22 -0
- data/docs/InspectionItem.md +24 -0
- data/docs/InspectionsApi.md +193 -0
- data/docs/JournalEntry.md +36 -0
- data/docs/JournalEntrySplit.md +24 -0
- data/docs/JournalEntrySplitResponse.md +24 -0
- data/docs/LateFeeRule.md +26 -0
- data/docs/Lease.md +76 -0
- data/docs/LeaseClause.md +22 -0
- data/docs/LeaseContact.md +36 -0
- data/docs/LeasesApi.md +3319 -0
- data/docs/ManagementFee.md +30 -0
- data/docs/ManagementSettings.md +26 -0
- data/docs/Marketing.md +62 -0
- data/docs/NonCurrentAsset.md +26 -0
- data/docs/NonCurrentLiability.md +30 -0
- data/docs/NonOperatingExpense.md +32 -0
- data/docs/NonOperatingInome.md +32 -0
- data/docs/Note.md +28 -0
- data/docs/Owner.md +38 -0
- data/docs/OwnerContribution.md +44 -0
- data/docs/OwnerDraw.md +44 -0
- data/docs/Payment.md +50 -0
- data/docs/PaymentCharge.md +36 -0
- data/docs/Portfolio.md +60 -0
- data/docs/PortfoliosApi.md +701 -0
- data/docs/PropertyManager.md +26 -0
- data/docs/Prospect.md +114 -0
- data/docs/ProspectsApi.md +789 -0
- data/docs/RESTAPIBulkErrorResponse.md +22 -0
- data/docs/RESTAPIBulkSuccessResponse.md +18 -0
- data/docs/RESTAPIError.md +20 -0
- data/docs/Refund.md +44 -0
- data/docs/ResponseEntity.md +20 -0
- data/docs/SaveAccount.md +52 -0
- data/docs/SaveAddress.md +28 -0
- data/docs/SaveAdjustment.md +26 -0
- data/docs/SaveAutoCharge.md +28 -0
- data/docs/SaveBankDeposit.md +20 -0
- data/docs/SaveBill.md +42 -0
- data/docs/SaveBillPayment.md +30 -0
- data/docs/SaveBillSplit.md +36 -0
- data/docs/SaveBuilding.md +84 -0
- data/docs/SaveCharge.md +28 -0
- data/docs/SaveCheck.md +30 -0
- data/docs/SaveCheckSplit.md +30 -0
- data/docs/SaveComment.md +18 -0
- data/docs/SaveContact.md +60 -0
- data/docs/SaveConversation.md +20 -0
- data/docs/SaveCredit.md +26 -0
- data/docs/SaveDiscount.md +28 -0
- data/docs/SaveJournalEntrySplit.md +22 -0
- data/docs/SaveLease.md +50 -0
- data/docs/SaveLeaseJournalEntry.md +26 -0
- data/docs/SaveOwner.md +36 -0
- data/docs/SaveOwnerContribution.md +34 -0
- data/docs/SaveOwnerDraw.md +34 -0
- data/docs/SavePayment.md +34 -0
- data/docs/SavePortfolio.md +38 -0
- data/docs/SaveProspect.md +76 -0
- data/docs/SaveProspectContact.md +36 -0
- data/docs/SaveRefund.md +34 -0
- data/docs/SaveUnit.md +60 -0
- data/docs/SaveVendor.md +46 -0
- data/docs/SaveWorkOrder.md +36 -0
- data/docs/SaveWorkOrderTask.md +30 -0
- data/docs/SplitPaid.md +34 -0
- data/docs/SplitPay.md +20 -0
- data/docs/Task.md +42 -0
- data/docs/Transaction.md +54 -0
- data/docs/Unit.md +96 -0
- data/docs/UnitsApi.md +875 -0
- data/docs/UpdateLeaseJournalEntry.md +26 -0
- data/docs/Vendor.md +76 -0
- data/docs/VendorsApi.md +617 -0
- data/docs/WorkOrder.md +78 -0
- data/docs/WorkOrdersApi.md +883 -0
- data/lib/propertyware/api/accounting_api.rb +1041 -0
- data/lib/propertyware/api/bills_api.rb +1182 -0
- data/lib/propertyware/api/buildings_api.rb +863 -0
- data/lib/propertyware/api/contacts_api.rb +666 -0
- data/lib/propertyware/api/documents_api.rb +235 -0
- data/lib/propertyware/api/health_check_api.rb +79 -0
- data/lib/propertyware/api/inspections_api.rb +172 -0
- data/lib/propertyware/api/leases_api.rb +2787 -0
- data/lib/propertyware/api/portfolios_api.rb +599 -0
- data/lib/propertyware/api/prospects_api.rb +671 -0
- data/lib/propertyware/api/units_api.rb +740 -0
- data/lib/propertyware/api/vendors_api.rb +522 -0
- data/lib/propertyware/api/work_orders_api.rb +763 -0
- data/lib/propertyware/api_client.rb +428 -0
- data/lib/propertyware/api_error.rb +58 -0
- data/lib/propertyware/configuration.rb +392 -0
- data/lib/propertyware/models/account.rb +549 -0
- data/lib/propertyware/models/address.rb +269 -0
- data/lib/propertyware/models/amenity.rb +249 -0
- data/lib/propertyware/models/auto_journal_entry.rb +358 -0
- data/lib/propertyware/models/auto_payment.rb +338 -0
- data/lib/propertyware/models/bank.rb +389 -0
- data/lib/propertyware/models/bank_deposit.rb +289 -0
- data/lib/propertyware/models/basic_vendor.rb +330 -0
- data/lib/propertyware/models/bill.rb +401 -0
- data/lib/propertyware/models/bill_paid.rb +250 -0
- data/lib/propertyware/models/bill_pay.rb +230 -0
- data/lib/propertyware/models/bill_payment.rb +361 -0
- data/lib/propertyware/models/bill_split.rb +339 -0
- data/lib/propertyware/models/building.rb +782 -0
- data/lib/propertyware/models/campaign.rb +430 -0
- data/lib/propertyware/models/campaign_source.rb +258 -0
- data/lib/propertyware/models/charge.rb +318 -0
- data/lib/propertyware/models/charge_tx.rb +401 -0
- data/lib/propertyware/models/check.rb +425 -0
- data/lib/propertyware/models/check_split.rb +284 -0
- data/lib/propertyware/models/comment.rb +269 -0
- data/lib/propertyware/models/contact.rb +546 -0
- data/lib/propertyware/models/conversation.rb +345 -0
- data/lib/propertyware/models/credit_card_account.rb +219 -0
- data/lib/propertyware/models/current_asset.rb +279 -0
- data/lib/propertyware/models/current_liability.rb +279 -0
- data/lib/propertyware/models/custom_field.rb +249 -0
- data/lib/propertyware/models/discount.rb +339 -0
- data/lib/propertyware/models/document.rb +362 -0
- data/lib/propertyware/models/entry.rb +297 -0
- data/lib/propertyware/models/equity.rb +289 -0
- data/lib/propertyware/models/error_response.rb +237 -0
- data/lib/propertyware/models/expense.rb +289 -0
- data/lib/propertyware/models/gl_item.rb +330 -0
- data/lib/propertyware/models/income.rb +299 -0
- data/lib/propertyware/models/inspection.rb +361 -0
- data/lib/propertyware/models/inspection_area.rb +241 -0
- data/lib/propertyware/models/inspection_item.rb +249 -0
- data/lib/propertyware/models/journal_entry.rb +311 -0
- data/lib/propertyware/models/journal_entry_split.rb +264 -0
- data/lib/propertyware/models/journal_entry_split_response.rb +263 -0
- data/lib/propertyware/models/late_fee_rule.rb +258 -0
- data/lib/propertyware/models/lease.rb +515 -0
- data/lib/propertyware/models/lease_clause.rb +238 -0
- data/lib/propertyware/models/lease_contact.rb +309 -0
- data/lib/propertyware/models/management_fee.rb +279 -0
- data/lib/propertyware/models/management_settings.rb +261 -0
- data/lib/propertyware/models/marketing.rb +439 -0
- data/lib/propertyware/models/non_current_asset.rb +259 -0
- data/lib/propertyware/models/non_current_liability.rb +279 -0
- data/lib/propertyware/models/non_operating_expense.rb +289 -0
- data/lib/propertyware/models/non_operating_inome.rb +289 -0
- data/lib/propertyware/models/note.rb +267 -0
- data/lib/propertyware/models/owner.rb +318 -0
- data/lib/propertyware/models/owner_contribution.rb +418 -0
- data/lib/propertyware/models/owner_draw.rb +398 -0
- data/lib/propertyware/models/payment.rb +423 -0
- data/lib/propertyware/models/payment_charge.rb +358 -0
- data/lib/propertyware/models/portfolio.rb +479 -0
- data/lib/propertyware/models/property_manager.rb +259 -0
- data/lib/propertyware/models/prospect.rb +701 -0
- data/lib/propertyware/models/refund.rb +384 -0
- data/lib/propertyware/models/response_entity.rb +260 -0
- data/lib/propertyware/models/restapi_bulk_error_response.rb +237 -0
- data/lib/propertyware/models/restapi_bulk_success_response.rb +217 -0
- data/lib/propertyware/models/restapi_error.rb +226 -0
- data/lib/propertyware/models/save_account.rb +398 -0
- data/lib/propertyware/models/save_address.rb +274 -0
- data/lib/propertyware/models/save_adjustment.rb +269 -0
- data/lib/propertyware/models/save_auto_charge.rb +328 -0
- data/lib/propertyware/models/save_bank_deposit.rb +239 -0
- data/lib/propertyware/models/save_bill.rb +356 -0
- data/lib/propertyware/models/save_bill_payment.rb +314 -0
- data/lib/propertyware/models/save_bill_split.rb +319 -0
- data/lib/propertyware/models/save_building.rb +653 -0
- data/lib/propertyware/models/save_charge.rb +289 -0
- data/lib/propertyware/models/save_check.rb +291 -0
- data/lib/propertyware/models/save_check_split.rb +289 -0
- data/lib/propertyware/models/save_comment.rb +224 -0
- data/lib/propertyware/models/save_contact.rb +472 -0
- data/lib/propertyware/models/save_conversation.rb +273 -0
- data/lib/propertyware/models/save_credit.rb +271 -0
- data/lib/propertyware/models/save_discount.rb +289 -0
- data/lib/propertyware/models/save_journal_entry_split.rb +254 -0
- data/lib/propertyware/models/save_lease.rb +444 -0
- data/lib/propertyware/models/save_lease_journal_entry.rb +276 -0
- data/lib/propertyware/models/save_owner.rb +318 -0
- data/lib/propertyware/models/save_owner_contribution.rb +373 -0
- data/lib/propertyware/models/save_owner_draw.rb +334 -0
- data/lib/propertyware/models/save_payment.rb +373 -0
- data/lib/propertyware/models/save_portfolio.rb +379 -0
- data/lib/propertyware/models/save_prospect.rb +511 -0
- data/lib/propertyware/models/save_prospect_contact.rb +318 -0
- data/lib/propertyware/models/save_refund.rb +334 -0
- data/lib/propertyware/models/save_unit.rb +492 -0
- data/lib/propertyware/models/save_vendor.rb +379 -0
- data/lib/propertyware/models/save_work_order.rb +345 -0
- data/lib/propertyware/models/save_work_order_task.rb +284 -0
- data/lib/propertyware/models/split_paid.rb +298 -0
- data/lib/propertyware/models/split_pay.rb +228 -0
- data/lib/propertyware/models/task.rb +339 -0
- data/lib/propertyware/models/transaction.rb +433 -0
- data/lib/propertyware/models/unit.rb +670 -0
- data/lib/propertyware/models/update_lease_journal_entry.rb +276 -0
- data/lib/propertyware/models/vendor.rb +511 -0
- data/lib/propertyware/models/work_order.rb +557 -0
- data/lib/propertyware/version.rb +15 -0
- data/lib/propertyware.rb +158 -0
- data/openapitools.json +7 -0
- data/propertyware.gemspec +39 -0
- data/spec/api/accounting_api_spec.rb +239 -0
- data/spec/api/bills_api_spec.rb +260 -0
- data/spec/api/buildings_api_spec.rb +199 -0
- data/spec/api/contacts_api_spec.rb +159 -0
- data/spec/api/documents_api_spec.rb +77 -0
- data/spec/api/health_check_api_spec.rb +46 -0
- data/spec/api/inspections_api_spec.rb +68 -0
- data/spec/api/leases_api_spec.rb +579 -0
- data/spec/api/portfolios_api_spec.rb +147 -0
- data/spec/api/prospects_api_spec.rb +162 -0
- data/spec/api/units_api_spec.rb +176 -0
- data/spec/api/vendors_api_spec.rb +134 -0
- data/spec/api/work_orders_api_spec.rb +180 -0
- data/spec/api_client_spec.rb +223 -0
- data/spec/configuration_spec.rb +82 -0
- data/spec/models/account_spec.rb +232 -0
- data/spec/models/address_spec.rb +64 -0
- data/spec/models/amenity_spec.rb +52 -0
- data/spec/models/auto_journal_entry_spec.rb +118 -0
- data/spec/models/auto_payment_spec.rb +106 -0
- data/spec/models/bank_deposit_spec.rb +76 -0
- data/spec/models/bank_spec.rb +136 -0
- data/spec/models/basic_vendor_spec.rb +100 -0
- data/spec/models/bill_paid_spec.rb +52 -0
- data/spec/models/bill_pay_spec.rb +40 -0
- data/spec/models/bill_payment_spec.rb +118 -0
- data/spec/models/bill_spec.rb +142 -0
- data/spec/models/bill_split_spec.rb +106 -0
- data/spec/models/building_spec.rb +344 -0
- data/spec/models/campaign_source_spec.rb +58 -0
- data/spec/models/campaign_spec.rb +160 -0
- data/spec/models/charge_spec.rb +88 -0
- data/spec/models/charge_tx_spec.rb +136 -0
- data/spec/models/check_spec.rb +128 -0
- data/spec/models/check_split_spec.rb +70 -0
- data/spec/models/comment_spec.rb +64 -0
- data/spec/models/contact_spec.rb +210 -0
- data/spec/models/conversation_spec.rb +92 -0
- data/spec/models/credit_card_account_spec.rb +34 -0
- data/spec/models/current_asset_spec.rb +70 -0
- data/spec/models/current_liability_spec.rb +70 -0
- data/spec/models/custom_field_spec.rb +52 -0
- data/spec/models/discount_spec.rb +100 -0
- data/spec/models/document_spec.rb +104 -0
- data/spec/models/entry_spec.rb +82 -0
- data/spec/models/equity_spec.rb +76 -0
- data/spec/models/error_response_spec.rb +46 -0
- data/spec/models/expense_spec.rb +76 -0
- data/spec/models/gl_item_spec.rb +100 -0
- data/spec/models/income_spec.rb +82 -0
- data/spec/models/inspection_area_spec.rb +46 -0
- data/spec/models/inspection_item_spec.rb +52 -0
- data/spec/models/inspection_spec.rb +118 -0
- data/spec/models/journal_entry_spec.rb +88 -0
- data/spec/models/journal_entry_split_response_spec.rb +52 -0
- data/spec/models/journal_entry_split_spec.rb +52 -0
- data/spec/models/late_fee_rule_spec.rb +58 -0
- data/spec/models/lease_clause_spec.rb +46 -0
- data/spec/models/lease_contact_spec.rb +88 -0
- data/spec/models/lease_spec.rb +208 -0
- data/spec/models/management_fee_spec.rb +70 -0
- data/spec/models/management_settings_spec.rb +58 -0
- data/spec/models/marketing_spec.rb +166 -0
- data/spec/models/non_current_asset_spec.rb +58 -0
- data/spec/models/non_current_liability_spec.rb +70 -0
- data/spec/models/non_operating_expense_spec.rb +76 -0
- data/spec/models/non_operating_inome_spec.rb +76 -0
- data/spec/models/note_spec.rb +64 -0
- data/spec/models/owner_contribution_spec.rb +116 -0
- data/spec/models/owner_draw_spec.rb +116 -0
- data/spec/models/owner_spec.rb +94 -0
- data/spec/models/payment_charge_spec.rb +92 -0
- data/spec/models/payment_spec.rb +134 -0
- data/spec/models/portfolio_spec.rb +168 -0
- data/spec/models/property_manager_spec.rb +58 -0
- data/spec/models/prospect_spec.rb +322 -0
- data/spec/models/refund_spec.rb +112 -0
- data/spec/models/response_entity_spec.rb +44 -0
- data/spec/models/restapi_bulk_error_response_spec.rb +46 -0
- data/spec/models/restapi_bulk_success_response_spec.rb +34 -0
- data/spec/models/restapi_error_spec.rb +40 -0
- data/spec/models/save_account_spec.rb +136 -0
- data/spec/models/save_address_spec.rb +64 -0
- data/spec/models/save_adjustment_spec.rb +58 -0
- data/spec/models/save_auto_charge_spec.rb +68 -0
- data/spec/models/save_bank_deposit_spec.rb +40 -0
- data/spec/models/save_bill_payment_spec.rb +74 -0
- data/spec/models/save_bill_spec.rb +106 -0
- data/spec/models/save_bill_split_spec.rb +88 -0
- data/spec/models/save_building_spec.rb +248 -0
- data/spec/models/save_charge_spec.rb +64 -0
- data/spec/models/save_check_spec.rb +70 -0
- data/spec/models/save_check_split_spec.rb +70 -0
- data/spec/models/save_comment_spec.rb +34 -0
- data/spec/models/save_contact_spec.rb +164 -0
- data/spec/models/save_conversation_spec.rb +44 -0
- data/spec/models/save_credit_spec.rb +58 -0
- data/spec/models/save_discount_spec.rb +64 -0
- data/spec/models/save_journal_entry_split_spec.rb +46 -0
- data/spec/models/save_lease_journal_entry_spec.rb +58 -0
- data/spec/models/save_lease_spec.rb +134 -0
- data/spec/models/save_owner_contribution_spec.rb +86 -0
- data/spec/models/save_owner_draw_spec.rb +82 -0
- data/spec/models/save_owner_spec.rb +88 -0
- data/spec/models/save_payment_spec.rb +86 -0
- data/spec/models/save_portfolio_spec.rb +102 -0
- data/spec/models/save_prospect_contact_spec.rb +88 -0
- data/spec/models/save_prospect_spec.rb +208 -0
- data/spec/models/save_refund_spec.rb +82 -0
- data/spec/models/save_unit_spec.rb +164 -0
- data/spec/models/save_vendor_spec.rb +118 -0
- data/spec/models/save_work_order_spec.rb +92 -0
- data/spec/models/save_work_order_task_spec.rb +70 -0
- data/spec/models/split_paid_spec.rb +82 -0
- data/spec/models/split_pay_spec.rb +40 -0
- data/spec/models/task_spec.rb +106 -0
- data/spec/models/transaction_spec.rb +146 -0
- data/spec/models/unit_spec.rb +280 -0
- data/spec/models/update_lease_journal_entry_spec.rb +58 -0
- data/spec/models/vendor_spec.rb +208 -0
- data/spec/models/work_order_spec.rb +218 -0
- data/spec/spec_helper.rb +111 -0
- metadata +609 -0
@@ -0,0 +1,579 @@
|
|
1
|
+
=begin
|
2
|
+
#Open API, powered by Propertyware
|
3
|
+
|
4
|
+
#<script type=\"text/javascript\" src=\"https://buildium.atlassian.net/s/d41d8cd98f00b204e9800998ecf8427e-T/-raa8on/b/8/c95134bc67d3a521bb3f4331beb9b804/_/download/batch/com.atlassian.jira.collector.plugin.jira-issue-collector-plugin:issuecollector/com.atlassian.jira.collector.plugin.jira-issue-collector-plugin:issuecollector.js?locale=en-US&collectorId=e43cd15d\"></script> # Introduction Welcome to Propertyware’s API—a powerful, RESTful programming interface that lets you leverage valuable Propertyware data. ## Account Configuration Before you can use Propertyware’s API, you’ll need to make some tweaks to your account settings. <br /> ### Enabling the API In order to start creating your keys and making requests, you’ll need to enable the API. > **Tip:** You’ll need an administrator user role with access to ***Administration Setup > API Keys*** to set things up properly. **Let's Begin!** 1. Sign in to your [Propertyware](https://app.propertyware.com/pw/login.jsp) account from your browser. 2. Open the ***Setup*** page 3. On the left navigation bar, expand ***Administration Setup*** and then click ***API Keys***. If you are having issues accessing the API keys page within your account you can submit a [Support](#section/API-Overview/Support) request for assistance. ## API Keys Account-level API keys authenticate every request and keep things secure. API keys have two components: a “client ID” and a “secret”. * **Client IDs** are similar to usernames. They’re used to identify your Propertyware API key and are safe to share. * **Secrets** are similar to passwords. They must be kept confidential. Whenever you make a request, you’ll need the API key’s client ID and secret. If you forget it, make a mistake, or try to use information that’s linked to a deleted key, the API will return a `401` response code. > **Tip:** We compiled a list of best practices that detail how securely store API keys. [Give it a read](#section/Getting-Started/Keeping-API-Keys-Safe)! ## Creating API Keys Now that the Open API is enabled, you’ll be able to create API keys. You’re almost there! **How to create an API key** 1. On the API Keys page, click ***Create API Key***. A modal will appear. <p> <img src=\"APIKey_Page.JPG\"/> </p> <p> <img src=\"APIKey_New.JPG\"/> </p> 2. Enter a clear, memorable name and description for your API key. It’ll make it easier to locate the right key when you make a request. 3. Now, choose which pieces of Propertyware data you want this API key to have access to by selecting the corresponding radio buttons. Once finished, click **GENERATE KEY**. 4. You have successfully created an API key! The client id and secret associated to this key will be presented. <p> <img src=\"APIKey_Generate.JPG\"/> </p> > **Important:** This is your only chance to record the secret. Make sure it’s stored somewhere secure! If it’s forgotten, you’ll need to delete this key and start from scratch. You have now successfully created an API key and have everything you need to send requests to the Propertyware API! Before moving on to [making your first request](#section/Getting-Started/How-to-Make-a-Request) please review [Keeping API Keys Safe](#section/Getting-Started/Keeping-API-Keys-Safe) for an overview on securely storing your API keys. <br /> If you are having issues creating API keys you can submit a [Support](#section/API-Overview/Support) request for assistance. ## Keeping API Keys Safe Based on their permissions, API keys could have full access to your account’s Propertyware data. It’s important that you only grant access to trusted applications, securely record secrets, and consider a password manager to stay organized. ### Recommended Practices - Avoid hard-coding client IDs and secrets inside source files. - Avoid storing client IDs and secrets in any files that may be committed to source control, particularly cloud-based source control platforms. - Apply restrictions to client IDs and secrets shared with your staff. You can restrict a key to particular Propertyware entities or to read-only access (GET resources only). - Avoid sharing client IDs and secrets across public, insecure platforms. - Establish a process to regularly recreate your client IDs and secrets from your Propertyware account. <br /> <br /> ## How to Make a Request You’ve done a great job setting up your account, Now, we’ll walk you through how to access your data. It’s very straightforward and should only take a few minutes! > **Tip:** Looking for the right HTTP client? If you’re just getting started, we recommend Postman. ### Let's Get Started! #### Step 1: Get Your API Key If you haven't yet done so, obtain your API key client ID and secret from your Propertyware account. Your API key is how the Propertyware API authenticates requests and ensures only you can access your data. #### Step 2: Install a HTTP client The Propertyware API supports any standard HTTP client. If you're looking for a user-friendly HTTP client application, we recommend [Postman](https://www.postman.com/product/api-client) – it allows you to access the Propertyware API without writing code. We’ll use Postman for our example below to demonstrate sending an API request. #### Step 3: Make a Sample Request Let's dive in and make a simple request to get all the [Buildings](#operation/getBuildingsUsingGET) in your account. This will confirm your connectivity to our platform and validate the keys you created on our website. Simply follow the instructions below. 1. Open the Postman application. 2. Open the *verb* menu and select **GET**. 3. Enter the request endpoint in the field next to GET. - Here’s the endpoint to get all buildings: https://api.propertyware.com/pw/api/rest/v1/buildings. 4. To authenticate the request, enter your `client ID`, your `secret` and your `organization iD` respectively in these request headers: - `x-propertyware-client-id` - `x-propertyware-client-secret` - `x-propertyware-system-id` _(organization id)_ The organization id uniquely identifies your Propertyware account and is an additional measure to enforce proper access to the correct data. ___Your client id and secret pair will only work with the organization it belongs to___. Your full request should look similar to the image below. <kbd><img src=\"request_example.png\" /></kbd> 5. Review the parameters of your request on last time. Once finished, click **Send**. 6. If successful, you should see a JSON response and a `200` HTTP status code. Congratulations! You've connected to the Propertyware API. You now have the knowledge required to make requests for any of our resources. If you've received an error response please review the JSON response message for a description of how to resolve the issue. You can also see more information about HTTP status codes in the [Response Codes](#section/API-Overview/Response-Codes) section. If you are still having trouble making a request after reviewing these sections please submit a [Support](#section/API-Overview/Support) request. # API Overview The Propertyware API is built upon standard REST conventions. It's designed to use consistent resource-oriented URLs, accept and return JSON-encoded messages, and use standard HTTP status codes and verbs. ## Base URL The base URL for production environment API requests is: `https://api.propertyware.com/pw/api/v1/rest` In order to ensure all requests and responses are secure between the API consumer and Propertyware servers, requests must be made using the `https` protocol. Any requests not made with the `https` protocol will be refused by the Propertyware API platform. > **Note:** URL paths are case-sensitive to stay consistent with common REST standards. If your request doesn’t align with the documented URL path, you’ll receive a `404` response code reminding you of this constraint. ## API Versioning The Propertyware API is version controlled. Versioning ensures backwards-incompatible changes to the API don’t impact any existing integrations. Propertyware uses only a major version nomenclature to manage changes. The current version of the Propertyware API is version 1. By specifying a version in the resource request URL, you'll get expected responses regardless of future changes to the API. Here's an example of calling version 1 of the retrieve all leases resource: `https://api.propertyware.com/pw/api/rest/v1/leases` Any request submitted without the version in the URL path will result in a `404` error response code. ### Releasing Changes to the API The Propertyware API will continue to evolve to ensure it meets the needs of our customers. Changes will be defined as either backwards-compatible or backwards-incompatible. We’ll provide advance notice for all API releases–regardless of the type of modifications being made. #### Backward-compatible Changes Backward-compatible changes are modifications to the API that shouldn't impact existing integrations. They'll apply to the current version of the API. Simply put: you won’t need to change the version to consume new changes like these. It's important as you develop against the Propertyware API that you ensure these types of changes don't impact your integration. Here's are examples of backward-compatible modifications. * Adding new API resources and/or endpoints. * Adding new optional request parameters to existing API methods. * Adding new properties to existing API responses and non-required properties for request messages. * Changing property order in existing API responses. All backward-compatible changes to the API will be documented in the [Changelog](#section/Changelog). #### Backwards-incompatible Changes When backwards-incompatible changes to the API occur, a new version of the API will be released. You’ll need to update the URL path to consume resources under the new API version. Backwards-incompatible changes include: * Removing a property from a request and/or response message. * Changing the name of a property in a message. * Adding a required parameter to a request message. * Changing existing enumeration values. New versions of the API will have full reference documentation and an upgrade guide. ## Authentication The Propertyware API uses API key’s client IDs and secrets to authenticate requests. An organization ID, an API key client ID and secret must be passed in every request header using the following parameters: - `x-propertyware-client-id` - `x-propertyware-client-secret` - `x-propertyware-system-id` Failing to provide both of them in the request header will cause the API to return a `401` HTTP status code. <!-- ## Rate Limiting (FUTURE) Rate limits help us ensure consistent and reliable performance for all users, even during peak loads. That’s why we limit clients to **10 concurrent requests per second**. If your request rate violates that limit, a response code of `429` is returned. Simply retry the request after a short interval (~200ms). --> ## Bulk Request Options All top-level API resources support bulk fetches. For instance, you can retrieve all [Portfolios](#operation/getPortfoliosUsingGET). These resources also allow for filtering criteria. Each resource has descriptions of the filter criteria available. In addition to filtering, our API gives you the ability to control the returned data’s pagination and the sort order. ### Pagination Endpoints that return result sets allow for pagination using `limit` and `offset` request parameters to reduce the amount of data returned. The `limit` request parameter will cap the number of results that come back in the response. If you don't specify a `limit` value, a **default of 100 results** are returned. The maximum `limit` value is 500. If a `limit` value is specified greater than 500, it will be overridden to the default to 500. The `offset` request parameter indicates the record position within the resultset to start at when returning the results. The `offset` is zero-based and is inclusive. If no `offset` value is submitted it will default to 0. The total resultset count is returned in the HTTP Header `X-Total-Count` #### Pagination Example As an example, let's say we make a request to retrieve all rental properties with no paging parameters. Our response indicates in the `X-Total-Count` header that there are 150 total rental properties. We want to get only the last 50 results so we would submit a request with the `offset` set to 100 and the `limit` set to 50. > **Note:** The `limit` and `offset` parameter names are case-sensitive. If they aren't formatted correctly, the API will return a `404` HTTP status code. ### Sorting Results You can specify the sort order of returned data by assigning properties from the returned object to the `orderby` parameter in the querystring. For example: ``` orderby=name ``` By default, the sort is performed in ascending order. To specify sort order, use \"asc\" for ascending or \"desc\" for descending. For example: ``` orderby=name desc ``` Additionally, you can sort by multiple properties by comma separating the properties. For example: ``` orderby=abbreviation asc,name desc ``` > **Note:** While the `orderby` parameter is case-sensitive, the properties specified in the `orderby` value aren't. ## Response Codes The Propertyware API supports standard HTTP status codes. |Response Code |Description | |--|--| |200 OK | Everything worked as expected. | |400 Bad Request | The request was unacceptable, often due to missing a required parameter.| |401 Unauthorized|The API client ID and secret weren’t provided or they’re no longer valid. Be sure that the client ID and secret combination are correct and they are still active.| |403 Forbidden|The API key doesn't have permission to perform the request. This could be due to authorization for the given endpoint or an inability to access given entities within the platform (e.g. properties). |404 Not Found|The requested resource doesn't exist.| |415 Unsupported Media Type |Ensure you have the appropriate content-type header value set on your request. Each resource is documented with media type(s) that are accepted.| |429 Too Many Requests |Too many requests against the API too quickly. We recommend an exponential backoff of your requests.| |500 and above - Server Errors|Something went wrong on Propertyware's end. Review the JSON response message for more details about the error.| ## API Date Format * For all request and response date fields allowing ISO date format: YYYY-MM-DD (e.g.2019-08-24). * For all request and response dateAndTime fields format is allowing: YYYY-MM-dd'T'HH:mm:ssXXX (e.g.2022-06-28T08:47:13Z). ## Support If you are unable to resolve your issue after reviewing the API documentation our support team can assist you. # Changelog ### 2023-07-11 * Retrieve all documents * Retrieve a document * Download a document ### 2023-06-10 * Lease contacts are included in Retrieve all leases API response * Lease contacts are included in Retrieve a lease API response ### 2023-04-24 * Bulk Insertion: Prospects * Bulk Insertion: Bill Payments ### 2023-04-11 * Bulk Insertion: Portfolios * Bulk Insertion: Buildings * Bulk Insertion: Units ### 2023-03-19 * Bulk insertion: contacts ### 2023-03-08 * Bulk insertion: bills ### 2023-01-24 * Custom fields in \"Get all\" endpoints * Prospect creation * Bill removals ### 2022-10-25 * API Read operations for non-financial data ### 2022-09-21 * API Read operations available
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0
|
7
|
+
Contact: support@propertyware.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 6.6.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for Propertyware::LeasesApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'LeasesApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = Propertyware::LeasesApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of LeasesApi' do
|
30
|
+
it 'should create an instance of LeasesApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(Propertyware::LeasesApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for add_comment_to_lease_conversation
|
36
|
+
# Add comment to a lease conversation (BETA)
|
37
|
+
# <p class=\"betaError\"><b>Note: </b>Write access is only available to customers who have opted in to our beta program. Please reach out to support if you'd like to be included.</p> Adds comment to a lease conversation.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">LEASES</span> - <code>Write</code>
|
38
|
+
# @param lease_id Lease ID
|
39
|
+
# @param conversation_id Conversation ID
|
40
|
+
# @param save_comment saveComment
|
41
|
+
# @param [Hash] opts the optional parameters
|
42
|
+
# @return [Comment]
|
43
|
+
describe 'add_comment_to_lease_conversation test' do
|
44
|
+
it 'should work' do
|
45
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
49
|
+
# unit tests for create_journal_entry
|
50
|
+
# Create a lease journal entry (BETA)
|
51
|
+
# <p class=\"betaError\"><b>Note: </b>Write access is only available to customers who have opted in to our beta program. Please reach out to support if you'd like to be included.</p> Creates a lease journal entry.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">LEASES</span> - <code>Write</code>
|
52
|
+
# @param save_lease_journal_entry saveLeaseJournalEntry
|
53
|
+
# @param [Hash] opts the optional parameters
|
54
|
+
# @return [JournalEntry]
|
55
|
+
describe 'create_journal_entry test' do
|
56
|
+
it 'should work' do
|
57
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
61
|
+
# unit tests for create_lease
|
62
|
+
# Create a lease (BETA)
|
63
|
+
# <p class=\"betaError\"><b>Note: </b>Write access is only available to customers who have opted in to our beta program. Please reach out to support if you'd like to be included.</p> Creates a new lease.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">LEASES</span> - <code>Write</code>
|
64
|
+
# @param save_lease saveLease
|
65
|
+
# @param [Hash] opts the optional parameters
|
66
|
+
# @return [Lease]
|
67
|
+
describe 'create_lease test' do
|
68
|
+
it 'should work' do
|
69
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
70
|
+
end
|
71
|
+
end
|
72
|
+
|
73
|
+
# unit tests for create_lease_adjustment
|
74
|
+
# Create a lease adjustment (BETA)
|
75
|
+
# <p class=\"betaError\"><b>Note: </b>Write access is only available to customers who have opted in to our beta program. Please reach out to support if you'd like to be included.</p> Creates a lease adjustment.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">LEASES</span> - <code>Write</code>
|
76
|
+
# @param save_adjustment saveAdjustment
|
77
|
+
# @param [Hash] opts the optional parameters
|
78
|
+
# @return [ChargeTx]
|
79
|
+
describe 'create_lease_adjustment test' do
|
80
|
+
it 'should work' do
|
81
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
85
|
+
# unit tests for create_lease_charge
|
86
|
+
# Create a lease charge (BETA)
|
87
|
+
# <p class=\"betaError\"><b>Note: </b>Write access is only available to customers who have opted in to our beta program. Please reach out to support if you'd like to be included.</p> Creates a lease charge.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">LEASES</span> - <code>Write</code>
|
88
|
+
# @param save_charge saveCharge
|
89
|
+
# @param [Hash] opts the optional parameters
|
90
|
+
# @return [ChargeTx]
|
91
|
+
describe 'create_lease_charge test' do
|
92
|
+
it 'should work' do
|
93
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
94
|
+
end
|
95
|
+
end
|
96
|
+
|
97
|
+
# unit tests for create_lease_charges
|
98
|
+
# Create lease charges in bulk (BETA)
|
99
|
+
# <p class=\"betaError\"><b>Note: </b>Write access is only available to customers who have opted in to our beta program. Please reach out to support if you'd like to be included.</p> Creates lease charges in bulk.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">LEASES</span> - <code>Write</code>
|
100
|
+
# @param save_charge saveCharge
|
101
|
+
# @param [Hash] opts the optional parameters
|
102
|
+
# @return [Array<RESTAPIBulkSuccessResponse>]
|
103
|
+
describe 'create_lease_charges test' do
|
104
|
+
it 'should work' do
|
105
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
106
|
+
end
|
107
|
+
end
|
108
|
+
|
109
|
+
# unit tests for create_lease_conversation
|
110
|
+
# Create a lease conversation (BETA)
|
111
|
+
# <p class=\"betaError\"><b>Note: </b>Write access is only available to customers who have opted in to our beta program. Please reach out to support if you'd like to be included.</p> Creates a specific lease conversation.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">LEASES</span> - <code>Write</code>
|
112
|
+
# @param lease_id Lease ID
|
113
|
+
# @param save_conversation saveConversation
|
114
|
+
# @param [Hash] opts the optional parameters
|
115
|
+
# @return [Conversation]
|
116
|
+
describe 'create_lease_conversation test' do
|
117
|
+
it 'should work' do
|
118
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
119
|
+
end
|
120
|
+
end
|
121
|
+
|
122
|
+
# unit tests for create_lease_discount
|
123
|
+
# Create a lease discount (BETA)
|
124
|
+
# <p class=\"betaError\"><b>Note: </b>Write access is only available to customers who have opted in to our beta program. Please reach out to support if you'd like to be included.</p> Creates a lease discount.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">LEASES</span> - <code>Write</code>
|
125
|
+
# @param save_discount saveDiscount
|
126
|
+
# @param [Hash] opts the optional parameters
|
127
|
+
# @return [Discount]
|
128
|
+
describe 'create_lease_discount test' do
|
129
|
+
it 'should work' do
|
130
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
131
|
+
end
|
132
|
+
end
|
133
|
+
|
134
|
+
# unit tests for create_lease_payment
|
135
|
+
# Create a lease payment (BETA)
|
136
|
+
# <p class=\"betaError\"><b>Note: </b>Write access is only available to customers who have opted in to our beta program. Please reach out to support if you'd like to be included.</p> Creates a lease payment.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">LEASES</span> - <code>Write</code>
|
137
|
+
# @param save_payment savePayment
|
138
|
+
# @param [Hash] opts the optional parameters
|
139
|
+
# @return [Payment]
|
140
|
+
describe 'create_lease_payment test' do
|
141
|
+
it 'should work' do
|
142
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
143
|
+
end
|
144
|
+
end
|
145
|
+
|
146
|
+
# unit tests for create_lease_refund
|
147
|
+
# Create a lease refund (BETA)
|
148
|
+
# <p class=\"betaError\"><b>Note: </b>Write access is only available to customers who have opted in to our beta program. Please reach out to support if you'd like to be included.</p> Creates a lease refund.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">LEASES</span> - <code>Write</code>
|
149
|
+
# @param save_refund saveRefund
|
150
|
+
# @param [Hash] opts the optional parameters
|
151
|
+
# @return [Refund]
|
152
|
+
describe 'create_lease_refund test' do
|
153
|
+
it 'should work' do
|
154
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
155
|
+
end
|
156
|
+
end
|
157
|
+
|
158
|
+
# unit tests for delete_lease
|
159
|
+
# Delete a lease (BETA)
|
160
|
+
# <p class=\"betaError\"><b>Note: </b>Write access is only available to customers who have opted in to our beta program. Please reach out to support if you'd like to be included.</p> Deletes a lease<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">LEASES</span> - <code>Delete</code>
|
161
|
+
# @param lease_id Lease ID
|
162
|
+
# @param [Hash] opts the optional parameters
|
163
|
+
# @return [ResponseEntity]
|
164
|
+
describe 'delete_lease test' do
|
165
|
+
it 'should work' do
|
166
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
167
|
+
end
|
168
|
+
end
|
169
|
+
|
170
|
+
# unit tests for delete_lease_conversation
|
171
|
+
# Delete a lease conversation (BETA)
|
172
|
+
# <p class=\"betaError\"><b>Note: </b>Write access is only available to customers who have opted in to our beta program. Please reach out to support if you'd like to be included.</p> Deletes a specific lease conversation.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">LEASES</span> - <code>Delete</code>
|
173
|
+
# @param lease_id Lease ID
|
174
|
+
# @param conversation_id Conversation ID
|
175
|
+
# @param [Hash] opts the optional parameters
|
176
|
+
# @return [ResponseEntity]
|
177
|
+
describe 'delete_lease_conversation test' do
|
178
|
+
it 'should work' do
|
179
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
180
|
+
end
|
181
|
+
end
|
182
|
+
|
183
|
+
# unit tests for get_lease
|
184
|
+
# Retrieve a lease
|
185
|
+
# Retrieves a specific lease.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">LEASES</span> - <code>Read</code>
|
186
|
+
# @param lease_id Lease ID
|
187
|
+
# @param [Hash] opts the optional parameters
|
188
|
+
# @option opts [Boolean] :include_custom_fields includeCustomFields
|
189
|
+
# @return [Lease]
|
190
|
+
describe 'get_lease test' do
|
191
|
+
it 'should work' do
|
192
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
193
|
+
end
|
194
|
+
end
|
195
|
+
|
196
|
+
# unit tests for get_lease_adjustments
|
197
|
+
# Retrieve all the adjustments
|
198
|
+
# Retrieves a list of adjustments.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">GL ACCOUNTS</span> - <code>Read</code> <br/><br/><b>Sortable by:</b> <code>leaseid</code>, <code>postdate</code>, <code>id</code>
|
199
|
+
# @param [Hash] opts the optional parameters
|
200
|
+
# @option opts [Integer] :offset `offset` indicates the position of the first record to return. The offset is zero-based and the default is 0.
|
201
|
+
# @option opts [Integer] :limit `limit` indicates the maximum number of results to be returned in the response. `limit` can range between 1 and 500 and the default is 100.
|
202
|
+
# @option opts [Time] :last_modified_date_time_start Filters results to any item modified on or after the date time specified.
|
203
|
+
# @option opts [Time] :last_modified_date_time_end Filters results to any item modified on or prior to the date time specified.
|
204
|
+
# @option opts [String] :orderby Indicates the field(s) and direction to sort the results in the response.
|
205
|
+
# @option opts [Date] :post_date_start Filters results to any transaction with a start date on or after the date specified.
|
206
|
+
# @option opts [Date] :post_date_end Filters results to any transaction with a start date on or prior to the date specified.
|
207
|
+
# @option opts [Integer] :portfolio_id Filters results associated with a specific portfolio.
|
208
|
+
# @option opts [Integer] :lease_id Filters results with Lease ID.
|
209
|
+
# @option opts [String] :status Filters results to with Lease Status.
|
210
|
+
# @return [Array<Transaction>]
|
211
|
+
describe 'get_lease_adjustments test' do
|
212
|
+
it 'should work' do
|
213
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
214
|
+
end
|
215
|
+
end
|
216
|
+
|
217
|
+
# unit tests for get_lease_auto_charges
|
218
|
+
# Retrieve all lease auto charges
|
219
|
+
# Retrieves all the auto charges of a lease.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">LEASES</span> - <code>Read</code>
|
220
|
+
# @param lease_id Lease ID
|
221
|
+
# @param [Hash] opts the optional parameters
|
222
|
+
# @return [Array<Charge>]
|
223
|
+
describe 'get_lease_auto_charges test' do
|
224
|
+
it 'should work' do
|
225
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
226
|
+
end
|
227
|
+
end
|
228
|
+
|
229
|
+
# unit tests for get_lease_auto_e_payments
|
230
|
+
# Retrieve all lease auto ePayments (BETA)
|
231
|
+
# <p class=\"betaWarning\"><b>Note: </b>This operation is still in beta and might be subject to breaking changes. Production integrations should be avoided at this stage.</p> Retrieves all the auto ePayments of a lease.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">LEASES</span> - <code>Read</code>
|
232
|
+
# @param lease_id Lease ID
|
233
|
+
# @param [Hash] opts the optional parameters
|
234
|
+
# @return [AutoPayment]
|
235
|
+
describe 'get_lease_auto_e_payments test' do
|
236
|
+
it 'should work' do
|
237
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
238
|
+
end
|
239
|
+
end
|
240
|
+
|
241
|
+
# unit tests for get_lease_auto_journal_entries
|
242
|
+
# Retrieve all lease auto journal entries (BETA)
|
243
|
+
# <p class=\"betaWarning\"><b>Note: </b>This operation is still in beta and might be subject to breaking changes. Production integrations should be avoided at this stage.</p> Retrieves all the auto journal entries of a lease.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">LEASES</span> - <code>Read</code>
|
244
|
+
# @param lease_id Lease ID
|
245
|
+
# @param [Hash] opts the optional parameters
|
246
|
+
# @return [AutoJournalEntry]
|
247
|
+
describe 'get_lease_auto_journal_entries test' do
|
248
|
+
it 'should work' do
|
249
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
250
|
+
end
|
251
|
+
end
|
252
|
+
|
253
|
+
# unit tests for get_lease_charges
|
254
|
+
# Retrieve all the lease charges
|
255
|
+
# Retrieves a list of lease charges.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">LEASES</span> - <code>Read</code> <br/><br/><b>Sortable by:</b> <code>leaseid</code>, <code>postdate</code>, <code>createddate</code>, <code>lastmodifieddatetime</code>, <code>id</code>
|
256
|
+
# @param [Hash] opts the optional parameters
|
257
|
+
# @option opts [Integer] :offset `offset` indicates the position of the first record to return. The offset is zero-based and the default is 0.
|
258
|
+
# @option opts [Integer] :limit `limit` indicates the maximum number of results to be returned in the response. `limit` can range between 1 and 500 and the default is 100.
|
259
|
+
# @option opts [Time] :last_modified_date_time_start Filters results to any item modified on or after the date time specified.
|
260
|
+
# @option opts [Time] :last_modified_date_time_end Filters results to any item modified on or prior to the date time specified.
|
261
|
+
# @option opts [String] :orderby Indicates the field(s) and direction to sort the results in the response.
|
262
|
+
# @option opts [Date] :post_date_start Filters results to any transaction with a start date on or after the date specified.
|
263
|
+
# @option opts [Date] :post_date_end Filters results to any transaction with a start date on or prior to the date specified.
|
264
|
+
# @option opts [Integer] :portfolio_id Filters results associated with a specific portfolio.
|
265
|
+
# @option opts [Integer] :lease_id Filters results with Lease ID.
|
266
|
+
# @option opts [String] :status Filters results to with Lease Status.
|
267
|
+
# @return [Array<ChargeTx>]
|
268
|
+
describe 'get_lease_charges test' do
|
269
|
+
it 'should work' do
|
270
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
271
|
+
end
|
272
|
+
end
|
273
|
+
|
274
|
+
# unit tests for get_lease_contacts
|
275
|
+
# Retrieve all lease contacts
|
276
|
+
# Retrieves all the contacts of a lease.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">LEASES</span> - <code>Read</code>
|
277
|
+
# @param lease_id Lease ID
|
278
|
+
# @param [Hash] opts the optional parameters
|
279
|
+
# @option opts [Boolean] :include_contact_custom_fields_in_the_response_ Include contact custom fields in the response.
|
280
|
+
# @return [Array<Contact>]
|
281
|
+
describe 'get_lease_contacts test' do
|
282
|
+
it 'should work' do
|
283
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
284
|
+
end
|
285
|
+
end
|
286
|
+
|
287
|
+
# unit tests for get_lease_conversation
|
288
|
+
# Retrieve a lease conversation
|
289
|
+
# Retrieves a specific lease conversation.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">LEASES</span> - <code>Read</code>
|
290
|
+
# @param lease_id Lease ID
|
291
|
+
# @param conversation_id Conversation ID
|
292
|
+
# @param [Hash] opts the optional parameters
|
293
|
+
# @return [Conversation]
|
294
|
+
describe 'get_lease_conversation test' do
|
295
|
+
it 'should work' do
|
296
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
297
|
+
end
|
298
|
+
end
|
299
|
+
|
300
|
+
# unit tests for get_lease_conversations
|
301
|
+
# Retrieve all lease conversations
|
302
|
+
# Retrieves all the conversations of a lease.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">LEASES</span> - <code>Read</code> <br/><br/><b>Sortable by:</b> <code>createddate</code>, <code>lastmodifieddatetime</code>, <code>id</code>
|
303
|
+
# @param lease_id Lease ID
|
304
|
+
# @param [Hash] opts the optional parameters
|
305
|
+
# @option opts [Integer] :offset `offset` indicates the position of the first record to return. The offset is zero-based and the default is 0.
|
306
|
+
# @option opts [Integer] :limit `limit` indicates the maximum number of results to be returned in the response. `limit` can range between 1 and 500 and the default is 100.
|
307
|
+
# @option opts [Time] :last_modified_date_time_start Filters results to any item modified on or after the date time specified.
|
308
|
+
# @option opts [Time] :last_modified_date_time_end Filters results to any item modified on or prior to the date time specified.
|
309
|
+
# @option opts [String] :orderby Indicates the field(s) and direction to sort the results in the response.
|
310
|
+
# @option opts [String] :type Filters results by the conversation type.
|
311
|
+
# @return [Array<Conversation>]
|
312
|
+
describe 'get_lease_conversations test' do
|
313
|
+
it 'should work' do
|
314
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
315
|
+
end
|
316
|
+
end
|
317
|
+
|
318
|
+
# unit tests for get_lease_custom_fields
|
319
|
+
# Retrieve all lease custom fields
|
320
|
+
# Retrieves all the custom fields of a lease.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">LEASES</span> - <code>Read</code>
|
321
|
+
# @param lease_id Lease ID
|
322
|
+
# @param [Hash] opts the optional parameters
|
323
|
+
# @return [Array<CustomField>]
|
324
|
+
describe 'get_lease_custom_fields test' do
|
325
|
+
it 'should work' do
|
326
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
327
|
+
end
|
328
|
+
end
|
329
|
+
|
330
|
+
# unit tests for get_lease_discounts
|
331
|
+
# Retrieve all the lease discounts
|
332
|
+
# Retrieves a list of lease discounts<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">LEASES</span> - <code>Read</code> <br/><br/><b>Sortable by:</b> <code>leaseid</code>, <code>postdate</code>, <code>createddate</code>, <code>lastmodifieddatetime</code>, <code>id</code>
|
333
|
+
# @param [Hash] opts the optional parameters
|
334
|
+
# @option opts [Integer] :offset `offset` indicates the position of the first record to return. The offset is zero-based and the default is 0.
|
335
|
+
# @option opts [Integer] :limit `limit` indicates the maximum number of results to be returned in the response. `limit` can range between 1 and 500 and the default is 100.
|
336
|
+
# @option opts [Time] :last_modified_date_time_start Filters results to any item modified on or after the date time specified.
|
337
|
+
# @option opts [Time] :last_modified_date_time_end Filters results to any item modified on or prior to the date time specified.
|
338
|
+
# @option opts [String] :orderby Indicates the field(s) and direction to sort the results in the response.
|
339
|
+
# @option opts [Integer] :lease_id Filters results to any LeaseID.
|
340
|
+
# @option opts [Date] :post_date_start Filters results to any discount with a start date on or after the date specified.
|
341
|
+
# @option opts [Date] :post_date_end Filters results to any discount with a start date on or prior to the date specified.
|
342
|
+
# @return [Array<Transaction>]
|
343
|
+
describe 'get_lease_discounts test' do
|
344
|
+
it 'should work' do
|
345
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
346
|
+
end
|
347
|
+
end
|
348
|
+
|
349
|
+
# unit tests for get_lease_documents
|
350
|
+
# Retrieve all lease documents
|
351
|
+
# Retrieves all the documents of a lease.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">LEASES</span> - <code>Read</code>
|
352
|
+
# @param lease_id Lease ID
|
353
|
+
# @param [Hash] opts the optional parameters
|
354
|
+
# @return [Array<Document>]
|
355
|
+
describe 'get_lease_documents test' do
|
356
|
+
it 'should work' do
|
357
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
358
|
+
end
|
359
|
+
end
|
360
|
+
|
361
|
+
# unit tests for get_lease_journal_entry
|
362
|
+
# Retrieve all lease journal entries
|
363
|
+
# Retrieves a specific lease journal entries.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">LEASES</span> - <code>Read</code>
|
364
|
+
# @param lease_id Lease ID
|
365
|
+
# @param [Hash] opts the optional parameters
|
366
|
+
# @option opts [Integer] :offset `offset` indicates the position of the first record to return. The offset is zero-based and the default is 0.
|
367
|
+
# @option opts [Integer] :limit `limit` indicates the maximum number of results to be returned in the response. `limit` can range between 1 and 500 and the default is 100.
|
368
|
+
# @option opts [Time] :last_modified_date_time_start Filters results to any item modified on or after the date time specified.
|
369
|
+
# @option opts [Time] :last_modified_date_time_end Filters results to any item modified on or prior to the date time specified.
|
370
|
+
# @option opts [String] :orderby Indicates the field(s) and direction to sort the results in the response.
|
371
|
+
# @option opts [Integer] :lease_id2 Filters results to transactions associated with a specific lease.
|
372
|
+
# @option opts [Date] :post_date_start Filters results to any transaction with post date on or after to the date specified.
|
373
|
+
# @option opts [Date] :post_date_end Filters results to any transaction with post date on or prior to the date specified.
|
374
|
+
# @return [JournalEntry]
|
375
|
+
describe 'get_lease_journal_entry test' do
|
376
|
+
it 'should work' do
|
377
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
378
|
+
end
|
379
|
+
end
|
380
|
+
|
381
|
+
# unit tests for get_lease_late_fee
|
382
|
+
# Retrieve the lease late fee rule
|
383
|
+
# Retrieves the lease late fee rule.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">LEASES</span> - <code>Read</code>
|
384
|
+
# @param lease_id Lease ID
|
385
|
+
# @param [Hash] opts the optional parameters
|
386
|
+
# @return [LateFeeRule]
|
387
|
+
describe 'get_lease_late_fee test' do
|
388
|
+
it 'should work' do
|
389
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
390
|
+
end
|
391
|
+
end
|
392
|
+
|
393
|
+
# unit tests for get_lease_notes
|
394
|
+
# Retrieve all lease notes
|
395
|
+
# Retrieves all the notes of a lease.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">LEASES</span> - <code>Read</code>
|
396
|
+
# @param lease_id Lease ID
|
397
|
+
# @param [Hash] opts the optional parameters
|
398
|
+
# @return [Array<Note>]
|
399
|
+
describe 'get_lease_notes test' do
|
400
|
+
it 'should work' do
|
401
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
402
|
+
end
|
403
|
+
end
|
404
|
+
|
405
|
+
# unit tests for get_lease_payments
|
406
|
+
# Retrieve all the lease payments
|
407
|
+
# Retrieves a list of lease payments.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">LEASES</span> - <code>Read</code> <br/><br/><b>Sortable by:</b> <code>leaseid</code>, <code>postdate</code>, <code>createddate</code>, <code>lastmodifieddatetime</code>, <code>id</code>
|
408
|
+
# @param [Hash] opts the optional parameters
|
409
|
+
# @option opts [Integer] :offset `offset` indicates the position of the first record to return. The offset is zero-based and the default is 0.
|
410
|
+
# @option opts [Integer] :limit `limit` indicates the maximum number of results to be returned in the response. `limit` can range between 1 and 500 and the default is 100.
|
411
|
+
# @option opts [Time] :last_modified_date_time_start Filters results to any item modified on or after the date time specified.
|
412
|
+
# @option opts [Time] :last_modified_date_time_end Filters results to any item modified on or prior to the date time specified.
|
413
|
+
# @option opts [String] :orderby Indicates the field(s) and direction to sort the results in the response.
|
414
|
+
# @option opts [Date] :post_date_start Filters results to any transaction with a start date on or after the date specified.
|
415
|
+
# @option opts [Date] :post_date_end Filters results to any transaction with a start date on or prior to the date specified.
|
416
|
+
# @option opts [Integer] :portfolio_id Filters results associated with a specific portfolio.
|
417
|
+
# @option opts [Integer] :lease_id Filters results with Lease ID.
|
418
|
+
# @option opts [String] :status Filters results to with Lease Status.
|
419
|
+
# @return [Array<Payment>]
|
420
|
+
describe 'get_lease_payments test' do
|
421
|
+
it 'should work' do
|
422
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
423
|
+
end
|
424
|
+
end
|
425
|
+
|
426
|
+
# unit tests for get_lease_refunds
|
427
|
+
# Retrieve all the tenant refunds
|
428
|
+
# Retrieves a list of tenant refunds.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">LEASES</span> - <code>Read</code> <br/><br/><b>Sortable by:</b> <code>leaseid</code>, <code>postdate</code>, <code>createddate</code>, <code>lastmodifieddatetime</code>, <code>id</code>
|
429
|
+
# @param [Hash] opts the optional parameters
|
430
|
+
# @option opts [Integer] :offset `offset` indicates the position of the first record to return. The offset is zero-based and the default is 0.
|
431
|
+
# @option opts [Integer] :limit `limit` indicates the maximum number of results to be returned in the response. `limit` can range between 1 and 500 and the default is 100.
|
432
|
+
# @option opts [Time] :last_modified_date_time_start Filters results to any item modified on or after the date time specified.
|
433
|
+
# @option opts [Time] :last_modified_date_time_end Filters results to any item modified on or prior to the date time specified.
|
434
|
+
# @option opts [String] :orderby Indicates the field(s) and direction to sort the results in the response.
|
435
|
+
# @option opts [Date] :post_date_start Filters results to any transaction with a start date on or after the date specified.
|
436
|
+
# @option opts [Date] :post_date_end Filters results to any transaction with a start date on or prior to the date specified.
|
437
|
+
# @option opts [Integer] :portfolio_id Filters results associated with a specific portfolio.
|
438
|
+
# @option opts [Integer] :lease_id Filters results with Lease ID.
|
439
|
+
# @option opts [String] :status Filters results to with Lease Status.
|
440
|
+
# @return [Array<Refund>]
|
441
|
+
describe 'get_lease_refunds test' do
|
442
|
+
it 'should work' do
|
443
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
444
|
+
end
|
445
|
+
end
|
446
|
+
|
447
|
+
# unit tests for get_lease_work_orders
|
448
|
+
# Retrieve all lease work orders
|
449
|
+
# Retrieves all the work orders of a lease.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">LEASES</span> - <code>Read</code>
|
450
|
+
# @param lease_id Lease ID
|
451
|
+
# @param [Hash] opts the optional parameters
|
452
|
+
# @return [Array<WorkOrder>]
|
453
|
+
describe 'get_lease_work_orders test' do
|
454
|
+
it 'should work' do
|
455
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
456
|
+
end
|
457
|
+
end
|
458
|
+
|
459
|
+
# unit tests for get_leases
|
460
|
+
# Retrieve all leases
|
461
|
+
# Retrieves a list of leases.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">LEASES</span> - <code>Read</code> <br/><br/><b>Sortable by:</b> <code>startdate</code>, <code>idnumber</code>, <code>scheduledmoveoutdate</code>, <code>enddate</code>, <code>lastmodifieddatetime</code>, <code>status</code>, <code>moveoutdate</code>, <code>id</code>, <code>moveindate</code>
|
462
|
+
# @param [Hash] opts the optional parameters
|
463
|
+
# @option opts [Integer] :offset `offset` indicates the position of the first record to return. The offset is zero-based and the default is 0.
|
464
|
+
# @option opts [Integer] :limit `limit` indicates the maximum number of results to be returned in the response. `limit` can range between 1 and 500 and the default is 100.
|
465
|
+
# @option opts [Time] :last_modified_date_time_start Filters results to any item modified on or after the date time specified.
|
466
|
+
# @option opts [Time] :last_modified_date_time_end Filters results to any item modified on or prior to the date time specified.
|
467
|
+
# @option opts [String] :orderby Indicates the field(s) and direction to sort the results in the response.
|
468
|
+
# @option opts [Date] :start_date_start Filters results to any lease with a start date on or after the date specified.
|
469
|
+
# @option opts [Date] :start_date_end Filters results to any lease with a start date on or prior to the date specified.
|
470
|
+
# @option opts [Date] :end_date_start Filters results to any lease with a end date on or after the date specified.
|
471
|
+
# @option opts [Date] :end_date_end Filters results to any lease with a end date on or prior to the date specified.
|
472
|
+
# @option opts [Date] :move_in_date_start Filters results to any lease with a move-in date on or after the date specified.
|
473
|
+
# @option opts [Date] :move_in_date_end Filters results to any lease with a move-in date on or prior to the date specified.
|
474
|
+
# @option opts [Date] :schedule_move_out_date_start Filters results to any lease with a move-out date on or after the date specified.
|
475
|
+
# @option opts [Date] :schedule_move_out_date_end Filters results to any lease with a move-out date on or prior to the date specified.
|
476
|
+
# @option opts [Integer] :portfolio_id Filters results to leases associated with a specific portfolio.
|
477
|
+
# @option opts [Integer] :building_id Filters results to leases associated with a specific building.
|
478
|
+
# @option opts [Integer] :unit_id Filters results to leases associated with a specific unit.
|
479
|
+
# @option opts [String] :status Filters results to inspections with a specific status.
|
480
|
+
# @option opts [Boolean] :include_custom_fields includeCustomFields
|
481
|
+
# @return [Array<Lease>]
|
482
|
+
describe 'get_leases test' do
|
483
|
+
it 'should work' do
|
484
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
485
|
+
end
|
486
|
+
end
|
487
|
+
|
488
|
+
# unit tests for update_lease
|
489
|
+
# Update a lease (BETA)
|
490
|
+
# <p class=\"betaError\"><b>Note: </b>Write access is only available to customers who have opted in to our beta program. Please reach out to support if you'd like to be included.</p> Updates an existing lease.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">LEASES</span> - <code>Write</code>
|
491
|
+
# @param lease_id Lease ID
|
492
|
+
# @param save_lease lease
|
493
|
+
# @param [Hash] opts the optional parameters
|
494
|
+
# @return [Lease]
|
495
|
+
describe 'update_lease test' do
|
496
|
+
it 'should work' do
|
497
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
498
|
+
end
|
499
|
+
end
|
500
|
+
|
501
|
+
# unit tests for update_lease_adjustment
|
502
|
+
# Update a lease adjustment (BETA)
|
503
|
+
# <p class=\"betaError\"><b>Note: </b>Write access is only available to customers who have opted in to our beta program. Please reach out to support if you'd like to be included.</p> Updates an lease adjustment.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">LEASES</span> - <code>Write</code>
|
504
|
+
# @param adjustment_id Adjustment ID
|
505
|
+
# @param save_adjustment saveAdjustment
|
506
|
+
# @param [Hash] opts the optional parameters
|
507
|
+
# @return [ChargeTx]
|
508
|
+
describe 'update_lease_adjustment test' do
|
509
|
+
it 'should work' do
|
510
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
511
|
+
end
|
512
|
+
end
|
513
|
+
|
514
|
+
# unit tests for update_lease_charge
|
515
|
+
# Update a lease charge (BETA)
|
516
|
+
# <p class=\"betaError\"><b>Note: </b>Write access is only available to customers who have opted in to our beta program. Please reach out to support if you'd like to be included.</p> Updates a lease charge.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">LEASES</span> - <code>Write</code>
|
517
|
+
# @param charge_id Charge ID
|
518
|
+
# @param save_charge saveCharge
|
519
|
+
# @param [Hash] opts the optional parameters
|
520
|
+
# @return [ChargeTx]
|
521
|
+
describe 'update_lease_charge test' do
|
522
|
+
it 'should work' do
|
523
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
524
|
+
end
|
525
|
+
end
|
526
|
+
|
527
|
+
# unit tests for update_lease_discount
|
528
|
+
# Updates a lease Discount (BETA)
|
529
|
+
# <p class=\"betaError\"><b>Note: </b>Write access is only available to customers who have opted in to our beta program. Please reach out to support if you'd like to be included.</p> Updates a lease Discount.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">LEASES</span> - <code>Write</code>
|
530
|
+
# @param discount_id Discount ID
|
531
|
+
# @param save_discount saveDiscount
|
532
|
+
# @param [Hash] opts the optional parameters
|
533
|
+
# @return [Discount]
|
534
|
+
describe 'update_lease_discount test' do
|
535
|
+
it 'should work' do
|
536
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
537
|
+
end
|
538
|
+
end
|
539
|
+
|
540
|
+
# unit tests for update_lease_journal_entry
|
541
|
+
# Update a lease journal entry (BETA)
|
542
|
+
# <p class=\"betaError\"><b>Note: </b>Write access is only available to customers who have opted in to our beta program. Please reach out to support if you'd like to be included.</p> Updates a lease journal entry.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">LEASES</span> - <code>Write</code> <br/><br/><b>Sortable by:</b> <code>postdate</code>, <code>createddate</code>, <code>lastmodifieddatetime</code>, <code>id</code>
|
543
|
+
# @param journalentry_id Journal Entry ID
|
544
|
+
# @param update_lease_journal_entry updateLeaseJournalEntry
|
545
|
+
# @param [Hash] opts the optional parameters
|
546
|
+
# @return [JournalEntry]
|
547
|
+
describe 'update_lease_journal_entry test' do
|
548
|
+
it 'should work' do
|
549
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
550
|
+
end
|
551
|
+
end
|
552
|
+
|
553
|
+
# unit tests for update_lease_payment
|
554
|
+
# Update a lease payment (BETA)
|
555
|
+
# <p class=\"betaError\"><b>Note: </b>Write access is only available to customers who have opted in to our beta program. Please reach out to support if you'd like to be included.</p> Updates a lease payment.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">LEASES</span> - <code>Write</code>
|
556
|
+
# @param entity_id Lease Payment ID
|
557
|
+
# @param save_payment savePayment
|
558
|
+
# @param [Hash] opts the optional parameters
|
559
|
+
# @return [Payment]
|
560
|
+
describe 'update_lease_payment test' do
|
561
|
+
it 'should work' do
|
562
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
563
|
+
end
|
564
|
+
end
|
565
|
+
|
566
|
+
# unit tests for update_lease_refund
|
567
|
+
# Update a lease refund (BETA)
|
568
|
+
# <p class=\"betaError\"><b>Note: </b>Write access is only available to customers who have opted in to our beta program. Please reach out to support if you'd like to be included.</p> Update an lease refund.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">LEASES</span> - <code>Write</code>
|
569
|
+
# @param refund_id Refund ID
|
570
|
+
# @param save_refund saveRefund
|
571
|
+
# @param [Hash] opts the optional parameters
|
572
|
+
# @return [Refund]
|
573
|
+
describe 'update_lease_refund test' do
|
574
|
+
it 'should work' do
|
575
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
576
|
+
end
|
577
|
+
end
|
578
|
+
|
579
|
+
end
|