propertyware 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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,789 @@
1
+ # Propertyware::ProspectsApi
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_post3**](ProspectsApi.md#create_contacts_using_post3) | **POST** /prospects/bulk | Create prospects in bulk (BETA) |
8
+ | [**create_prospect**](ProspectsApi.md#create_prospect) | **POST** /prospects | Create a prospect (BETA) |
9
+ | [**create_prospect_conversation**](ProspectsApi.md#create_prospect_conversation) | **POST** /prospects/{prospectID}/conversations | Create a prospect conversation (BETA) |
10
+ | [**delete_prospect_conversation**](ProspectsApi.md#delete_prospect_conversation) | **DELETE** /prospects/{prospectID}/conversations/{conversationID} | Delete a prospect conversation (BETA) |
11
+ | [**get_prospect**](ProspectsApi.md#get_prospect) | **GET** /prospects/{prospectID} | Retrieve a prospect |
12
+ | [**get_prospect_campaign**](ProspectsApi.md#get_prospect_campaign) | **GET** /prospects/{prospectID}/campaign | Retrieve prospect campaign |
13
+ | [**get_prospect_conversation**](ProspectsApi.md#get_prospect_conversation) | **GET** /prospects/{prospectID}/conversations/{conversationID} | Retrieve a prospect conversation |
14
+ | [**get_prospect_conversations**](ProspectsApi.md#get_prospect_conversations) | **GET** /prospects/{prospectID}/conversations | Retrieve all prospect conversations |
15
+ | [**get_prospects**](ProspectsApi.md#get_prospects) | **GET** /prospects | Retrieve all prospects |
16
+
17
+
18
+ ## create_contacts_using_post3
19
+
20
+ > <Array<RESTAPIBulkSuccessResponse>> create_contacts_using_post3(save_prospect)
21
+
22
+ Create prospects in bulk (BETA)
23
+
24
+ <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 prospects in bulk.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">UNITS</span> - <code>Write</code>
25
+
26
+ ### Examples
27
+
28
+ ```ruby
29
+ require 'time'
30
+ require 'propertyware'
31
+ # setup authorization
32
+ Propertyware.configure do |config|
33
+ # Configure API key authorization: organizationId
34
+ config.api_key['organizationId'] = 'YOUR API KEY'
35
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
36
+ # config.api_key_prefix['organizationId'] = 'Bearer'
37
+
38
+ # Configure API key authorization: clientId
39
+ config.api_key['clientId'] = 'YOUR API KEY'
40
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
41
+ # config.api_key_prefix['clientId'] = 'Bearer'
42
+
43
+ # Configure API key authorization: clientSecret
44
+ config.api_key['clientSecret'] = 'YOUR API KEY'
45
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
46
+ # config.api_key_prefix['clientSecret'] = 'Bearer'
47
+ end
48
+
49
+ api_instance = Propertyware::ProspectsApi.new
50
+ save_prospect = [Propertyware::SaveProspect.new] # Array<SaveProspect> | saveProspect
51
+
52
+ begin
53
+ # Create prospects in bulk (BETA)
54
+ result = api_instance.create_contacts_using_post3(save_prospect)
55
+ p result
56
+ rescue Propertyware::ApiError => e
57
+ puts "Error when calling ProspectsApi->create_contacts_using_post3: #{e}"
58
+ end
59
+ ```
60
+
61
+ #### Using the create_contacts_using_post3_with_http_info variant
62
+
63
+ This returns an Array which contains the response data, status code and headers.
64
+
65
+ > <Array(<Array<RESTAPIBulkSuccessResponse>>, Integer, Hash)> create_contacts_using_post3_with_http_info(save_prospect)
66
+
67
+ ```ruby
68
+ begin
69
+ # Create prospects in bulk (BETA)
70
+ data, status_code, headers = api_instance.create_contacts_using_post3_with_http_info(save_prospect)
71
+ p status_code # => 2xx
72
+ p headers # => { ... }
73
+ p data # => <Array<RESTAPIBulkSuccessResponse>>
74
+ rescue Propertyware::ApiError => e
75
+ puts "Error when calling ProspectsApi->create_contacts_using_post3_with_http_info: #{e}"
76
+ end
77
+ ```
78
+
79
+ ### Parameters
80
+
81
+ | Name | Type | Description | Notes |
82
+ | ---- | ---- | ----------- | ----- |
83
+ | **save_prospect** | [**Array&lt;SaveProspect&gt;**](SaveProspect.md) | saveProspect | |
84
+
85
+ ### Return type
86
+
87
+ [**Array&lt;RESTAPIBulkSuccessResponse&gt;**](RESTAPIBulkSuccessResponse.md)
88
+
89
+ ### Authorization
90
+
91
+ [organizationId](../README.md#organizationId), [clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
92
+
93
+ ### HTTP request headers
94
+
95
+ - **Content-Type**: application/json
96
+ - **Accept**: application/json
97
+
98
+
99
+ ## create_prospect
100
+
101
+ > <Prospect> create_prospect(save_prospect)
102
+
103
+ Create a prospect (BETA)
104
+
105
+ <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 prospect.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">PROSPECTS</span> - <code>Write</code>
106
+
107
+ ### Examples
108
+
109
+ ```ruby
110
+ require 'time'
111
+ require 'propertyware'
112
+ # setup authorization
113
+ Propertyware.configure do |config|
114
+ # Configure API key authorization: organizationId
115
+ config.api_key['organizationId'] = 'YOUR API KEY'
116
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
117
+ # config.api_key_prefix['organizationId'] = 'Bearer'
118
+
119
+ # Configure API key authorization: clientId
120
+ config.api_key['clientId'] = 'YOUR API KEY'
121
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
122
+ # config.api_key_prefix['clientId'] = 'Bearer'
123
+
124
+ # Configure API key authorization: clientSecret
125
+ config.api_key['clientSecret'] = 'YOUR API KEY'
126
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
127
+ # config.api_key_prefix['clientSecret'] = 'Bearer'
128
+ end
129
+
130
+ api_instance = Propertyware::ProspectsApi.new
131
+ save_prospect = Propertyware::SaveProspect.new # SaveProspect | saveProspect
132
+
133
+ begin
134
+ # Create a prospect (BETA)
135
+ result = api_instance.create_prospect(save_prospect)
136
+ p result
137
+ rescue Propertyware::ApiError => e
138
+ puts "Error when calling ProspectsApi->create_prospect: #{e}"
139
+ end
140
+ ```
141
+
142
+ #### Using the create_prospect_with_http_info variant
143
+
144
+ This returns an Array which contains the response data, status code and headers.
145
+
146
+ > <Array(<Prospect>, Integer, Hash)> create_prospect_with_http_info(save_prospect)
147
+
148
+ ```ruby
149
+ begin
150
+ # Create a prospect (BETA)
151
+ data, status_code, headers = api_instance.create_prospect_with_http_info(save_prospect)
152
+ p status_code # => 2xx
153
+ p headers # => { ... }
154
+ p data # => <Prospect>
155
+ rescue Propertyware::ApiError => e
156
+ puts "Error when calling ProspectsApi->create_prospect_with_http_info: #{e}"
157
+ end
158
+ ```
159
+
160
+ ### Parameters
161
+
162
+ | Name | Type | Description | Notes |
163
+ | ---- | ---- | ----------- | ----- |
164
+ | **save_prospect** | [**SaveProspect**](SaveProspect.md) | saveProspect | |
165
+
166
+ ### Return type
167
+
168
+ [**Prospect**](Prospect.md)
169
+
170
+ ### Authorization
171
+
172
+ [organizationId](../README.md#organizationId), [clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
173
+
174
+ ### HTTP request headers
175
+
176
+ - **Content-Type**: application/json
177
+ - **Accept**: application/json
178
+
179
+
180
+ ## create_prospect_conversation
181
+
182
+ > <Conversation> create_prospect_conversation(prospect_id, save_conversation)
183
+
184
+ Create a prospect conversation (BETA)
185
+
186
+ <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 prospect conversation.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">PROSPECTS</span> - <code>Write</code>
187
+
188
+ ### Examples
189
+
190
+ ```ruby
191
+ require 'time'
192
+ require 'propertyware'
193
+ # setup authorization
194
+ Propertyware.configure do |config|
195
+ # Configure API key authorization: organizationId
196
+ config.api_key['organizationId'] = 'YOUR API KEY'
197
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
198
+ # config.api_key_prefix['organizationId'] = 'Bearer'
199
+
200
+ # Configure API key authorization: clientId
201
+ config.api_key['clientId'] = 'YOUR API KEY'
202
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
203
+ # config.api_key_prefix['clientId'] = 'Bearer'
204
+
205
+ # Configure API key authorization: clientSecret
206
+ config.api_key['clientSecret'] = 'YOUR API KEY'
207
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
208
+ # config.api_key_prefix['clientSecret'] = 'Bearer'
209
+ end
210
+
211
+ api_instance = Propertyware::ProspectsApi.new
212
+ prospect_id = 789 # Integer | Prospect ID
213
+ save_conversation = Propertyware::SaveConversation.new({text: 'text_example', type: 'MANAGEMENT_TEAM'}) # SaveConversation | saveConversation
214
+
215
+ begin
216
+ # Create a prospect conversation (BETA)
217
+ result = api_instance.create_prospect_conversation(prospect_id, save_conversation)
218
+ p result
219
+ rescue Propertyware::ApiError => e
220
+ puts "Error when calling ProspectsApi->create_prospect_conversation: #{e}"
221
+ end
222
+ ```
223
+
224
+ #### Using the create_prospect_conversation_with_http_info variant
225
+
226
+ This returns an Array which contains the response data, status code and headers.
227
+
228
+ > <Array(<Conversation>, Integer, Hash)> create_prospect_conversation_with_http_info(prospect_id, save_conversation)
229
+
230
+ ```ruby
231
+ begin
232
+ # Create a prospect conversation (BETA)
233
+ data, status_code, headers = api_instance.create_prospect_conversation_with_http_info(prospect_id, save_conversation)
234
+ p status_code # => 2xx
235
+ p headers # => { ... }
236
+ p data # => <Conversation>
237
+ rescue Propertyware::ApiError => e
238
+ puts "Error when calling ProspectsApi->create_prospect_conversation_with_http_info: #{e}"
239
+ end
240
+ ```
241
+
242
+ ### Parameters
243
+
244
+ | Name | Type | Description | Notes |
245
+ | ---- | ---- | ----------- | ----- |
246
+ | **prospect_id** | **Integer** | Prospect ID | |
247
+ | **save_conversation** | [**SaveConversation**](SaveConversation.md) | saveConversation | |
248
+
249
+ ### Return type
250
+
251
+ [**Conversation**](Conversation.md)
252
+
253
+ ### Authorization
254
+
255
+ [organizationId](../README.md#organizationId), [clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
256
+
257
+ ### HTTP request headers
258
+
259
+ - **Content-Type**: application/json
260
+ - **Accept**: application/json
261
+
262
+
263
+ ## delete_prospect_conversation
264
+
265
+ > <ResponseEntity> delete_prospect_conversation(prospect_id, conversation_id)
266
+
267
+ Delete a prospect conversation (BETA)
268
+
269
+ <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 prospect conversation.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">PROSPECTS</span> - <code>Delete</code>
270
+
271
+ ### Examples
272
+
273
+ ```ruby
274
+ require 'time'
275
+ require 'propertyware'
276
+ # setup authorization
277
+ Propertyware.configure do |config|
278
+ # Configure API key authorization: organizationId
279
+ config.api_key['organizationId'] = 'YOUR API KEY'
280
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
281
+ # config.api_key_prefix['organizationId'] = 'Bearer'
282
+
283
+ # Configure API key authorization: clientId
284
+ config.api_key['clientId'] = 'YOUR API KEY'
285
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
286
+ # config.api_key_prefix['clientId'] = 'Bearer'
287
+
288
+ # Configure API key authorization: clientSecret
289
+ config.api_key['clientSecret'] = 'YOUR API KEY'
290
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
291
+ # config.api_key_prefix['clientSecret'] = 'Bearer'
292
+ end
293
+
294
+ api_instance = Propertyware::ProspectsApi.new
295
+ prospect_id = 789 # Integer | Prospect ID
296
+ conversation_id = 789 # Integer | Conversation ID
297
+
298
+ begin
299
+ # Delete a prospect conversation (BETA)
300
+ result = api_instance.delete_prospect_conversation(prospect_id, conversation_id)
301
+ p result
302
+ rescue Propertyware::ApiError => e
303
+ puts "Error when calling ProspectsApi->delete_prospect_conversation: #{e}"
304
+ end
305
+ ```
306
+
307
+ #### Using the delete_prospect_conversation_with_http_info variant
308
+
309
+ This returns an Array which contains the response data, status code and headers.
310
+
311
+ > <Array(<ResponseEntity>, Integer, Hash)> delete_prospect_conversation_with_http_info(prospect_id, conversation_id)
312
+
313
+ ```ruby
314
+ begin
315
+ # Delete a prospect conversation (BETA)
316
+ data, status_code, headers = api_instance.delete_prospect_conversation_with_http_info(prospect_id, conversation_id)
317
+ p status_code # => 2xx
318
+ p headers # => { ... }
319
+ p data # => <ResponseEntity>
320
+ rescue Propertyware::ApiError => e
321
+ puts "Error when calling ProspectsApi->delete_prospect_conversation_with_http_info: #{e}"
322
+ end
323
+ ```
324
+
325
+ ### Parameters
326
+
327
+ | Name | Type | Description | Notes |
328
+ | ---- | ---- | ----------- | ----- |
329
+ | **prospect_id** | **Integer** | Prospect ID | |
330
+ | **conversation_id** | **Integer** | Conversation ID | |
331
+
332
+ ### Return type
333
+
334
+ [**ResponseEntity**](ResponseEntity.md)
335
+
336
+ ### Authorization
337
+
338
+ [organizationId](../README.md#organizationId), [clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
339
+
340
+ ### HTTP request headers
341
+
342
+ - **Content-Type**: Not defined
343
+ - **Accept**: application/json
344
+
345
+
346
+ ## get_prospect
347
+
348
+ > <Prospect> get_prospect(prospect_id, opts)
349
+
350
+ Retrieve a prospect
351
+
352
+ Retrieves a specific prospect.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">PROSPECTS</span> - <code>Read</code>
353
+
354
+ ### Examples
355
+
356
+ ```ruby
357
+ require 'time'
358
+ require 'propertyware'
359
+ # setup authorization
360
+ Propertyware.configure do |config|
361
+ # Configure API key authorization: organizationId
362
+ config.api_key['organizationId'] = 'YOUR API KEY'
363
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
364
+ # config.api_key_prefix['organizationId'] = 'Bearer'
365
+
366
+ # Configure API key authorization: clientId
367
+ config.api_key['clientId'] = 'YOUR API KEY'
368
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
369
+ # config.api_key_prefix['clientId'] = 'Bearer'
370
+
371
+ # Configure API key authorization: clientSecret
372
+ config.api_key['clientSecret'] = 'YOUR API KEY'
373
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
374
+ # config.api_key_prefix['clientSecret'] = 'Bearer'
375
+ end
376
+
377
+ api_instance = Propertyware::ProspectsApi.new
378
+ prospect_id = 789 # Integer | Prospect ID
379
+ opts = {
380
+ include_custom_fields: true # Boolean | includeCustomFields
381
+ }
382
+
383
+ begin
384
+ # Retrieve a prospect
385
+ result = api_instance.get_prospect(prospect_id, opts)
386
+ p result
387
+ rescue Propertyware::ApiError => e
388
+ puts "Error when calling ProspectsApi->get_prospect: #{e}"
389
+ end
390
+ ```
391
+
392
+ #### Using the get_prospect_with_http_info variant
393
+
394
+ This returns an Array which contains the response data, status code and headers.
395
+
396
+ > <Array(<Prospect>, Integer, Hash)> get_prospect_with_http_info(prospect_id, opts)
397
+
398
+ ```ruby
399
+ begin
400
+ # Retrieve a prospect
401
+ data, status_code, headers = api_instance.get_prospect_with_http_info(prospect_id, opts)
402
+ p status_code # => 2xx
403
+ p headers # => { ... }
404
+ p data # => <Prospect>
405
+ rescue Propertyware::ApiError => e
406
+ puts "Error when calling ProspectsApi->get_prospect_with_http_info: #{e}"
407
+ end
408
+ ```
409
+
410
+ ### Parameters
411
+
412
+ | Name | Type | Description | Notes |
413
+ | ---- | ---- | ----------- | ----- |
414
+ | **prospect_id** | **Integer** | Prospect ID | |
415
+ | **include_custom_fields** | **Boolean** | includeCustomFields | [optional][default to true] |
416
+
417
+ ### Return type
418
+
419
+ [**Prospect**](Prospect.md)
420
+
421
+ ### Authorization
422
+
423
+ [organizationId](../README.md#organizationId), [clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
424
+
425
+ ### HTTP request headers
426
+
427
+ - **Content-Type**: Not defined
428
+ - **Accept**: application/json
429
+
430
+
431
+ ## get_prospect_campaign
432
+
433
+ > <Campaign> get_prospect_campaign(prospect_id)
434
+
435
+ Retrieve prospect campaign
436
+
437
+ Retrieves the campaign details of a prospect.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">PROSPECTS</span> - <code>Read</code>
438
+
439
+ ### Examples
440
+
441
+ ```ruby
442
+ require 'time'
443
+ require 'propertyware'
444
+ # setup authorization
445
+ Propertyware.configure do |config|
446
+ # Configure API key authorization: organizationId
447
+ config.api_key['organizationId'] = 'YOUR API KEY'
448
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
449
+ # config.api_key_prefix['organizationId'] = 'Bearer'
450
+
451
+ # Configure API key authorization: clientId
452
+ config.api_key['clientId'] = 'YOUR API KEY'
453
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
454
+ # config.api_key_prefix['clientId'] = 'Bearer'
455
+
456
+ # Configure API key authorization: clientSecret
457
+ config.api_key['clientSecret'] = 'YOUR API KEY'
458
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
459
+ # config.api_key_prefix['clientSecret'] = 'Bearer'
460
+ end
461
+
462
+ api_instance = Propertyware::ProspectsApi.new
463
+ prospect_id = 789 # Integer | Prospect ID
464
+
465
+ begin
466
+ # Retrieve prospect campaign
467
+ result = api_instance.get_prospect_campaign(prospect_id)
468
+ p result
469
+ rescue Propertyware::ApiError => e
470
+ puts "Error when calling ProspectsApi->get_prospect_campaign: #{e}"
471
+ end
472
+ ```
473
+
474
+ #### Using the get_prospect_campaign_with_http_info variant
475
+
476
+ This returns an Array which contains the response data, status code and headers.
477
+
478
+ > <Array(<Campaign>, Integer, Hash)> get_prospect_campaign_with_http_info(prospect_id)
479
+
480
+ ```ruby
481
+ begin
482
+ # Retrieve prospect campaign
483
+ data, status_code, headers = api_instance.get_prospect_campaign_with_http_info(prospect_id)
484
+ p status_code # => 2xx
485
+ p headers # => { ... }
486
+ p data # => <Campaign>
487
+ rescue Propertyware::ApiError => e
488
+ puts "Error when calling ProspectsApi->get_prospect_campaign_with_http_info: #{e}"
489
+ end
490
+ ```
491
+
492
+ ### Parameters
493
+
494
+ | Name | Type | Description | Notes |
495
+ | ---- | ---- | ----------- | ----- |
496
+ | **prospect_id** | **Integer** | Prospect ID | |
497
+
498
+ ### Return type
499
+
500
+ [**Campaign**](Campaign.md)
501
+
502
+ ### Authorization
503
+
504
+ [organizationId](../README.md#organizationId), [clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
505
+
506
+ ### HTTP request headers
507
+
508
+ - **Content-Type**: Not defined
509
+ - **Accept**: application/json
510
+
511
+
512
+ ## get_prospect_conversation
513
+
514
+ > <Conversation> get_prospect_conversation(prospect_id, conversation_id)
515
+
516
+ Retrieve a prospect conversation
517
+
518
+ Retrieves a specific prospect conversation.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">PROSPECTS</span> - <code>Read</code>
519
+
520
+ ### Examples
521
+
522
+ ```ruby
523
+ require 'time'
524
+ require 'propertyware'
525
+ # setup authorization
526
+ Propertyware.configure do |config|
527
+ # Configure API key authorization: organizationId
528
+ config.api_key['organizationId'] = 'YOUR API KEY'
529
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
530
+ # config.api_key_prefix['organizationId'] = 'Bearer'
531
+
532
+ # Configure API key authorization: clientId
533
+ config.api_key['clientId'] = 'YOUR API KEY'
534
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
535
+ # config.api_key_prefix['clientId'] = 'Bearer'
536
+
537
+ # Configure API key authorization: clientSecret
538
+ config.api_key['clientSecret'] = 'YOUR API KEY'
539
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
540
+ # config.api_key_prefix['clientSecret'] = 'Bearer'
541
+ end
542
+
543
+ api_instance = Propertyware::ProspectsApi.new
544
+ prospect_id = 789 # Integer | Prospect ID
545
+ conversation_id = 789 # Integer | Conversation ID
546
+
547
+ begin
548
+ # Retrieve a prospect conversation
549
+ result = api_instance.get_prospect_conversation(prospect_id, conversation_id)
550
+ p result
551
+ rescue Propertyware::ApiError => e
552
+ puts "Error when calling ProspectsApi->get_prospect_conversation: #{e}"
553
+ end
554
+ ```
555
+
556
+ #### Using the get_prospect_conversation_with_http_info variant
557
+
558
+ This returns an Array which contains the response data, status code and headers.
559
+
560
+ > <Array(<Conversation>, Integer, Hash)> get_prospect_conversation_with_http_info(prospect_id, conversation_id)
561
+
562
+ ```ruby
563
+ begin
564
+ # Retrieve a prospect conversation
565
+ data, status_code, headers = api_instance.get_prospect_conversation_with_http_info(prospect_id, conversation_id)
566
+ p status_code # => 2xx
567
+ p headers # => { ... }
568
+ p data # => <Conversation>
569
+ rescue Propertyware::ApiError => e
570
+ puts "Error when calling ProspectsApi->get_prospect_conversation_with_http_info: #{e}"
571
+ end
572
+ ```
573
+
574
+ ### Parameters
575
+
576
+ | Name | Type | Description | Notes |
577
+ | ---- | ---- | ----------- | ----- |
578
+ | **prospect_id** | **Integer** | Prospect ID | |
579
+ | **conversation_id** | **Integer** | Conversation ID | |
580
+
581
+ ### Return type
582
+
583
+ [**Conversation**](Conversation.md)
584
+
585
+ ### Authorization
586
+
587
+ [organizationId](../README.md#organizationId), [clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
588
+
589
+ ### HTTP request headers
590
+
591
+ - **Content-Type**: Not defined
592
+ - **Accept**: application/json
593
+
594
+
595
+ ## get_prospect_conversations
596
+
597
+ > <Array<Conversation>> get_prospect_conversations(prospect_id, opts)
598
+
599
+ Retrieve all prospect conversations
600
+
601
+ Retrieves all the conversations of a prospect.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">PROSPECTS</span> - <code>Read</code> <br/><br/><b>Sortable by:</b> <code>createddate</code>, <code>lastmodifieddatetime</code>, <code>id</code>
602
+
603
+ ### Examples
604
+
605
+ ```ruby
606
+ require 'time'
607
+ require 'propertyware'
608
+ # setup authorization
609
+ Propertyware.configure do |config|
610
+ # Configure API key authorization: organizationId
611
+ config.api_key['organizationId'] = 'YOUR API KEY'
612
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
613
+ # config.api_key_prefix['organizationId'] = 'Bearer'
614
+
615
+ # Configure API key authorization: clientId
616
+ config.api_key['clientId'] = 'YOUR API KEY'
617
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
618
+ # config.api_key_prefix['clientId'] = 'Bearer'
619
+
620
+ # Configure API key authorization: clientSecret
621
+ config.api_key['clientSecret'] = 'YOUR API KEY'
622
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
623
+ # config.api_key_prefix['clientSecret'] = 'Bearer'
624
+ end
625
+
626
+ api_instance = Propertyware::ProspectsApi.new
627
+ prospect_id = 789 # Integer | Prospect ID
628
+ opts = {
629
+ offset: 56, # Integer | `offset` indicates the position of the first record to return. The offset is zero-based and the default is 0.
630
+ 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.
631
+ 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.
632
+ 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.
633
+ orderby: 'orderby_example', # String | Indicates the field(s) and direction to sort the results in the response.
634
+ type: 'MANAGEMENT_TEAM' # String | Filters results by the conversation type.
635
+ }
636
+
637
+ begin
638
+ # Retrieve all prospect conversations
639
+ result = api_instance.get_prospect_conversations(prospect_id, opts)
640
+ p result
641
+ rescue Propertyware::ApiError => e
642
+ puts "Error when calling ProspectsApi->get_prospect_conversations: #{e}"
643
+ end
644
+ ```
645
+
646
+ #### Using the get_prospect_conversations_with_http_info variant
647
+
648
+ This returns an Array which contains the response data, status code and headers.
649
+
650
+ > <Array(<Array<Conversation>>, Integer, Hash)> get_prospect_conversations_with_http_info(prospect_id, opts)
651
+
652
+ ```ruby
653
+ begin
654
+ # Retrieve all prospect conversations
655
+ data, status_code, headers = api_instance.get_prospect_conversations_with_http_info(prospect_id, opts)
656
+ p status_code # => 2xx
657
+ p headers # => { ... }
658
+ p data # => <Array<Conversation>>
659
+ rescue Propertyware::ApiError => e
660
+ puts "Error when calling ProspectsApi->get_prospect_conversations_with_http_info: #{e}"
661
+ end
662
+ ```
663
+
664
+ ### Parameters
665
+
666
+ | Name | Type | Description | Notes |
667
+ | ---- | ---- | ----------- | ----- |
668
+ | **prospect_id** | **Integer** | Prospect ID | |
669
+ | **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] |
670
+ | **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] |
671
+ | **last_modified_date_time_start** | **Time** | Filters results to any item modified on or after the date time specified. | [optional] |
672
+ | **last_modified_date_time_end** | **Time** | Filters results to any item modified on or prior to the date time specified. | [optional] |
673
+ | **orderby** | **String** | Indicates the field(s) and direction to sort the results in the response. | [optional] |
674
+ | **type** | **String** | Filters results by the conversation type. | [optional] |
675
+
676
+ ### Return type
677
+
678
+ [**Array&lt;Conversation&gt;**](Conversation.md)
679
+
680
+ ### Authorization
681
+
682
+ [organizationId](../README.md#organizationId), [clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
683
+
684
+ ### HTTP request headers
685
+
686
+ - **Content-Type**: Not defined
687
+ - **Accept**: application/json
688
+
689
+
690
+ ## get_prospects
691
+
692
+ > <Array<Prospect>> get_prospects(opts)
693
+
694
+ Retrieve all prospects
695
+
696
+ Retrieves a list of prospects.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">PROSPECTS</span> - <code>Read</code> <br/><br/><b>Sortable by:</b> <code>createddate</code>, <code>type</code>, <code>lastmodifieddatetime</code>, <code>status</code>, <code>id</code>
697
+
698
+ ### Examples
699
+
700
+ ```ruby
701
+ require 'time'
702
+ require 'propertyware'
703
+ # setup authorization
704
+ Propertyware.configure do |config|
705
+ # Configure API key authorization: organizationId
706
+ config.api_key['organizationId'] = 'YOUR API KEY'
707
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
708
+ # config.api_key_prefix['organizationId'] = 'Bearer'
709
+
710
+ # Configure API key authorization: clientId
711
+ config.api_key['clientId'] = 'YOUR API KEY'
712
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
713
+ # config.api_key_prefix['clientId'] = 'Bearer'
714
+
715
+ # Configure API key authorization: clientSecret
716
+ config.api_key['clientSecret'] = 'YOUR API KEY'
717
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
718
+ # config.api_key_prefix['clientSecret'] = 'Bearer'
719
+ end
720
+
721
+ api_instance = Propertyware::ProspectsApi.new
722
+ opts = {
723
+ offset: 56, # Integer | `offset` indicates the position of the first record to return. The offset is zero-based and the default is 0.
724
+ 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.
725
+ 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.
726
+ 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.
727
+ orderby: 'orderby_example', # String | Indicates the field(s) and direction to sort the results in the response.
728
+ status: 'status_example', # String | Filters results to prospects with a specific status.
729
+ portfolio_id: 789, # Integer | Filters results to prospects associated with a specific portfolio.
730
+ building_id: 789, # Integer | Filters results to prospects associated with a specific building.
731
+ type: 'type_example', # String | Filters results to prospects with a specific type.
732
+ include_custom_fields: true # Boolean | includeCustomFields
733
+ }
734
+
735
+ begin
736
+ # Retrieve all prospects
737
+ result = api_instance.get_prospects(opts)
738
+ p result
739
+ rescue Propertyware::ApiError => e
740
+ puts "Error when calling ProspectsApi->get_prospects: #{e}"
741
+ end
742
+ ```
743
+
744
+ #### Using the get_prospects_with_http_info variant
745
+
746
+ This returns an Array which contains the response data, status code and headers.
747
+
748
+ > <Array(<Array<Prospect>>, Integer, Hash)> get_prospects_with_http_info(opts)
749
+
750
+ ```ruby
751
+ begin
752
+ # Retrieve all prospects
753
+ data, status_code, headers = api_instance.get_prospects_with_http_info(opts)
754
+ p status_code # => 2xx
755
+ p headers # => { ... }
756
+ p data # => <Array<Prospect>>
757
+ rescue Propertyware::ApiError => e
758
+ puts "Error when calling ProspectsApi->get_prospects_with_http_info: #{e}"
759
+ end
760
+ ```
761
+
762
+ ### Parameters
763
+
764
+ | Name | Type | Description | Notes |
765
+ | ---- | ---- | ----------- | ----- |
766
+ | **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] |
767
+ | **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] |
768
+ | **last_modified_date_time_start** | **Time** | Filters results to any item modified on or after the date time specified. | [optional] |
769
+ | **last_modified_date_time_end** | **Time** | Filters results to any item modified on or prior to the date time specified. | [optional] |
770
+ | **orderby** | **String** | Indicates the field(s) and direction to sort the results in the response. | [optional] |
771
+ | **status** | **String** | Filters results to prospects with a specific status. | [optional] |
772
+ | **portfolio_id** | **Integer** | Filters results to prospects associated with a specific portfolio. | [optional] |
773
+ | **building_id** | **Integer** | Filters results to prospects associated with a specific building. | [optional] |
774
+ | **type** | **String** | Filters results to prospects with a specific type. | [optional] |
775
+ | **include_custom_fields** | **Boolean** | includeCustomFields | [optional][default to false] |
776
+
777
+ ### Return type
778
+
779
+ [**Array&lt;Prospect&gt;**](Prospect.md)
780
+
781
+ ### Authorization
782
+
783
+ [organizationId](../README.md#organizationId), [clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
784
+
785
+ ### HTTP request headers
786
+
787
+ - **Content-Type**: Not defined
788
+ - **Accept**: application/json
789
+