propertyware 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (392) hide show
  1. checksums.yaml +7 -0
  2. data/.github/workflows/ci.yml +27 -0
  3. data/.github/workflows/publish.yml +48 -0
  4. data/.gitignore +39 -0
  5. data/.openapi-generator/FILES +375 -0
  6. data/.openapi-generator/VERSION +1 -0
  7. data/.openapi-generator/templates/ruby-client/gemspec.mustache +37 -0
  8. data/.openapi-generator/templates/ruby-client/partial_model_generic.mustache +371 -0
  9. data/.openapi-generator/templates/ruby-client/rubocop.mustache +124 -0
  10. data/.openapi-generator-ignore +23 -0
  11. data/.rspec +2 -0
  12. data/.rubocop.yml +124 -0
  13. data/CUSTOMIZATIONS.md +11 -0
  14. data/DOCS.md +673 -0
  15. data/Gemfile +9 -0
  16. data/Gemfile.lock +76 -0
  17. data/README.md +93 -0
  18. data/Rakefile +10 -0
  19. data/bin/CUSTOMIZATIONS.md +11 -0
  20. data/bin/README.md +93 -0
  21. data/bin/config.yml +7 -0
  22. data/bin/fix_json.rb +59 -0
  23. data/bin/propertyware.json +1 -0
  24. data/bin/rebuild.sh +31 -0
  25. data/docs/Account.md +84 -0
  26. data/docs/AccountingApi.md +1235 -0
  27. data/docs/Address.md +28 -0
  28. data/docs/Amenity.md +24 -0
  29. data/docs/AutoJournalEntry.md +46 -0
  30. data/docs/AutoPayment.md +42 -0
  31. data/docs/Bank.md +52 -0
  32. data/docs/BankDeposit.md +32 -0
  33. data/docs/BasicVendor.md +40 -0
  34. data/docs/Bill.md +54 -0
  35. data/docs/BillPaid.md +24 -0
  36. data/docs/BillPay.md +20 -0
  37. data/docs/BillPayment.md +46 -0
  38. data/docs/BillSplit.md +42 -0
  39. data/docs/BillsApi.md +1391 -0
  40. data/docs/Building.md +116 -0
  41. data/docs/BuildingsApi.md +1037 -0
  42. data/docs/Campaign.md +60 -0
  43. data/docs/CampaignSource.md +26 -0
  44. data/docs/Charge.md +36 -0
  45. data/docs/ChargeTx.md +52 -0
  46. data/docs/Check.md +48 -0
  47. data/docs/CheckSplit.md +30 -0
  48. data/docs/Comment.md +28 -0
  49. data/docs/Contact.md +74 -0
  50. data/docs/ContactsApi.md +783 -0
  51. data/docs/Conversation.md +36 -0
  52. data/docs/CreditCardAccount.md +18 -0
  53. data/docs/CurrentAsset.md +30 -0
  54. data/docs/CurrentLiability.md +30 -0
  55. data/docs/CustomField.md +24 -0
  56. data/docs/Discount.md +40 -0
  57. data/docs/Document.md +40 -0
  58. data/docs/DocumentsApi.md +267 -0
  59. data/docs/Entry.md +34 -0
  60. data/docs/Equity.md +32 -0
  61. data/docs/ErrorResponse.md +22 -0
  62. data/docs/Expense.md +32 -0
  63. data/docs/GLItem.md +40 -0
  64. data/docs/HealthCheckApi.md +86 -0
  65. data/docs/Income.md +34 -0
  66. data/docs/Inspection.md +46 -0
  67. data/docs/InspectionArea.md +22 -0
  68. data/docs/InspectionItem.md +24 -0
  69. data/docs/InspectionsApi.md +193 -0
  70. data/docs/JournalEntry.md +36 -0
  71. data/docs/JournalEntrySplit.md +24 -0
  72. data/docs/JournalEntrySplitResponse.md +24 -0
  73. data/docs/LateFeeRule.md +26 -0
  74. data/docs/Lease.md +76 -0
  75. data/docs/LeaseClause.md +22 -0
  76. data/docs/LeaseContact.md +36 -0
  77. data/docs/LeasesApi.md +3319 -0
  78. data/docs/ManagementFee.md +30 -0
  79. data/docs/ManagementSettings.md +26 -0
  80. data/docs/Marketing.md +62 -0
  81. data/docs/NonCurrentAsset.md +26 -0
  82. data/docs/NonCurrentLiability.md +30 -0
  83. data/docs/NonOperatingExpense.md +32 -0
  84. data/docs/NonOperatingInome.md +32 -0
  85. data/docs/Note.md +28 -0
  86. data/docs/Owner.md +38 -0
  87. data/docs/OwnerContribution.md +44 -0
  88. data/docs/OwnerDraw.md +44 -0
  89. data/docs/Payment.md +50 -0
  90. data/docs/PaymentCharge.md +36 -0
  91. data/docs/Portfolio.md +60 -0
  92. data/docs/PortfoliosApi.md +701 -0
  93. data/docs/PropertyManager.md +26 -0
  94. data/docs/Prospect.md +114 -0
  95. data/docs/ProspectsApi.md +789 -0
  96. data/docs/RESTAPIBulkErrorResponse.md +22 -0
  97. data/docs/RESTAPIBulkSuccessResponse.md +18 -0
  98. data/docs/RESTAPIError.md +20 -0
  99. data/docs/Refund.md +44 -0
  100. data/docs/ResponseEntity.md +20 -0
  101. data/docs/SaveAccount.md +52 -0
  102. data/docs/SaveAddress.md +28 -0
  103. data/docs/SaveAdjustment.md +26 -0
  104. data/docs/SaveAutoCharge.md +28 -0
  105. data/docs/SaveBankDeposit.md +20 -0
  106. data/docs/SaveBill.md +42 -0
  107. data/docs/SaveBillPayment.md +30 -0
  108. data/docs/SaveBillSplit.md +36 -0
  109. data/docs/SaveBuilding.md +84 -0
  110. data/docs/SaveCharge.md +28 -0
  111. data/docs/SaveCheck.md +30 -0
  112. data/docs/SaveCheckSplit.md +30 -0
  113. data/docs/SaveComment.md +18 -0
  114. data/docs/SaveContact.md +60 -0
  115. data/docs/SaveConversation.md +20 -0
  116. data/docs/SaveCredit.md +26 -0
  117. data/docs/SaveDiscount.md +28 -0
  118. data/docs/SaveJournalEntrySplit.md +22 -0
  119. data/docs/SaveLease.md +50 -0
  120. data/docs/SaveLeaseJournalEntry.md +26 -0
  121. data/docs/SaveOwner.md +36 -0
  122. data/docs/SaveOwnerContribution.md +34 -0
  123. data/docs/SaveOwnerDraw.md +34 -0
  124. data/docs/SavePayment.md +34 -0
  125. data/docs/SavePortfolio.md +38 -0
  126. data/docs/SaveProspect.md +76 -0
  127. data/docs/SaveProspectContact.md +36 -0
  128. data/docs/SaveRefund.md +34 -0
  129. data/docs/SaveUnit.md +60 -0
  130. data/docs/SaveVendor.md +46 -0
  131. data/docs/SaveWorkOrder.md +36 -0
  132. data/docs/SaveWorkOrderTask.md +30 -0
  133. data/docs/SplitPaid.md +34 -0
  134. data/docs/SplitPay.md +20 -0
  135. data/docs/Task.md +42 -0
  136. data/docs/Transaction.md +54 -0
  137. data/docs/Unit.md +96 -0
  138. data/docs/UnitsApi.md +875 -0
  139. data/docs/UpdateLeaseJournalEntry.md +26 -0
  140. data/docs/Vendor.md +76 -0
  141. data/docs/VendorsApi.md +617 -0
  142. data/docs/WorkOrder.md +78 -0
  143. data/docs/WorkOrdersApi.md +883 -0
  144. data/lib/propertyware/api/accounting_api.rb +1041 -0
  145. data/lib/propertyware/api/bills_api.rb +1182 -0
  146. data/lib/propertyware/api/buildings_api.rb +863 -0
  147. data/lib/propertyware/api/contacts_api.rb +666 -0
  148. data/lib/propertyware/api/documents_api.rb +235 -0
  149. data/lib/propertyware/api/health_check_api.rb +79 -0
  150. data/lib/propertyware/api/inspections_api.rb +172 -0
  151. data/lib/propertyware/api/leases_api.rb +2787 -0
  152. data/lib/propertyware/api/portfolios_api.rb +599 -0
  153. data/lib/propertyware/api/prospects_api.rb +671 -0
  154. data/lib/propertyware/api/units_api.rb +740 -0
  155. data/lib/propertyware/api/vendors_api.rb +522 -0
  156. data/lib/propertyware/api/work_orders_api.rb +763 -0
  157. data/lib/propertyware/api_client.rb +428 -0
  158. data/lib/propertyware/api_error.rb +58 -0
  159. data/lib/propertyware/configuration.rb +392 -0
  160. data/lib/propertyware/models/account.rb +549 -0
  161. data/lib/propertyware/models/address.rb +269 -0
  162. data/lib/propertyware/models/amenity.rb +249 -0
  163. data/lib/propertyware/models/auto_journal_entry.rb +358 -0
  164. data/lib/propertyware/models/auto_payment.rb +338 -0
  165. data/lib/propertyware/models/bank.rb +389 -0
  166. data/lib/propertyware/models/bank_deposit.rb +289 -0
  167. data/lib/propertyware/models/basic_vendor.rb +330 -0
  168. data/lib/propertyware/models/bill.rb +401 -0
  169. data/lib/propertyware/models/bill_paid.rb +250 -0
  170. data/lib/propertyware/models/bill_pay.rb +230 -0
  171. data/lib/propertyware/models/bill_payment.rb +361 -0
  172. data/lib/propertyware/models/bill_split.rb +339 -0
  173. data/lib/propertyware/models/building.rb +782 -0
  174. data/lib/propertyware/models/campaign.rb +430 -0
  175. data/lib/propertyware/models/campaign_source.rb +258 -0
  176. data/lib/propertyware/models/charge.rb +318 -0
  177. data/lib/propertyware/models/charge_tx.rb +401 -0
  178. data/lib/propertyware/models/check.rb +425 -0
  179. data/lib/propertyware/models/check_split.rb +284 -0
  180. data/lib/propertyware/models/comment.rb +269 -0
  181. data/lib/propertyware/models/contact.rb +546 -0
  182. data/lib/propertyware/models/conversation.rb +345 -0
  183. data/lib/propertyware/models/credit_card_account.rb +219 -0
  184. data/lib/propertyware/models/current_asset.rb +279 -0
  185. data/lib/propertyware/models/current_liability.rb +279 -0
  186. data/lib/propertyware/models/custom_field.rb +249 -0
  187. data/lib/propertyware/models/discount.rb +339 -0
  188. data/lib/propertyware/models/document.rb +362 -0
  189. data/lib/propertyware/models/entry.rb +297 -0
  190. data/lib/propertyware/models/equity.rb +289 -0
  191. data/lib/propertyware/models/error_response.rb +237 -0
  192. data/lib/propertyware/models/expense.rb +289 -0
  193. data/lib/propertyware/models/gl_item.rb +330 -0
  194. data/lib/propertyware/models/income.rb +299 -0
  195. data/lib/propertyware/models/inspection.rb +361 -0
  196. data/lib/propertyware/models/inspection_area.rb +241 -0
  197. data/lib/propertyware/models/inspection_item.rb +249 -0
  198. data/lib/propertyware/models/journal_entry.rb +311 -0
  199. data/lib/propertyware/models/journal_entry_split.rb +264 -0
  200. data/lib/propertyware/models/journal_entry_split_response.rb +263 -0
  201. data/lib/propertyware/models/late_fee_rule.rb +258 -0
  202. data/lib/propertyware/models/lease.rb +515 -0
  203. data/lib/propertyware/models/lease_clause.rb +238 -0
  204. data/lib/propertyware/models/lease_contact.rb +309 -0
  205. data/lib/propertyware/models/management_fee.rb +279 -0
  206. data/lib/propertyware/models/management_settings.rb +261 -0
  207. data/lib/propertyware/models/marketing.rb +439 -0
  208. data/lib/propertyware/models/non_current_asset.rb +259 -0
  209. data/lib/propertyware/models/non_current_liability.rb +279 -0
  210. data/lib/propertyware/models/non_operating_expense.rb +289 -0
  211. data/lib/propertyware/models/non_operating_inome.rb +289 -0
  212. data/lib/propertyware/models/note.rb +267 -0
  213. data/lib/propertyware/models/owner.rb +318 -0
  214. data/lib/propertyware/models/owner_contribution.rb +418 -0
  215. data/lib/propertyware/models/owner_draw.rb +398 -0
  216. data/lib/propertyware/models/payment.rb +423 -0
  217. data/lib/propertyware/models/payment_charge.rb +358 -0
  218. data/lib/propertyware/models/portfolio.rb +479 -0
  219. data/lib/propertyware/models/property_manager.rb +259 -0
  220. data/lib/propertyware/models/prospect.rb +701 -0
  221. data/lib/propertyware/models/refund.rb +384 -0
  222. data/lib/propertyware/models/response_entity.rb +260 -0
  223. data/lib/propertyware/models/restapi_bulk_error_response.rb +237 -0
  224. data/lib/propertyware/models/restapi_bulk_success_response.rb +217 -0
  225. data/lib/propertyware/models/restapi_error.rb +226 -0
  226. data/lib/propertyware/models/save_account.rb +398 -0
  227. data/lib/propertyware/models/save_address.rb +274 -0
  228. data/lib/propertyware/models/save_adjustment.rb +269 -0
  229. data/lib/propertyware/models/save_auto_charge.rb +328 -0
  230. data/lib/propertyware/models/save_bank_deposit.rb +239 -0
  231. data/lib/propertyware/models/save_bill.rb +356 -0
  232. data/lib/propertyware/models/save_bill_payment.rb +314 -0
  233. data/lib/propertyware/models/save_bill_split.rb +319 -0
  234. data/lib/propertyware/models/save_building.rb +653 -0
  235. data/lib/propertyware/models/save_charge.rb +289 -0
  236. data/lib/propertyware/models/save_check.rb +291 -0
  237. data/lib/propertyware/models/save_check_split.rb +289 -0
  238. data/lib/propertyware/models/save_comment.rb +224 -0
  239. data/lib/propertyware/models/save_contact.rb +472 -0
  240. data/lib/propertyware/models/save_conversation.rb +273 -0
  241. data/lib/propertyware/models/save_credit.rb +271 -0
  242. data/lib/propertyware/models/save_discount.rb +289 -0
  243. data/lib/propertyware/models/save_journal_entry_split.rb +254 -0
  244. data/lib/propertyware/models/save_lease.rb +444 -0
  245. data/lib/propertyware/models/save_lease_journal_entry.rb +276 -0
  246. data/lib/propertyware/models/save_owner.rb +318 -0
  247. data/lib/propertyware/models/save_owner_contribution.rb +373 -0
  248. data/lib/propertyware/models/save_owner_draw.rb +334 -0
  249. data/lib/propertyware/models/save_payment.rb +373 -0
  250. data/lib/propertyware/models/save_portfolio.rb +379 -0
  251. data/lib/propertyware/models/save_prospect.rb +511 -0
  252. data/lib/propertyware/models/save_prospect_contact.rb +318 -0
  253. data/lib/propertyware/models/save_refund.rb +334 -0
  254. data/lib/propertyware/models/save_unit.rb +492 -0
  255. data/lib/propertyware/models/save_vendor.rb +379 -0
  256. data/lib/propertyware/models/save_work_order.rb +345 -0
  257. data/lib/propertyware/models/save_work_order_task.rb +284 -0
  258. data/lib/propertyware/models/split_paid.rb +298 -0
  259. data/lib/propertyware/models/split_pay.rb +228 -0
  260. data/lib/propertyware/models/task.rb +339 -0
  261. data/lib/propertyware/models/transaction.rb +433 -0
  262. data/lib/propertyware/models/unit.rb +670 -0
  263. data/lib/propertyware/models/update_lease_journal_entry.rb +276 -0
  264. data/lib/propertyware/models/vendor.rb +511 -0
  265. data/lib/propertyware/models/work_order.rb +557 -0
  266. data/lib/propertyware/version.rb +15 -0
  267. data/lib/propertyware.rb +158 -0
  268. data/openapitools.json +7 -0
  269. data/propertyware.gemspec +39 -0
  270. data/spec/api/accounting_api_spec.rb +239 -0
  271. data/spec/api/bills_api_spec.rb +260 -0
  272. data/spec/api/buildings_api_spec.rb +199 -0
  273. data/spec/api/contacts_api_spec.rb +159 -0
  274. data/spec/api/documents_api_spec.rb +77 -0
  275. data/spec/api/health_check_api_spec.rb +46 -0
  276. data/spec/api/inspections_api_spec.rb +68 -0
  277. data/spec/api/leases_api_spec.rb +579 -0
  278. data/spec/api/portfolios_api_spec.rb +147 -0
  279. data/spec/api/prospects_api_spec.rb +162 -0
  280. data/spec/api/units_api_spec.rb +176 -0
  281. data/spec/api/vendors_api_spec.rb +134 -0
  282. data/spec/api/work_orders_api_spec.rb +180 -0
  283. data/spec/api_client_spec.rb +223 -0
  284. data/spec/configuration_spec.rb +82 -0
  285. data/spec/models/account_spec.rb +232 -0
  286. data/spec/models/address_spec.rb +64 -0
  287. data/spec/models/amenity_spec.rb +52 -0
  288. data/spec/models/auto_journal_entry_spec.rb +118 -0
  289. data/spec/models/auto_payment_spec.rb +106 -0
  290. data/spec/models/bank_deposit_spec.rb +76 -0
  291. data/spec/models/bank_spec.rb +136 -0
  292. data/spec/models/basic_vendor_spec.rb +100 -0
  293. data/spec/models/bill_paid_spec.rb +52 -0
  294. data/spec/models/bill_pay_spec.rb +40 -0
  295. data/spec/models/bill_payment_spec.rb +118 -0
  296. data/spec/models/bill_spec.rb +142 -0
  297. data/spec/models/bill_split_spec.rb +106 -0
  298. data/spec/models/building_spec.rb +344 -0
  299. data/spec/models/campaign_source_spec.rb +58 -0
  300. data/spec/models/campaign_spec.rb +160 -0
  301. data/spec/models/charge_spec.rb +88 -0
  302. data/spec/models/charge_tx_spec.rb +136 -0
  303. data/spec/models/check_spec.rb +128 -0
  304. data/spec/models/check_split_spec.rb +70 -0
  305. data/spec/models/comment_spec.rb +64 -0
  306. data/spec/models/contact_spec.rb +210 -0
  307. data/spec/models/conversation_spec.rb +92 -0
  308. data/spec/models/credit_card_account_spec.rb +34 -0
  309. data/spec/models/current_asset_spec.rb +70 -0
  310. data/spec/models/current_liability_spec.rb +70 -0
  311. data/spec/models/custom_field_spec.rb +52 -0
  312. data/spec/models/discount_spec.rb +100 -0
  313. data/spec/models/document_spec.rb +104 -0
  314. data/spec/models/entry_spec.rb +82 -0
  315. data/spec/models/equity_spec.rb +76 -0
  316. data/spec/models/error_response_spec.rb +46 -0
  317. data/spec/models/expense_spec.rb +76 -0
  318. data/spec/models/gl_item_spec.rb +100 -0
  319. data/spec/models/income_spec.rb +82 -0
  320. data/spec/models/inspection_area_spec.rb +46 -0
  321. data/spec/models/inspection_item_spec.rb +52 -0
  322. data/spec/models/inspection_spec.rb +118 -0
  323. data/spec/models/journal_entry_spec.rb +88 -0
  324. data/spec/models/journal_entry_split_response_spec.rb +52 -0
  325. data/spec/models/journal_entry_split_spec.rb +52 -0
  326. data/spec/models/late_fee_rule_spec.rb +58 -0
  327. data/spec/models/lease_clause_spec.rb +46 -0
  328. data/spec/models/lease_contact_spec.rb +88 -0
  329. data/spec/models/lease_spec.rb +208 -0
  330. data/spec/models/management_fee_spec.rb +70 -0
  331. data/spec/models/management_settings_spec.rb +58 -0
  332. data/spec/models/marketing_spec.rb +166 -0
  333. data/spec/models/non_current_asset_spec.rb +58 -0
  334. data/spec/models/non_current_liability_spec.rb +70 -0
  335. data/spec/models/non_operating_expense_spec.rb +76 -0
  336. data/spec/models/non_operating_inome_spec.rb +76 -0
  337. data/spec/models/note_spec.rb +64 -0
  338. data/spec/models/owner_contribution_spec.rb +116 -0
  339. data/spec/models/owner_draw_spec.rb +116 -0
  340. data/spec/models/owner_spec.rb +94 -0
  341. data/spec/models/payment_charge_spec.rb +92 -0
  342. data/spec/models/payment_spec.rb +134 -0
  343. data/spec/models/portfolio_spec.rb +168 -0
  344. data/spec/models/property_manager_spec.rb +58 -0
  345. data/spec/models/prospect_spec.rb +322 -0
  346. data/spec/models/refund_spec.rb +112 -0
  347. data/spec/models/response_entity_spec.rb +44 -0
  348. data/spec/models/restapi_bulk_error_response_spec.rb +46 -0
  349. data/spec/models/restapi_bulk_success_response_spec.rb +34 -0
  350. data/spec/models/restapi_error_spec.rb +40 -0
  351. data/spec/models/save_account_spec.rb +136 -0
  352. data/spec/models/save_address_spec.rb +64 -0
  353. data/spec/models/save_adjustment_spec.rb +58 -0
  354. data/spec/models/save_auto_charge_spec.rb +68 -0
  355. data/spec/models/save_bank_deposit_spec.rb +40 -0
  356. data/spec/models/save_bill_payment_spec.rb +74 -0
  357. data/spec/models/save_bill_spec.rb +106 -0
  358. data/spec/models/save_bill_split_spec.rb +88 -0
  359. data/spec/models/save_building_spec.rb +248 -0
  360. data/spec/models/save_charge_spec.rb +64 -0
  361. data/spec/models/save_check_spec.rb +70 -0
  362. data/spec/models/save_check_split_spec.rb +70 -0
  363. data/spec/models/save_comment_spec.rb +34 -0
  364. data/spec/models/save_contact_spec.rb +164 -0
  365. data/spec/models/save_conversation_spec.rb +44 -0
  366. data/spec/models/save_credit_spec.rb +58 -0
  367. data/spec/models/save_discount_spec.rb +64 -0
  368. data/spec/models/save_journal_entry_split_spec.rb +46 -0
  369. data/spec/models/save_lease_journal_entry_spec.rb +58 -0
  370. data/spec/models/save_lease_spec.rb +134 -0
  371. data/spec/models/save_owner_contribution_spec.rb +86 -0
  372. data/spec/models/save_owner_draw_spec.rb +82 -0
  373. data/spec/models/save_owner_spec.rb +88 -0
  374. data/spec/models/save_payment_spec.rb +86 -0
  375. data/spec/models/save_portfolio_spec.rb +102 -0
  376. data/spec/models/save_prospect_contact_spec.rb +88 -0
  377. data/spec/models/save_prospect_spec.rb +208 -0
  378. data/spec/models/save_refund_spec.rb +82 -0
  379. data/spec/models/save_unit_spec.rb +164 -0
  380. data/spec/models/save_vendor_spec.rb +118 -0
  381. data/spec/models/save_work_order_spec.rb +92 -0
  382. data/spec/models/save_work_order_task_spec.rb +70 -0
  383. data/spec/models/split_paid_spec.rb +82 -0
  384. data/spec/models/split_pay_spec.rb +40 -0
  385. data/spec/models/task_spec.rb +106 -0
  386. data/spec/models/transaction_spec.rb +146 -0
  387. data/spec/models/unit_spec.rb +280 -0
  388. data/spec/models/update_lease_journal_entry_spec.rb +58 -0
  389. data/spec/models/vendor_spec.rb +208 -0
  390. data/spec/models/work_order_spec.rb +218 -0
  391. data/spec/spec_helper.rb +111 -0
  392. metadata +609 -0
@@ -0,0 +1,701 @@
1
+ # Propertyware::PortfoliosApi
2
+
3
+ All URIs are relative to *https://api.propertyware.com/pw/api/rest/v1*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**create_contacts_using_post2**](PortfoliosApi.md#create_contacts_using_post2) | **POST** /portfolios/bulk | Create Portfolios in bulk (BETA) |
8
+ | [**create_portfolio**](PortfoliosApi.md#create_portfolio) | **POST** /portfolios | Create a portfolio (BETA) |
9
+ | [**delete_portfolio_conversation**](PortfoliosApi.md#delete_portfolio_conversation) | **DELETE** /portfolios/{portfolioID}/conversations/{conversationID} | Delete a portfolio conversation (BETA) |
10
+ | [**get_portfolio**](PortfoliosApi.md#get_portfolio) | **GET** /portfolios/{portfolioID} | Retrieve a portfolio |
11
+ | [**get_portfolio_conversation**](PortfoliosApi.md#get_portfolio_conversation) | **GET** /portfolios/{portfolioID}/conversations/{conversationID} | Retrieve a portfolio conversation |
12
+ | [**get_portfolio_conversations**](PortfoliosApi.md#get_portfolio_conversations) | **GET** /portfolios/{portfolioID}/conversations | Retrieve all portfolio conversations |
13
+ | [**get_portfolios**](PortfoliosApi.md#get_portfolios) | **GET** /portfolios | Retrieve all portfolios |
14
+ | [**update_portfolio**](PortfoliosApi.md#update_portfolio) | **PUT** /portfolios/{portfolioID} | Update a portfolio (BETA) |
15
+
16
+
17
+ ## create_contacts_using_post2
18
+
19
+ > <Array<RESTAPIBulkSuccessResponse>> create_contacts_using_post2(save_portfolio)
20
+
21
+ Create Portfolios in bulk (BETA)
22
+
23
+ <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 Portfolios in bulk.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">PORTFOLIOS</span> - <code>Write</code>
24
+
25
+ ### Examples
26
+
27
+ ```ruby
28
+ require 'time'
29
+ require 'propertyware'
30
+ # setup authorization
31
+ Propertyware.configure do |config|
32
+ # Configure API key authorization: organizationId
33
+ config.api_key['organizationId'] = 'YOUR API KEY'
34
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
35
+ # config.api_key_prefix['organizationId'] = 'Bearer'
36
+
37
+ # Configure API key authorization: clientId
38
+ config.api_key['clientId'] = 'YOUR API KEY'
39
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
40
+ # config.api_key_prefix['clientId'] = 'Bearer'
41
+
42
+ # Configure API key authorization: clientSecret
43
+ config.api_key['clientSecret'] = 'YOUR API KEY'
44
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
45
+ # config.api_key_prefix['clientSecret'] = 'Bearer'
46
+ end
47
+
48
+ api_instance = Propertyware::PortfoliosApi.new
49
+ save_portfolio = [Propertyware::SavePortfolio.new({abbreviation: 'abbreviation_example', name: 'name_example'})] # Array<SavePortfolio> | savePortfolio
50
+
51
+ begin
52
+ # Create Portfolios in bulk (BETA)
53
+ result = api_instance.create_contacts_using_post2(save_portfolio)
54
+ p result
55
+ rescue Propertyware::ApiError => e
56
+ puts "Error when calling PortfoliosApi->create_contacts_using_post2: #{e}"
57
+ end
58
+ ```
59
+
60
+ #### Using the create_contacts_using_post2_with_http_info variant
61
+
62
+ This returns an Array which contains the response data, status code and headers.
63
+
64
+ > <Array(<Array<RESTAPIBulkSuccessResponse>>, Integer, Hash)> create_contacts_using_post2_with_http_info(save_portfolio)
65
+
66
+ ```ruby
67
+ begin
68
+ # Create Portfolios in bulk (BETA)
69
+ data, status_code, headers = api_instance.create_contacts_using_post2_with_http_info(save_portfolio)
70
+ p status_code # => 2xx
71
+ p headers # => { ... }
72
+ p data # => <Array<RESTAPIBulkSuccessResponse>>
73
+ rescue Propertyware::ApiError => e
74
+ puts "Error when calling PortfoliosApi->create_contacts_using_post2_with_http_info: #{e}"
75
+ end
76
+ ```
77
+
78
+ ### Parameters
79
+
80
+ | Name | Type | Description | Notes |
81
+ | ---- | ---- | ----------- | ----- |
82
+ | **save_portfolio** | [**Array&lt;SavePortfolio&gt;**](SavePortfolio.md) | savePortfolio | |
83
+
84
+ ### Return type
85
+
86
+ [**Array&lt;RESTAPIBulkSuccessResponse&gt;**](RESTAPIBulkSuccessResponse.md)
87
+
88
+ ### Authorization
89
+
90
+ [organizationId](../README.md#organizationId), [clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
91
+
92
+ ### HTTP request headers
93
+
94
+ - **Content-Type**: application/json
95
+ - **Accept**: application/json
96
+
97
+
98
+ ## create_portfolio
99
+
100
+ > <Portfolio> create_portfolio(save_portfolio)
101
+
102
+ Create a portfolio (BETA)
103
+
104
+ <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 portfolio.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">PORTFOLIOS</span> - <code>Write</code>
105
+
106
+ ### Examples
107
+
108
+ ```ruby
109
+ require 'time'
110
+ require 'propertyware'
111
+ # setup authorization
112
+ Propertyware.configure do |config|
113
+ # Configure API key authorization: organizationId
114
+ config.api_key['organizationId'] = 'YOUR API KEY'
115
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
116
+ # config.api_key_prefix['organizationId'] = 'Bearer'
117
+
118
+ # Configure API key authorization: clientId
119
+ config.api_key['clientId'] = 'YOUR API KEY'
120
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
121
+ # config.api_key_prefix['clientId'] = 'Bearer'
122
+
123
+ # Configure API key authorization: clientSecret
124
+ config.api_key['clientSecret'] = 'YOUR API KEY'
125
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
126
+ # config.api_key_prefix['clientSecret'] = 'Bearer'
127
+ end
128
+
129
+ api_instance = Propertyware::PortfoliosApi.new
130
+ save_portfolio = Propertyware::SavePortfolio.new({abbreviation: 'abbreviation_example', name: 'name_example'}) # SavePortfolio | savePortfolio
131
+
132
+ begin
133
+ # Create a portfolio (BETA)
134
+ result = api_instance.create_portfolio(save_portfolio)
135
+ p result
136
+ rescue Propertyware::ApiError => e
137
+ puts "Error when calling PortfoliosApi->create_portfolio: #{e}"
138
+ end
139
+ ```
140
+
141
+ #### Using the create_portfolio_with_http_info variant
142
+
143
+ This returns an Array which contains the response data, status code and headers.
144
+
145
+ > <Array(<Portfolio>, Integer, Hash)> create_portfolio_with_http_info(save_portfolio)
146
+
147
+ ```ruby
148
+ begin
149
+ # Create a portfolio (BETA)
150
+ data, status_code, headers = api_instance.create_portfolio_with_http_info(save_portfolio)
151
+ p status_code # => 2xx
152
+ p headers # => { ... }
153
+ p data # => <Portfolio>
154
+ rescue Propertyware::ApiError => e
155
+ puts "Error when calling PortfoliosApi->create_portfolio_with_http_info: #{e}"
156
+ end
157
+ ```
158
+
159
+ ### Parameters
160
+
161
+ | Name | Type | Description | Notes |
162
+ | ---- | ---- | ----------- | ----- |
163
+ | **save_portfolio** | [**SavePortfolio**](SavePortfolio.md) | savePortfolio | |
164
+
165
+ ### Return type
166
+
167
+ [**Portfolio**](Portfolio.md)
168
+
169
+ ### Authorization
170
+
171
+ [organizationId](../README.md#organizationId), [clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
172
+
173
+ ### HTTP request headers
174
+
175
+ - **Content-Type**: application/json
176
+ - **Accept**: application/json
177
+
178
+
179
+ ## delete_portfolio_conversation
180
+
181
+ > <ResponseEntity> delete_portfolio_conversation(portfolio_id, conversation_id)
182
+
183
+ Delete a portfolio conversation (BETA)
184
+
185
+ <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 portfolio conversation.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">PORTFOLIOS</span> - <code>Delete</code>
186
+
187
+ ### Examples
188
+
189
+ ```ruby
190
+ require 'time'
191
+ require 'propertyware'
192
+ # setup authorization
193
+ Propertyware.configure do |config|
194
+ # Configure API key authorization: organizationId
195
+ config.api_key['organizationId'] = 'YOUR API KEY'
196
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
197
+ # config.api_key_prefix['organizationId'] = 'Bearer'
198
+
199
+ # Configure API key authorization: clientId
200
+ config.api_key['clientId'] = 'YOUR API KEY'
201
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
202
+ # config.api_key_prefix['clientId'] = 'Bearer'
203
+
204
+ # Configure API key authorization: clientSecret
205
+ config.api_key['clientSecret'] = 'YOUR API KEY'
206
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
207
+ # config.api_key_prefix['clientSecret'] = 'Bearer'
208
+ end
209
+
210
+ api_instance = Propertyware::PortfoliosApi.new
211
+ portfolio_id = 789 # Integer | Portfolio ID
212
+ conversation_id = 789 # Integer | Conversation ID
213
+
214
+ begin
215
+ # Delete a portfolio conversation (BETA)
216
+ result = api_instance.delete_portfolio_conversation(portfolio_id, conversation_id)
217
+ p result
218
+ rescue Propertyware::ApiError => e
219
+ puts "Error when calling PortfoliosApi->delete_portfolio_conversation: #{e}"
220
+ end
221
+ ```
222
+
223
+ #### Using the delete_portfolio_conversation_with_http_info variant
224
+
225
+ This returns an Array which contains the response data, status code and headers.
226
+
227
+ > <Array(<ResponseEntity>, Integer, Hash)> delete_portfolio_conversation_with_http_info(portfolio_id, conversation_id)
228
+
229
+ ```ruby
230
+ begin
231
+ # Delete a portfolio conversation (BETA)
232
+ data, status_code, headers = api_instance.delete_portfolio_conversation_with_http_info(portfolio_id, conversation_id)
233
+ p status_code # => 2xx
234
+ p headers # => { ... }
235
+ p data # => <ResponseEntity>
236
+ rescue Propertyware::ApiError => e
237
+ puts "Error when calling PortfoliosApi->delete_portfolio_conversation_with_http_info: #{e}"
238
+ end
239
+ ```
240
+
241
+ ### Parameters
242
+
243
+ | Name | Type | Description | Notes |
244
+ | ---- | ---- | ----------- | ----- |
245
+ | **portfolio_id** | **Integer** | Portfolio ID | |
246
+ | **conversation_id** | **Integer** | Conversation ID | |
247
+
248
+ ### Return type
249
+
250
+ [**ResponseEntity**](ResponseEntity.md)
251
+
252
+ ### Authorization
253
+
254
+ [organizationId](../README.md#organizationId), [clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
255
+
256
+ ### HTTP request headers
257
+
258
+ - **Content-Type**: Not defined
259
+ - **Accept**: application/json
260
+
261
+
262
+ ## get_portfolio
263
+
264
+ > <Portfolio> get_portfolio(portfolio_id, opts)
265
+
266
+ Retrieve a portfolio
267
+
268
+ Retrieves a specific portfolio.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">PORTFOLIOS</span> - <code>Read</code>
269
+
270
+ ### Examples
271
+
272
+ ```ruby
273
+ require 'time'
274
+ require 'propertyware'
275
+ # setup authorization
276
+ Propertyware.configure do |config|
277
+ # Configure API key authorization: organizationId
278
+ config.api_key['organizationId'] = 'YOUR API KEY'
279
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
280
+ # config.api_key_prefix['organizationId'] = 'Bearer'
281
+
282
+ # Configure API key authorization: clientId
283
+ config.api_key['clientId'] = 'YOUR API KEY'
284
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
285
+ # config.api_key_prefix['clientId'] = 'Bearer'
286
+
287
+ # Configure API key authorization: clientSecret
288
+ config.api_key['clientSecret'] = 'YOUR API KEY'
289
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
290
+ # config.api_key_prefix['clientSecret'] = 'Bearer'
291
+ end
292
+
293
+ api_instance = Propertyware::PortfoliosApi.new
294
+ portfolio_id = 789 # Integer | Portfolio ID
295
+ opts = {
296
+ include_custom_fields: true # Boolean | includeCustomFields
297
+ }
298
+
299
+ begin
300
+ # Retrieve a portfolio
301
+ result = api_instance.get_portfolio(portfolio_id, opts)
302
+ p result
303
+ rescue Propertyware::ApiError => e
304
+ puts "Error when calling PortfoliosApi->get_portfolio: #{e}"
305
+ end
306
+ ```
307
+
308
+ #### Using the get_portfolio_with_http_info variant
309
+
310
+ This returns an Array which contains the response data, status code and headers.
311
+
312
+ > <Array(<Portfolio>, Integer, Hash)> get_portfolio_with_http_info(portfolio_id, opts)
313
+
314
+ ```ruby
315
+ begin
316
+ # Retrieve a portfolio
317
+ data, status_code, headers = api_instance.get_portfolio_with_http_info(portfolio_id, opts)
318
+ p status_code # => 2xx
319
+ p headers # => { ... }
320
+ p data # => <Portfolio>
321
+ rescue Propertyware::ApiError => e
322
+ puts "Error when calling PortfoliosApi->get_portfolio_with_http_info: #{e}"
323
+ end
324
+ ```
325
+
326
+ ### Parameters
327
+
328
+ | Name | Type | Description | Notes |
329
+ | ---- | ---- | ----------- | ----- |
330
+ | **portfolio_id** | **Integer** | Portfolio ID | |
331
+ | **include_custom_fields** | **Boolean** | includeCustomFields | [optional][default to true] |
332
+
333
+ ### Return type
334
+
335
+ [**Portfolio**](Portfolio.md)
336
+
337
+ ### Authorization
338
+
339
+ [organizationId](../README.md#organizationId), [clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
340
+
341
+ ### HTTP request headers
342
+
343
+ - **Content-Type**: Not defined
344
+ - **Accept**: application/json
345
+
346
+
347
+ ## get_portfolio_conversation
348
+
349
+ > <Conversation> get_portfolio_conversation(portfolio_id, conversation_id)
350
+
351
+ Retrieve a portfolio conversation
352
+
353
+ Retrieves a specific portfolio conversation.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">PORTFOLIOS</span> - <code>Read</code>
354
+
355
+ ### Examples
356
+
357
+ ```ruby
358
+ require 'time'
359
+ require 'propertyware'
360
+ # setup authorization
361
+ Propertyware.configure do |config|
362
+ # Configure API key authorization: organizationId
363
+ config.api_key['organizationId'] = 'YOUR API KEY'
364
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
365
+ # config.api_key_prefix['organizationId'] = 'Bearer'
366
+
367
+ # Configure API key authorization: clientId
368
+ config.api_key['clientId'] = 'YOUR API KEY'
369
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
370
+ # config.api_key_prefix['clientId'] = 'Bearer'
371
+
372
+ # Configure API key authorization: clientSecret
373
+ config.api_key['clientSecret'] = 'YOUR API KEY'
374
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
375
+ # config.api_key_prefix['clientSecret'] = 'Bearer'
376
+ end
377
+
378
+ api_instance = Propertyware::PortfoliosApi.new
379
+ portfolio_id = 789 # Integer | Portfolio ID
380
+ conversation_id = 789 # Integer | Conversation ID
381
+
382
+ begin
383
+ # Retrieve a portfolio conversation
384
+ result = api_instance.get_portfolio_conversation(portfolio_id, conversation_id)
385
+ p result
386
+ rescue Propertyware::ApiError => e
387
+ puts "Error when calling PortfoliosApi->get_portfolio_conversation: #{e}"
388
+ end
389
+ ```
390
+
391
+ #### Using the get_portfolio_conversation_with_http_info variant
392
+
393
+ This returns an Array which contains the response data, status code and headers.
394
+
395
+ > <Array(<Conversation>, Integer, Hash)> get_portfolio_conversation_with_http_info(portfolio_id, conversation_id)
396
+
397
+ ```ruby
398
+ begin
399
+ # Retrieve a portfolio conversation
400
+ data, status_code, headers = api_instance.get_portfolio_conversation_with_http_info(portfolio_id, conversation_id)
401
+ p status_code # => 2xx
402
+ p headers # => { ... }
403
+ p data # => <Conversation>
404
+ rescue Propertyware::ApiError => e
405
+ puts "Error when calling PortfoliosApi->get_portfolio_conversation_with_http_info: #{e}"
406
+ end
407
+ ```
408
+
409
+ ### Parameters
410
+
411
+ | Name | Type | Description | Notes |
412
+ | ---- | ---- | ----------- | ----- |
413
+ | **portfolio_id** | **Integer** | Portfolio ID | |
414
+ | **conversation_id** | **Integer** | Conversation ID | |
415
+
416
+ ### Return type
417
+
418
+ [**Conversation**](Conversation.md)
419
+
420
+ ### Authorization
421
+
422
+ [organizationId](../README.md#organizationId), [clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
423
+
424
+ ### HTTP request headers
425
+
426
+ - **Content-Type**: Not defined
427
+ - **Accept**: application/json
428
+
429
+
430
+ ## get_portfolio_conversations
431
+
432
+ > <Array<Conversation>> get_portfolio_conversations(portfolio_id, opts)
433
+
434
+ Retrieve all portfolio conversations
435
+
436
+ Retrieves all the conversations of a portfolio.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">PORTFOLIOS</span> - <code>Read</code> <br/><br/><b>Sortable by:</b> <code>createddate</code>, <code>lastmodifieddatetime</code>, <code>id</code>
437
+
438
+ ### Examples
439
+
440
+ ```ruby
441
+ require 'time'
442
+ require 'propertyware'
443
+ # setup authorization
444
+ Propertyware.configure do |config|
445
+ # Configure API key authorization: organizationId
446
+ config.api_key['organizationId'] = 'YOUR API KEY'
447
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
448
+ # config.api_key_prefix['organizationId'] = 'Bearer'
449
+
450
+ # Configure API key authorization: clientId
451
+ config.api_key['clientId'] = 'YOUR API KEY'
452
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
453
+ # config.api_key_prefix['clientId'] = 'Bearer'
454
+
455
+ # Configure API key authorization: clientSecret
456
+ config.api_key['clientSecret'] = 'YOUR API KEY'
457
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
458
+ # config.api_key_prefix['clientSecret'] = 'Bearer'
459
+ end
460
+
461
+ api_instance = Propertyware::PortfoliosApi.new
462
+ portfolio_id = 789 # Integer | Portfolio ID
463
+ opts = {
464
+ offset: 56, # Integer | `offset` indicates the position of the first record to return. The offset is zero-based and the default is 0.
465
+ limit: 56, # Integer | `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.
466
+ last_modified_date_time_start: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filters results to any item modified on or after the date time specified.
467
+ last_modified_date_time_end: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filters results to any item modified on or prior to the date time specified.
468
+ orderby: 'orderby_example', # String | Indicates the field(s) and direction to sort the results in the response.
469
+ type: 'MANAGEMENT_TEAM' # String | Filters results by the conversation type.
470
+ }
471
+
472
+ begin
473
+ # Retrieve all portfolio conversations
474
+ result = api_instance.get_portfolio_conversations(portfolio_id, opts)
475
+ p result
476
+ rescue Propertyware::ApiError => e
477
+ puts "Error when calling PortfoliosApi->get_portfolio_conversations: #{e}"
478
+ end
479
+ ```
480
+
481
+ #### Using the get_portfolio_conversations_with_http_info variant
482
+
483
+ This returns an Array which contains the response data, status code and headers.
484
+
485
+ > <Array(<Array<Conversation>>, Integer, Hash)> get_portfolio_conversations_with_http_info(portfolio_id, opts)
486
+
487
+ ```ruby
488
+ begin
489
+ # Retrieve all portfolio conversations
490
+ data, status_code, headers = api_instance.get_portfolio_conversations_with_http_info(portfolio_id, opts)
491
+ p status_code # => 2xx
492
+ p headers # => { ... }
493
+ p data # => <Array<Conversation>>
494
+ rescue Propertyware::ApiError => e
495
+ puts "Error when calling PortfoliosApi->get_portfolio_conversations_with_http_info: #{e}"
496
+ end
497
+ ```
498
+
499
+ ### Parameters
500
+
501
+ | Name | Type | Description | Notes |
502
+ | ---- | ---- | ----------- | ----- |
503
+ | **portfolio_id** | **Integer** | Portfolio ID | |
504
+ | **offset** | **Integer** | &#x60;offset&#x60; indicates the position of the first record to return. The offset is zero-based and the default is 0. | [optional] |
505
+ | **limit** | **Integer** | &#x60;limit&#x60; indicates the maximum number of results to be returned in the response. &#x60;limit&#x60; can range between 1 and 500 and the default is 100. | [optional][default to 100] |
506
+ | **last_modified_date_time_start** | **Time** | Filters results to any item modified on or after the date time specified. | [optional] |
507
+ | **last_modified_date_time_end** | **Time** | Filters results to any item modified on or prior to the date time specified. | [optional] |
508
+ | **orderby** | **String** | Indicates the field(s) and direction to sort the results in the response. | [optional] |
509
+ | **type** | **String** | Filters results by the conversation type. | [optional] |
510
+
511
+ ### Return type
512
+
513
+ [**Array&lt;Conversation&gt;**](Conversation.md)
514
+
515
+ ### Authorization
516
+
517
+ [organizationId](../README.md#organizationId), [clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
518
+
519
+ ### HTTP request headers
520
+
521
+ - **Content-Type**: Not defined
522
+ - **Accept**: application/json
523
+
524
+
525
+ ## get_portfolios
526
+
527
+ > <Array<Portfolio>> get_portfolios(opts)
528
+
529
+ Retrieve all portfolios
530
+
531
+ Retrieves a list of portfolios.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">PORTFOLIOS</span> - <code>Read</code> <br/><br/><b>Sortable by:</b> <code>createddate</code>, <code>name</code>, <code>abbreviation</code>, <code>lastmodifieddatetime</code>, <code>id</code>
532
+
533
+ ### Examples
534
+
535
+ ```ruby
536
+ require 'time'
537
+ require 'propertyware'
538
+ # setup authorization
539
+ Propertyware.configure do |config|
540
+ # Configure API key authorization: organizationId
541
+ config.api_key['organizationId'] = 'YOUR API KEY'
542
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
543
+ # config.api_key_prefix['organizationId'] = 'Bearer'
544
+
545
+ # Configure API key authorization: clientId
546
+ config.api_key['clientId'] = 'YOUR API KEY'
547
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
548
+ # config.api_key_prefix['clientId'] = 'Bearer'
549
+
550
+ # Configure API key authorization: clientSecret
551
+ config.api_key['clientSecret'] = 'YOUR API KEY'
552
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
553
+ # config.api_key_prefix['clientSecret'] = 'Bearer'
554
+ end
555
+
556
+ api_instance = Propertyware::PortfoliosApi.new
557
+ opts = {
558
+ offset: 56, # Integer | `offset` indicates the position of the first record to return. The offset is zero-based and the default is 0.
559
+ limit: 56, # Integer | `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.
560
+ last_modified_date_time_start: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filters results to any item modified on or after the date time specified.
561
+ last_modified_date_time_end: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filters results to any item modified on or prior to the date time specified.
562
+ orderby: 'orderby_example', # String | Indicates the field(s) and direction to sort the results in the response.
563
+ include_deactivated: true, # Boolean | Filters results to portfolios with a deactivated records.
564
+ include_custom_fields: true # Boolean | includeCustomFields
565
+ }
566
+
567
+ begin
568
+ # Retrieve all portfolios
569
+ result = api_instance.get_portfolios(opts)
570
+ p result
571
+ rescue Propertyware::ApiError => e
572
+ puts "Error when calling PortfoliosApi->get_portfolios: #{e}"
573
+ end
574
+ ```
575
+
576
+ #### Using the get_portfolios_with_http_info variant
577
+
578
+ This returns an Array which contains the response data, status code and headers.
579
+
580
+ > <Array(<Array<Portfolio>>, Integer, Hash)> get_portfolios_with_http_info(opts)
581
+
582
+ ```ruby
583
+ begin
584
+ # Retrieve all portfolios
585
+ data, status_code, headers = api_instance.get_portfolios_with_http_info(opts)
586
+ p status_code # => 2xx
587
+ p headers # => { ... }
588
+ p data # => <Array<Portfolio>>
589
+ rescue Propertyware::ApiError => e
590
+ puts "Error when calling PortfoliosApi->get_portfolios_with_http_info: #{e}"
591
+ end
592
+ ```
593
+
594
+ ### Parameters
595
+
596
+ | Name | Type | Description | Notes |
597
+ | ---- | ---- | ----------- | ----- |
598
+ | **offset** | **Integer** | &#x60;offset&#x60; indicates the position of the first record to return. The offset is zero-based and the default is 0. | [optional] |
599
+ | **limit** | **Integer** | &#x60;limit&#x60; indicates the maximum number of results to be returned in the response. &#x60;limit&#x60; can range between 1 and 500 and the default is 100. | [optional][default to 100] |
600
+ | **last_modified_date_time_start** | **Time** | Filters results to any item modified on or after the date time specified. | [optional] |
601
+ | **last_modified_date_time_end** | **Time** | Filters results to any item modified on or prior to the date time specified. | [optional] |
602
+ | **orderby** | **String** | Indicates the field(s) and direction to sort the results in the response. | [optional] |
603
+ | **include_deactivated** | **Boolean** | Filters results to portfolios with a deactivated records. | [optional] |
604
+ | **include_custom_fields** | **Boolean** | includeCustomFields | [optional][default to false] |
605
+
606
+ ### Return type
607
+
608
+ [**Array&lt;Portfolio&gt;**](Portfolio.md)
609
+
610
+ ### Authorization
611
+
612
+ [organizationId](../README.md#organizationId), [clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
613
+
614
+ ### HTTP request headers
615
+
616
+ - **Content-Type**: Not defined
617
+ - **Accept**: application/json
618
+
619
+
620
+ ## update_portfolio
621
+
622
+ > <Portfolio> update_portfolio(portfolio_id, save_portfolio)
623
+
624
+ Update a portfolio (BETA)
625
+
626
+ <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 portfolio.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">PORTFOLIOS</span> - <code>Write</code>
627
+
628
+ ### Examples
629
+
630
+ ```ruby
631
+ require 'time'
632
+ require 'propertyware'
633
+ # setup authorization
634
+ Propertyware.configure do |config|
635
+ # Configure API key authorization: organizationId
636
+ config.api_key['organizationId'] = 'YOUR API KEY'
637
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
638
+ # config.api_key_prefix['organizationId'] = 'Bearer'
639
+
640
+ # Configure API key authorization: clientId
641
+ config.api_key['clientId'] = 'YOUR API KEY'
642
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
643
+ # config.api_key_prefix['clientId'] = 'Bearer'
644
+
645
+ # Configure API key authorization: clientSecret
646
+ config.api_key['clientSecret'] = 'YOUR API KEY'
647
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
648
+ # config.api_key_prefix['clientSecret'] = 'Bearer'
649
+ end
650
+
651
+ api_instance = Propertyware::PortfoliosApi.new
652
+ portfolio_id = 789 # Integer | Portfolio ID
653
+ save_portfolio = Propertyware::SavePortfolio.new({abbreviation: 'abbreviation_example', name: 'name_example'}) # SavePortfolio | savePortfolio
654
+
655
+ begin
656
+ # Update a portfolio (BETA)
657
+ result = api_instance.update_portfolio(portfolio_id, save_portfolio)
658
+ p result
659
+ rescue Propertyware::ApiError => e
660
+ puts "Error when calling PortfoliosApi->update_portfolio: #{e}"
661
+ end
662
+ ```
663
+
664
+ #### Using the update_portfolio_with_http_info variant
665
+
666
+ This returns an Array which contains the response data, status code and headers.
667
+
668
+ > <Array(<Portfolio>, Integer, Hash)> update_portfolio_with_http_info(portfolio_id, save_portfolio)
669
+
670
+ ```ruby
671
+ begin
672
+ # Update a portfolio (BETA)
673
+ data, status_code, headers = api_instance.update_portfolio_with_http_info(portfolio_id, save_portfolio)
674
+ p status_code # => 2xx
675
+ p headers # => { ... }
676
+ p data # => <Portfolio>
677
+ rescue Propertyware::ApiError => e
678
+ puts "Error when calling PortfoliosApi->update_portfolio_with_http_info: #{e}"
679
+ end
680
+ ```
681
+
682
+ ### Parameters
683
+
684
+ | Name | Type | Description | Notes |
685
+ | ---- | ---- | ----------- | ----- |
686
+ | **portfolio_id** | **Integer** | Portfolio ID | |
687
+ | **save_portfolio** | [**SavePortfolio**](SavePortfolio.md) | savePortfolio | |
688
+
689
+ ### Return type
690
+
691
+ [**Portfolio**](Portfolio.md)
692
+
693
+ ### Authorization
694
+
695
+ [organizationId](../README.md#organizationId), [clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
696
+
697
+ ### HTTP request headers
698
+
699
+ - **Content-Type**: application/json
700
+ - **Accept**: application/json
701
+