crelate_client 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (331) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +7 -0
  3. data/Gemfile.lock +69 -0
  4. data/README.md +267 -0
  5. data/Rakefile +8 -0
  6. data/crelate_client-1.0.0.gem +0 -0
  7. data/crelate_client.gemspec +45 -0
  8. data/docs/AssignedTo.md +11 -0
  9. data/docs/AssignedToRequest.md +9 -0
  10. data/docs/BoardParameters.md +9 -0
  11. data/docs/BroadcastMessage.md +15 -0
  12. data/docs/BroadcastMessageCreateRequest.md +9 -0
  13. data/docs/CompaniesApi.md +921 -0
  14. data/docs/Company.md +11 -0
  15. data/docs/ComplianceSettingsPayload.md +8 -0
  16. data/docs/ConsentRequestPayload.md +9 -0
  17. data/docs/ContactsApi.md +1246 -0
  18. data/docs/CrelateAction.md +14 -0
  19. data/docs/CrelateActionPayload.md +10 -0
  20. data/docs/CrelateDetails.md +10 -0
  21. data/docs/CustomFormCompletedForm.md +11 -0
  22. data/docs/CustomFormDefinition.md +16 -0
  23. data/docs/CustomFormDefinitionEntities.md +9 -0
  24. data/docs/CustomFormFormDefinitionUsage.md +10 -0
  25. data/docs/CustomFormFormDefintionUsageJobs.md +9 -0
  26. data/docs/CustomFormFormFieldUsage.md +11 -0
  27. data/docs/CustomFormFormFieldUsageFormDefinition.md +10 -0
  28. data/docs/CustomFormLayoutSection.md +9 -0
  29. data/docs/CustomFormSaveResponse.md +12 -0
  30. data/docs/DocumentCollection.md +10 -0
  31. data/docs/DocumentItem.md +22 -0
  32. data/docs/DomainApi.md +198 -0
  33. data/docs/EmailAttachment.md +9 -0
  34. data/docs/EntityDocumentOptions.md +8 -0
  35. data/docs/EntityLookup.md +15 -0
  36. data/docs/ExtIntegrationResponseInterviewResponse.md +11 -0
  37. data/docs/ExtReferralRequest.md +12 -0
  38. data/docs/ExtResumeCandidate.md +21 -0
  39. data/docs/ExtResumeCareerBuilderValidateCredentialsResponse.md +9 -0
  40. data/docs/ExtResumeOrgState.md +27 -0
  41. data/docs/ExtResumePackagePricing.md +11 -0
  42. data/docs/ExtResumePackageUpdateRequest.md +9 -0
  43. data/docs/ExtResumeSearchResponse.md +9 -0
  44. data/docs/ExtResumeViewResponse.md +30 -0
  45. data/docs/FusebillStateItem.md +9 -0
  46. data/docs/GetDocumentListOptions.md +10 -0
  47. data/docs/InterviewRequest.md +9 -0
  48. data/docs/InterviewRequestDetails.md +15 -0
  49. data/docs/InterviewResponse.md +18 -0
  50. data/docs/JobPostRequest.md +9 -0
  51. data/docs/JobPostingsApi.md +378 -0
  52. data/docs/JobResponse.md +15 -0
  53. data/docs/JobsApi.md +1197 -0
  54. data/docs/MultiEntityLookup.md +8 -0
  55. data/docs/NotesApi.md +215 -0
  56. data/docs/OrgAuditLogEvent.md +22 -0
  57. data/docs/PostPurchaseRequest.md +12 -0
  58. data/docs/PublicApiAttachmentResponse.md +19 -0
  59. data/docs/PublicApiAttachmentResponseList.md +9 -0
  60. data/docs/PublicApiDocumentType.md +10 -0
  61. data/docs/PublicApiGetAccountResponse.md +85 -0
  62. data/docs/PublicApiGetAccountResponseList.md +9 -0
  63. data/docs/PublicApiGetContactJob.md +13 -0
  64. data/docs/PublicApiGetContactResponse.md +151 -0
  65. data/docs/PublicApiGetContactResponseList.md +9 -0
  66. data/docs/PublicApiGetJobContact.md +13 -0
  67. data/docs/PublicApiGetJobListResponse.md +9 -0
  68. data/docs/PublicApiGetJobPostingListResponse.md +9 -0
  69. data/docs/PublicApiGetJobPostingResponse.md +29 -0
  70. data/docs/PublicApiGetJobPostingSearchResponse.md +8 -0
  71. data/docs/PublicApiGetJobPostingSearchResult.md +18 -0
  72. data/docs/PublicApiGetJobResponse.md +127 -0
  73. data/docs/PublicApiGetNoteResponse.md +21 -0
  74. data/docs/PublicApiGetTaskResponse.md +23 -0
  75. data/docs/PublicApiIdResponse.md +8 -0
  76. data/docs/PublicApiPlacementResponse.md +32 -0
  77. data/docs/PublicApiPlacementResponseList.md +9 -0
  78. data/docs/PublicApiRecordOwner.md +10 -0
  79. data/docs/PublicApiSaveAccountRequest.md +74 -0
  80. data/docs/PublicApiSaveAttachmentRequest.md +13 -0
  81. data/docs/PublicApiSaveContactRequest.md +139 -0
  82. data/docs/PublicApiSaveJobApplicationRequest.md +13 -0
  83. data/docs/PublicApiSaveJobPostingRequest.md +19 -0
  84. data/docs/PublicApiSaveJobRequest.md +95 -0
  85. data/docs/PublicApiSaveJobRequestJobType.md +9 -0
  86. data/docs/PublicApiSaveNoteRequest.md +11 -0
  87. data/docs/PublicApiSaveTaskRequest.md +13 -0
  88. data/docs/PublicApiSaveWorkflowItemStatusRequest.md +9 -0
  89. data/docs/PublicApiTagCategory.md +9 -0
  90. data/docs/PublicApiWorkflowStatus.md +12 -0
  91. data/docs/PublicApiWorkflowType.md +9 -0
  92. data/docs/Question.md +13 -0
  93. data/docs/QuestionSetResponse.md +12 -0
  94. data/docs/SaveExtCredentialResponse.md +10 -0
  95. data/docs/SearchContact.md +11 -0
  96. data/docs/SendEmailResponse.md +13 -0
  97. data/docs/SendSubmittalDetail.md +11 -0
  98. data/docs/ShareLink.md +13 -0
  99. data/docs/SignupInformation.md +19 -0
  100. data/docs/SmsPlivoMessageReceivedRequest.md +15 -0
  101. data/docs/SmsPlivoMessageStatusReceivedRequest.md +17 -0
  102. data/docs/SmsPlivoVoiceAnswerRequest.md +13 -0
  103. data/docs/SmsPlivoVoiceHangupRequest.md +19 -0
  104. data/docs/SparkHireResponseInfoInterviewResponse.md +11 -0
  105. data/docs/SparkHireResponseInfoJobResponse.md +11 -0
  106. data/docs/SparkHireResponseInfoQuestionSetResponse.md +11 -0
  107. data/docs/TasksApi.md +215 -0
  108. data/docs/UserResponse.md +12 -0
  109. data/docs/WayupData.md +15 -0
  110. data/docs/WebhookDeleteResponse.md +8 -0
  111. data/docs/ZipApplyData.md +15 -0
  112. data/git_push.sh +55 -0
  113. data/lib/.DS_Store +0 -0
  114. data/lib/crelate_client/.DS_Store +0 -0
  115. data/lib/crelate_client/api/companies_api.rb +1151 -0
  116. data/lib/crelate_client/api/contacts_api.rb +1552 -0
  117. data/lib/crelate_client/api/domain_api.rb +239 -0
  118. data/lib/crelate_client/api/job_postings_api.rb +467 -0
  119. data/lib/crelate_client/api/jobs_api.rb +1494 -0
  120. data/lib/crelate_client/api/notes_api.rb +273 -0
  121. data/lib/crelate_client/api/tasks_api.rb +273 -0
  122. data/lib/crelate_client/api_client.rb +388 -0
  123. data/lib/crelate_client/api_error.rb +38 -0
  124. data/lib/crelate_client/configuration.rb +202 -0
  125. data/lib/crelate_client/models/assigned_to.rb +215 -0
  126. data/lib/crelate_client/models/assigned_to_request.rb +197 -0
  127. data/lib/crelate_client/models/board_parameters.rb +199 -0
  128. data/lib/crelate_client/models/broadcast_message.rb +284 -0
  129. data/lib/crelate_client/models/broadcast_message_create_request.rb +197 -0
  130. data/lib/crelate_client/models/company.rb +215 -0
  131. data/lib/crelate_client/models/compliance_settings_payload.rb +188 -0
  132. data/lib/crelate_client/models/consent_request_payload.rb +197 -0
  133. data/lib/crelate_client/models/crelate_action.rb +279 -0
  134. data/lib/crelate_client/models/crelate_action_payload.rb +210 -0
  135. data/lib/crelate_client/models/crelate_details.rb +206 -0
  136. data/lib/crelate_client/models/custom_form_completed_form.rb +221 -0
  137. data/lib/crelate_client/models/custom_form_definition.rb +264 -0
  138. data/lib/crelate_client/models/custom_form_definition_entities.rb +201 -0
  139. data/lib/crelate_client/models/custom_form_form_definition_usage.rb +210 -0
  140. data/lib/crelate_client/models/custom_form_form_defintion_usage_jobs.rb +197 -0
  141. data/lib/crelate_client/models/custom_form_form_field_usage.rb +221 -0
  142. data/lib/crelate_client/models/custom_form_form_field_usage_form_definition.rb +206 -0
  143. data/lib/crelate_client/models/custom_form_layout_section.rb +199 -0
  144. data/lib/crelate_client/models/custom_form_save_response.rb +259 -0
  145. data/lib/crelate_client/models/document_collection.rb +212 -0
  146. data/lib/crelate_client/models/document_item.rb +316 -0
  147. data/lib/crelate_client/models/email_attachment.rb +213 -0
  148. data/lib/crelate_client/models/entity_document_options.rb +188 -0
  149. data/lib/crelate_client/models/entity_lookup.rb +286 -0
  150. data/lib/crelate_client/models/ext_integration_response_interview_response.rb +217 -0
  151. data/lib/crelate_client/models/ext_referral_request.rb +224 -0
  152. data/lib/crelate_client/models/ext_resume_candidate.rb +342 -0
  153. data/lib/crelate_client/models/ext_resume_career_builder_validate_credentials_response.rb +197 -0
  154. data/lib/crelate_client/models/ext_resume_org_state.rb +404 -0
  155. data/lib/crelate_client/models/ext_resume_package_pricing.rb +215 -0
  156. data/lib/crelate_client/models/ext_resume_package_update_request.rb +230 -0
  157. data/lib/crelate_client/models/ext_resume_search_response.rb +199 -0
  158. data/lib/crelate_client/models/ext_resume_view_response.rb +421 -0
  159. data/lib/crelate_client/models/fusebill_state_item.rb +197 -0
  160. data/lib/crelate_client/models/get_document_list_options.rb +231 -0
  161. data/lib/crelate_client/models/interview_request.rb +199 -0
  162. data/lib/crelate_client/models/interview_request_details.rb +255 -0
  163. data/lib/crelate_client/models/interview_response.rb +311 -0
  164. data/lib/crelate_client/models/job_post_request.rb +197 -0
  165. data/lib/crelate_client/models/job_response.rb +251 -0
  166. data/lib/crelate_client/models/multi_entity_lookup.rb +190 -0
  167. data/lib/crelate_client/models/org_audit_log_event.rb +314 -0
  168. data/lib/crelate_client/models/post_purchase_request.rb +224 -0
  169. data/lib/crelate_client/models/public_api_attachment_response.rb +287 -0
  170. data/lib/crelate_client/models/public_api_attachment_response_list.rb +199 -0
  171. data/lib/crelate_client/models/public_api_document_type.rb +208 -0
  172. data/lib/crelate_client/models/public_api_get_account_response.rb +889 -0
  173. data/lib/crelate_client/models/public_api_get_account_response_list.rb +199 -0
  174. data/lib/crelate_client/models/public_api_get_contact_job.rb +233 -0
  175. data/lib/crelate_client/models/public_api_get_contact_response.rb +1485 -0
  176. data/lib/crelate_client/models/public_api_get_contact_response_list.rb +199 -0
  177. data/lib/crelate_client/models/public_api_get_job_contact.rb +233 -0
  178. data/lib/crelate_client/models/public_api_get_job_list_response.rb +199 -0
  179. data/lib/crelate_client/models/public_api_get_job_posting_list_response.rb +199 -0
  180. data/lib/crelate_client/models/public_api_get_job_posting_response.rb +379 -0
  181. data/lib/crelate_client/models/public_api_get_job_posting_search_response.rb +190 -0
  182. data/lib/crelate_client/models/public_api_get_job_posting_search_result.rb +278 -0
  183. data/lib/crelate_client/models/public_api_get_job_response.rb +1267 -0
  184. data/lib/crelate_client/models/public_api_get_note_response.rb +307 -0
  185. data/lib/crelate_client/models/public_api_get_task_response.rb +325 -0
  186. data/lib/crelate_client/models/public_api_id_response.rb +188 -0
  187. data/lib/crelate_client/models/public_api_placement_response.rb +404 -0
  188. data/lib/crelate_client/models/public_api_placement_response_list.rb +199 -0
  189. data/lib/crelate_client/models/public_api_record_owner.rb +206 -0
  190. data/lib/crelate_client/models/public_api_save_account_request.rb +786 -0
  191. data/lib/crelate_client/models/public_api_save_attachment_request.rb +233 -0
  192. data/lib/crelate_client/models/public_api_save_contact_request.rb +1373 -0
  193. data/lib/crelate_client/models/public_api_save_job_application_request.rb +233 -0
  194. data/lib/crelate_client/models/public_api_save_job_posting_request.rb +287 -0
  195. data/lib/crelate_client/models/public_api_save_job_request.rb +975 -0
  196. data/lib/crelate_client/models/public_api_save_job_request_job_type.rb +197 -0
  197. data/lib/crelate_client/models/public_api_save_note_request.rb +215 -0
  198. data/lib/crelate_client/models/public_api_save_task_request.rb +233 -0
  199. data/lib/crelate_client/models/public_api_save_workflow_item_status_request.rb +197 -0
  200. data/lib/crelate_client/models/public_api_tag_category.rb +197 -0
  201. data/lib/crelate_client/models/public_api_workflow_status.rb +224 -0
  202. data/lib/crelate_client/models/public_api_workflow_type.rb +197 -0
  203. data/lib/crelate_client/models/question.rb +233 -0
  204. data/lib/crelate_client/models/question_set_response.rb +226 -0
  205. data/lib/crelate_client/models/save_ext_credential_response.rb +206 -0
  206. data/lib/crelate_client/models/search_contact.rb +215 -0
  207. data/lib/crelate_client/models/send_email_response.rb +235 -0
  208. data/lib/crelate_client/models/send_submittal_detail.rb +217 -0
  209. data/lib/crelate_client/models/share_link.rb +266 -0
  210. data/lib/crelate_client/models/signup_information.rb +287 -0
  211. data/lib/crelate_client/models/sms_plivo_message_received_request.rb +251 -0
  212. data/lib/crelate_client/models/sms_plivo_message_status_received_request.rb +269 -0
  213. data/lib/crelate_client/models/sms_plivo_voice_answer_request.rb +233 -0
  214. data/lib/crelate_client/models/sms_plivo_voice_hangup_request.rb +287 -0
  215. data/lib/crelate_client/models/spark_hire_response_info_interview_response.rb +215 -0
  216. data/lib/crelate_client/models/spark_hire_response_info_job_response.rb +215 -0
  217. data/lib/crelate_client/models/spark_hire_response_info_question_set_response.rb +215 -0
  218. data/lib/crelate_client/models/user_response.rb +224 -0
  219. data/lib/crelate_client/models/wayup_data.rb +267 -0
  220. data/lib/crelate_client/models/webhook_delete_response.rb +188 -0
  221. data/lib/crelate_client/models/zip_apply_data.rb +267 -0
  222. data/lib/crelate_client/version.rb +15 -0
  223. data/lib/crelate_client.rb +143 -0
  224. data/spec/api/companies_api_spec.rb +273 -0
  225. data/spec/api/contacts_api_spec.rb +358 -0
  226. data/spec/api/domain_api_spec.rb +83 -0
  227. data/spec/api/job_postings_api_spec.rb +131 -0
  228. data/spec/api/jobs_api_spec.rb +346 -0
  229. data/spec/api/notes_api_spec.rb +88 -0
  230. data/spec/api/tasks_api_spec.rb +88 -0
  231. data/spec/api_client_spec.rb +226 -0
  232. data/spec/configuration_spec.rb +42 -0
  233. data/spec/models/assigned_to_request_spec.rb +48 -0
  234. data/spec/models/assigned_to_spec.rb +60 -0
  235. data/spec/models/board_parameters_spec.rb +48 -0
  236. data/spec/models/broadcast_message_create_request_spec.rb +48 -0
  237. data/spec/models/broadcast_message_spec.rb +88 -0
  238. data/spec/models/company_spec.rb +60 -0
  239. data/spec/models/compliance_settings_payload_spec.rb +42 -0
  240. data/spec/models/consent_request_payload_spec.rb +48 -0
  241. data/spec/models/crelate_action_payload_spec.rb +54 -0
  242. data/spec/models/crelate_action_spec.rb +82 -0
  243. data/spec/models/crelate_details_spec.rb +54 -0
  244. data/spec/models/custom_form_completed_form_spec.rb +60 -0
  245. data/spec/models/custom_form_definition_entities_spec.rb +48 -0
  246. data/spec/models/custom_form_definition_spec.rb +90 -0
  247. data/spec/models/custom_form_form_definition_usage_spec.rb +54 -0
  248. data/spec/models/custom_form_form_defintion_usage_jobs_spec.rb +48 -0
  249. data/spec/models/custom_form_form_field_usage_form_definition_spec.rb +54 -0
  250. data/spec/models/custom_form_form_field_usage_spec.rb +60 -0
  251. data/spec/models/custom_form_layout_section_spec.rb +48 -0
  252. data/spec/models/custom_form_save_response_spec.rb +70 -0
  253. data/spec/models/document_collection_spec.rb +54 -0
  254. data/spec/models/document_item_spec.rb +126 -0
  255. data/spec/models/email_attachment_spec.rb +48 -0
  256. data/spec/models/entity_document_options_spec.rb +42 -0
  257. data/spec/models/entity_lookup_spec.rb +88 -0
  258. data/spec/models/ext_integration_response_interview_response_spec.rb +60 -0
  259. data/spec/models/ext_referral_request_spec.rb +66 -0
  260. data/spec/models/ext_resume_candidate_spec.rb +124 -0
  261. data/spec/models/ext_resume_career_builder_validate_credentials_response_spec.rb +48 -0
  262. data/spec/models/ext_resume_org_state_spec.rb +164 -0
  263. data/spec/models/ext_resume_package_pricing_spec.rb +60 -0
  264. data/spec/models/ext_resume_package_update_request_spec.rb +52 -0
  265. data/spec/models/ext_resume_search_response_spec.rb +48 -0
  266. data/spec/models/ext_resume_view_response_spec.rb +178 -0
  267. data/spec/models/fusebill_state_item_spec.rb +48 -0
  268. data/spec/models/get_document_list_options_spec.rb +58 -0
  269. data/spec/models/interview_request_details_spec.rb +84 -0
  270. data/spec/models/interview_request_spec.rb +48 -0
  271. data/spec/models/interview_response_spec.rb +106 -0
  272. data/spec/models/job_post_request_spec.rb +48 -0
  273. data/spec/models/job_response_spec.rb +84 -0
  274. data/spec/models/multi_entity_lookup_spec.rb +42 -0
  275. data/spec/models/org_audit_log_event_spec.rb +126 -0
  276. data/spec/models/post_purchase_request_spec.rb +66 -0
  277. data/spec/models/public_api_attachment_response_list_spec.rb +48 -0
  278. data/spec/models/public_api_attachment_response_spec.rb +108 -0
  279. data/spec/models/public_api_document_type_spec.rb +54 -0
  280. data/spec/models/public_api_get_account_response_list_spec.rb +48 -0
  281. data/spec/models/public_api_get_account_response_spec.rb +504 -0
  282. data/spec/models/public_api_get_contact_job_spec.rb +72 -0
  283. data/spec/models/public_api_get_contact_response_list_spec.rb +48 -0
  284. data/spec/models/public_api_get_contact_response_spec.rb +900 -0
  285. data/spec/models/public_api_get_job_contact_spec.rb +72 -0
  286. data/spec/models/public_api_get_job_list_response_spec.rb +48 -0
  287. data/spec/models/public_api_get_job_posting_list_response_spec.rb +48 -0
  288. data/spec/models/public_api_get_job_posting_response_spec.rb +168 -0
  289. data/spec/models/public_api_get_job_posting_search_response_spec.rb +42 -0
  290. data/spec/models/public_api_get_job_posting_search_result_spec.rb +102 -0
  291. data/spec/models/public_api_get_job_response_spec.rb +756 -0
  292. data/spec/models/public_api_get_note_response_spec.rb +120 -0
  293. data/spec/models/public_api_get_task_response_spec.rb +132 -0
  294. data/spec/models/public_api_id_response_spec.rb +42 -0
  295. data/spec/models/public_api_placement_response_list_spec.rb +48 -0
  296. data/spec/models/public_api_placement_response_spec.rb +186 -0
  297. data/spec/models/public_api_record_owner_spec.rb +54 -0
  298. data/spec/models/public_api_save_account_request_spec.rb +438 -0
  299. data/spec/models/public_api_save_attachment_request_spec.rb +72 -0
  300. data/spec/models/public_api_save_contact_request_spec.rb +828 -0
  301. data/spec/models/public_api_save_job_application_request_spec.rb +72 -0
  302. data/spec/models/public_api_save_job_posting_request_spec.rb +108 -0
  303. data/spec/models/public_api_save_job_request_job_type_spec.rb +48 -0
  304. data/spec/models/public_api_save_job_request_spec.rb +564 -0
  305. data/spec/models/public_api_save_note_request_spec.rb +60 -0
  306. data/spec/models/public_api_save_task_request_spec.rb +72 -0
  307. data/spec/models/public_api_save_workflow_item_status_request_spec.rb +48 -0
  308. data/spec/models/public_api_tag_category_spec.rb +48 -0
  309. data/spec/models/public_api_workflow_status_spec.rb +66 -0
  310. data/spec/models/public_api_workflow_type_spec.rb +48 -0
  311. data/spec/models/question_set_response_spec.rb +66 -0
  312. data/spec/models/question_spec.rb +72 -0
  313. data/spec/models/save_ext_credential_response_spec.rb +54 -0
  314. data/spec/models/search_contact_spec.rb +60 -0
  315. data/spec/models/send_email_response_spec.rb +72 -0
  316. data/spec/models/send_submittal_detail_spec.rb +60 -0
  317. data/spec/models/share_link_spec.rb +76 -0
  318. data/spec/models/signup_information_spec.rb +108 -0
  319. data/spec/models/sms_plivo_message_received_request_spec.rb +84 -0
  320. data/spec/models/sms_plivo_message_status_received_request_spec.rb +96 -0
  321. data/spec/models/sms_plivo_voice_answer_request_spec.rb +72 -0
  322. data/spec/models/sms_plivo_voice_hangup_request_spec.rb +108 -0
  323. data/spec/models/spark_hire_response_info_interview_response_spec.rb +60 -0
  324. data/spec/models/spark_hire_response_info_job_response_spec.rb +60 -0
  325. data/spec/models/spark_hire_response_info_question_set_response_spec.rb +60 -0
  326. data/spec/models/user_response_spec.rb +66 -0
  327. data/spec/models/wayup_data_spec.rb +84 -0
  328. data/spec/models/webhook_delete_response_spec.rb +42 -0
  329. data/spec/models/zip_apply_data_spec.rb +84 -0
  330. data/spec/spec_helper.rb +111 -0
  331. metadata +654 -0
@@ -0,0 +1,921 @@
1
+ # CrelateClient::CompaniesApi
2
+
3
+ All URIs are relative to *https://app.crelate.com*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**public_api_delete_account**](CompaniesApi.md#public_api_delete_account) | **DELETE** /api/pub/v1/companies/{companyId} | delete a company
8
+ [**public_api_delete_account_attachment**](CompaniesApi.md#public_api_delete_account_attachment) | **DELETE** /api/pub/v1/companies/{companyId}/attachments/{attachmentId} | delete an attachment for a company
9
+ [**public_api_delete_account_note**](CompaniesApi.md#public_api_delete_account_note) | **DELETE** /api/pub/v1/companies/{companyId}/notes/{noteId} | delete a note for a company
10
+ [**public_api_delete_account_task**](CompaniesApi.md#public_api_delete_account_task) | **DELETE** /api/pub/v1/companies/{companyId}/tasks/{taskId} | delete a task for a company
11
+ [**public_api_get_account**](CompaniesApi.md#public_api_get_account) | **GET** /api/pub/v1/companies/{companyId} | retrieve a company
12
+ [**public_api_get_account_attachment**](CompaniesApi.md#public_api_get_account_attachment) | **GET** /api/pub/v1/companies/{companyId}/attachments/{attachmentId} | get the content of a specific attachment for a company
13
+ [**public_api_get_account_attachments**](CompaniesApi.md#public_api_get_account_attachments) | **GET** /api/pub/v1/companies/{companyId}/attachments | get all attachment metadata for a company
14
+ [**public_api_get_account_note**](CompaniesApi.md#public_api_get_account_note) | **GET** /api/pub/v1/companies/{companyId}/notes/{noteId} | retrieve a note for a company
15
+ [**public_api_get_account_task**](CompaniesApi.md#public_api_get_account_task) | **GET** /api/pub/v1/companies/{companyId}/tasks/{taskId} | get a task for a company
16
+ [**public_api_get_accounts**](CompaniesApi.md#public_api_get_accounts) | **GET** /api/pub/v1/companies/recent | retrieve a list of companies updated within a certain time frame
17
+ [**public_api_post_account**](CompaniesApi.md#public_api_post_account) | **POST** /api/pub/v1/companies | create a company
18
+ [**public_api_post_account_attachment**](CompaniesApi.md#public_api_post_account_attachment) | **POST** /api/pub/v1/companies/{companyId}/attachments | add an attachment to a company
19
+ [**public_api_post_account_note**](CompaniesApi.md#public_api_post_account_note) | **POST** /api/pub/v1/companies/{companyId}/notes | create a note for a company
20
+ [**public_api_post_account_task**](CompaniesApi.md#public_api_post_account_task) | **POST** /api/pub/v1/companies/{companyId}/tasks | create a task for a company
21
+ [**public_api_put_account**](CompaniesApi.md#public_api_put_account) | **PUT** /api/pub/v1/companies/{companyId} | update a company
22
+ [**public_api_put_account_note**](CompaniesApi.md#public_api_put_account_note) | **PUT** /api/pub/v1/companies/{companyId}/notes/{noteId} | update a note for a company
23
+ [**public_api_put_account_task**](CompaniesApi.md#public_api_put_account_task) | **PUT** /api/pub/v1/companies/{companyId}/tasks/{taskId} | update a task for a company
24
+
25
+
26
+ # **public_api_delete_account**
27
+ > Object public_api_delete_account(company_id, api_key)
28
+
29
+ delete a company
30
+
31
+
32
+
33
+ ### Example
34
+ ```ruby
35
+ # load the gem
36
+ require 'crelate_client'
37
+
38
+ api_instance = CrelateClient::CompaniesApi.new
39
+
40
+ company_id = "company_id_example" # String | identifier
41
+
42
+ api_key = "api_key_example" # String | crelate api key
43
+
44
+
45
+ begin
46
+ #delete a company
47
+ result = api_instance.public_api_delete_account(company_id, api_key)
48
+ p result
49
+ rescue CrelateClient::ApiError => e
50
+ puts "Exception when calling CompaniesApi->public_api_delete_account: #{e}"
51
+ end
52
+ ```
53
+
54
+ ### Parameters
55
+
56
+ Name | Type | Description | Notes
57
+ ------------- | ------------- | ------------- | -------------
58
+ **company_id** | [**String**](.md)| identifier |
59
+ **api_key** | **String**| crelate api key |
60
+
61
+ ### Return type
62
+
63
+ **Object**
64
+
65
+ ### Authorization
66
+
67
+ No authorization required
68
+
69
+ ### HTTP request headers
70
+
71
+ - **Content-Type**: Not defined
72
+ - **Accept**: application/json, text/json
73
+
74
+
75
+
76
+ # **public_api_delete_account_attachment**
77
+ > Object public_api_delete_account_attachment(company_id, attachment_id, api_key)
78
+
79
+ delete an attachment for a company
80
+
81
+ ### Example
82
+ ```ruby
83
+ # load the gem
84
+ require 'crelate_client'
85
+
86
+ api_instance = CrelateClient::CompaniesApi.new
87
+
88
+ company_id = "company_id_example" # String | job identifier
89
+
90
+ attachment_id = "attachment_id_example" # String | attachment identifier
91
+
92
+ api_key = "api_key_example" # String | crelate api key
93
+
94
+
95
+ begin
96
+ #delete an attachment for a company
97
+ result = api_instance.public_api_delete_account_attachment(company_id, attachment_id, api_key)
98
+ p result
99
+ rescue CrelateClient::ApiError => e
100
+ puts "Exception when calling CompaniesApi->public_api_delete_account_attachment: #{e}"
101
+ end
102
+ ```
103
+
104
+ ### Parameters
105
+
106
+ Name | Type | Description | Notes
107
+ ------------- | ------------- | ------------- | -------------
108
+ **company_id** | [**String**](.md)| job identifier |
109
+ **attachment_id** | [**String**](.md)| attachment identifier |
110
+ **api_key** | **String**| crelate api key |
111
+
112
+ ### Return type
113
+
114
+ **Object**
115
+
116
+ ### Authorization
117
+
118
+ No authorization required
119
+
120
+ ### HTTP request headers
121
+
122
+ - **Content-Type**: Not defined
123
+ - **Accept**: application/json, text/json
124
+
125
+
126
+
127
+ # **public_api_delete_account_note**
128
+ > Object public_api_delete_account_note(company_id, note_id, api_key)
129
+
130
+ delete a note for a company
131
+
132
+
133
+
134
+ ### Example
135
+ ```ruby
136
+ # load the gem
137
+ require 'crelate_client'
138
+
139
+ api_instance = CrelateClient::CompaniesApi.new
140
+
141
+ company_id = "company_id_example" # String | identifier
142
+
143
+ note_id = "note_id_example" # String |
144
+
145
+ api_key = "api_key_example" # String | crelate api key
146
+
147
+
148
+ begin
149
+ #delete a note for a company
150
+ result = api_instance.public_api_delete_account_note(company_id, note_id, api_key)
151
+ p result
152
+ rescue CrelateClient::ApiError => e
153
+ puts "Exception when calling CompaniesApi->public_api_delete_account_note: #{e}"
154
+ end
155
+ ```
156
+
157
+ ### Parameters
158
+
159
+ Name | Type | Description | Notes
160
+ ------------- | ------------- | ------------- | -------------
161
+ **company_id** | [**String**](.md)| identifier |
162
+ **note_id** | [**String**](.md)| |
163
+ **api_key** | **String**| crelate api key |
164
+
165
+ ### Return type
166
+
167
+ **Object**
168
+
169
+ ### Authorization
170
+
171
+ No authorization required
172
+
173
+ ### HTTP request headers
174
+
175
+ - **Content-Type**: Not defined
176
+ - **Accept**: application/json, text/json
177
+
178
+
179
+
180
+ # **public_api_delete_account_task**
181
+ > Object public_api_delete_account_task(company_id, task_id, api_key)
182
+
183
+ delete a task for a company
184
+
185
+
186
+
187
+ ### Example
188
+ ```ruby
189
+ # load the gem
190
+ require 'crelate_client'
191
+
192
+ api_instance = CrelateClient::CompaniesApi.new
193
+
194
+ company_id = "company_id_example" # String | identifier
195
+
196
+ task_id = "task_id_example" # String |
197
+
198
+ api_key = "api_key_example" # String | crelate api key
199
+
200
+
201
+ begin
202
+ #delete a task for a company
203
+ result = api_instance.public_api_delete_account_task(company_id, task_id, api_key)
204
+ p result
205
+ rescue CrelateClient::ApiError => e
206
+ puts "Exception when calling CompaniesApi->public_api_delete_account_task: #{e}"
207
+ end
208
+ ```
209
+
210
+ ### Parameters
211
+
212
+ Name | Type | Description | Notes
213
+ ------------- | ------------- | ------------- | -------------
214
+ **company_id** | [**String**](.md)| identifier |
215
+ **task_id** | [**String**](.md)| |
216
+ **api_key** | **String**| crelate api key |
217
+
218
+ ### Return type
219
+
220
+ **Object**
221
+
222
+ ### Authorization
223
+
224
+ No authorization required
225
+
226
+ ### HTTP request headers
227
+
228
+ - **Content-Type**: Not defined
229
+ - **Accept**: application/json, text/json
230
+
231
+
232
+
233
+ # **public_api_get_account**
234
+ > PublicApiGetAccountResponse public_api_get_account(company_id, api_key)
235
+
236
+ retrieve a company
237
+
238
+
239
+
240
+ ### Example
241
+ ```ruby
242
+ # load the gem
243
+ require 'crelate_client'
244
+
245
+ api_instance = CrelateClient::CompaniesApi.new
246
+
247
+ company_id = "company_id_example" # String | identifier
248
+
249
+ api_key = "api_key_example" # String | crelate api key
250
+
251
+
252
+ begin
253
+ #retrieve a company
254
+ result = api_instance.public_api_get_account(company_id, api_key)
255
+ p result
256
+ rescue CrelateClient::ApiError => e
257
+ puts "Exception when calling CompaniesApi->public_api_get_account: #{e}"
258
+ end
259
+ ```
260
+
261
+ ### Parameters
262
+
263
+ Name | Type | Description | Notes
264
+ ------------- | ------------- | ------------- | -------------
265
+ **company_id** | [**String**](.md)| identifier |
266
+ **api_key** | **String**| crelate api key |
267
+
268
+ ### Return type
269
+
270
+ [**PublicApiGetAccountResponse**](PublicApiGetAccountResponse.md)
271
+
272
+ ### Authorization
273
+
274
+ No authorization required
275
+
276
+ ### HTTP request headers
277
+
278
+ - **Content-Type**: Not defined
279
+ - **Accept**: application/json, text/json
280
+
281
+
282
+
283
+ # **public_api_get_account_attachment**
284
+ > Object public_api_get_account_attachment(company_id, attachment_id, api_key)
285
+
286
+ get the content of a specific attachment for a company
287
+
288
+
289
+
290
+ ### Example
291
+ ```ruby
292
+ # load the gem
293
+ require 'crelate_client'
294
+
295
+ api_instance = CrelateClient::CompaniesApi.new
296
+
297
+ company_id = "company_id_example" # String | identifier
298
+
299
+ attachment_id = "attachment_id_example" # String | attachment identifier
300
+
301
+ api_key = "api_key_example" # String | crelate api key
302
+
303
+
304
+ begin
305
+ #get the content of a specific attachment for a company
306
+ result = api_instance.public_api_get_account_attachment(company_id, attachment_id, api_key)
307
+ p result
308
+ rescue CrelateClient::ApiError => e
309
+ puts "Exception when calling CompaniesApi->public_api_get_account_attachment: #{e}"
310
+ end
311
+ ```
312
+
313
+ ### Parameters
314
+
315
+ Name | Type | Description | Notes
316
+ ------------- | ------------- | ------------- | -------------
317
+ **company_id** | [**String**](.md)| identifier |
318
+ **attachment_id** | [**String**](.md)| attachment identifier |
319
+ **api_key** | **String**| crelate api key |
320
+
321
+ ### Return type
322
+
323
+ **Object**
324
+
325
+ ### Authorization
326
+
327
+ No authorization required
328
+
329
+ ### HTTP request headers
330
+
331
+ - **Content-Type**: Not defined
332
+ - **Accept**: application/json, text/json
333
+
334
+
335
+
336
+ # **public_api_get_account_attachments**
337
+ > PublicApiAttachmentResponseList public_api_get_account_attachments(company_id, api_key)
338
+
339
+ get all attachment metadata for a company
340
+
341
+
342
+
343
+ ### Example
344
+ ```ruby
345
+ # load the gem
346
+ require 'crelate_client'
347
+
348
+ api_instance = CrelateClient::CompaniesApi.new
349
+
350
+ company_id = "company_id_example" # String |
351
+
352
+ api_key = "api_key_example" # String | crelate api key
353
+
354
+
355
+ begin
356
+ #get all attachment metadata for a company
357
+ result = api_instance.public_api_get_account_attachments(company_id, api_key)
358
+ p result
359
+ rescue CrelateClient::ApiError => e
360
+ puts "Exception when calling CompaniesApi->public_api_get_account_attachments: #{e}"
361
+ end
362
+ ```
363
+
364
+ ### Parameters
365
+
366
+ Name | Type | Description | Notes
367
+ ------------- | ------------- | ------------- | -------------
368
+ **company_id** | [**String**](.md)| |
369
+ **api_key** | **String**| crelate api key |
370
+
371
+ ### Return type
372
+
373
+ [**PublicApiAttachmentResponseList**](PublicApiAttachmentResponseList.md)
374
+
375
+ ### Authorization
376
+
377
+ No authorization required
378
+
379
+ ### HTTP request headers
380
+
381
+ - **Content-Type**: Not defined
382
+ - **Accept**: application/json, text/json
383
+
384
+
385
+
386
+ # **public_api_get_account_note**
387
+ > PublicApiGetNoteResponse public_api_get_account_note(company_id, note_id, api_key)
388
+
389
+ retrieve a note for a company
390
+
391
+
392
+
393
+ ### Example
394
+ ```ruby
395
+ # load the gem
396
+ require 'crelate_client'
397
+
398
+ api_instance = CrelateClient::CompaniesApi.new
399
+
400
+ company_id = "company_id_example" # String | identifier
401
+
402
+ note_id = "note_id_example" # String |
403
+
404
+ api_key = "api_key_example" # String | crelate api key
405
+
406
+
407
+ begin
408
+ #retrieve a note for a company
409
+ result = api_instance.public_api_get_account_note(company_id, note_id, api_key)
410
+ p result
411
+ rescue CrelateClient::ApiError => e
412
+ puts "Exception when calling CompaniesApi->public_api_get_account_note: #{e}"
413
+ end
414
+ ```
415
+
416
+ ### Parameters
417
+
418
+ Name | Type | Description | Notes
419
+ ------------- | ------------- | ------------- | -------------
420
+ **company_id** | [**String**](.md)| identifier |
421
+ **note_id** | [**String**](.md)| |
422
+ **api_key** | **String**| crelate api key |
423
+
424
+ ### Return type
425
+
426
+ [**PublicApiGetNoteResponse**](PublicApiGetNoteResponse.md)
427
+
428
+ ### Authorization
429
+
430
+ No authorization required
431
+
432
+ ### HTTP request headers
433
+
434
+ - **Content-Type**: Not defined
435
+ - **Accept**: application/json, text/json
436
+
437
+
438
+
439
+ # **public_api_get_account_task**
440
+ > PublicApiGetTaskResponse public_api_get_account_task(company_id, task_id, api_key)
441
+
442
+ get a task for a company
443
+
444
+
445
+
446
+ ### Example
447
+ ```ruby
448
+ # load the gem
449
+ require 'crelate_client'
450
+
451
+ api_instance = CrelateClient::CompaniesApi.new
452
+
453
+ company_id = "company_id_example" # String | identifier
454
+
455
+ task_id = "task_id_example" # String |
456
+
457
+ api_key = "api_key_example" # String | crelate api key
458
+
459
+
460
+ begin
461
+ #get a task for a company
462
+ result = api_instance.public_api_get_account_task(company_id, task_id, api_key)
463
+ p result
464
+ rescue CrelateClient::ApiError => e
465
+ puts "Exception when calling CompaniesApi->public_api_get_account_task: #{e}"
466
+ end
467
+ ```
468
+
469
+ ### Parameters
470
+
471
+ Name | Type | Description | Notes
472
+ ------------- | ------------- | ------------- | -------------
473
+ **company_id** | [**String**](.md)| identifier |
474
+ **task_id** | [**String**](.md)| |
475
+ **api_key** | **String**| crelate api key |
476
+
477
+ ### Return type
478
+
479
+ [**PublicApiGetTaskResponse**](PublicApiGetTaskResponse.md)
480
+
481
+ ### Authorization
482
+
483
+ No authorization required
484
+
485
+ ### HTTP request headers
486
+
487
+ - **Content-Type**: Not defined
488
+ - **Accept**: application/json, text/json
489
+
490
+
491
+
492
+ # **public_api_get_accounts**
493
+ > PublicApiGetAccountResponseList public_api_get_accounts(modified, api_key, opts)
494
+
495
+ retrieve a list of companies updated within a certain time frame
496
+
497
+
498
+
499
+ ### Example
500
+ ```ruby
501
+ # load the gem
502
+ require 'crelate_client'
503
+
504
+ api_instance = CrelateClient::CompaniesApi.new
505
+
506
+ modified = 1.2 # Float | modified within x number of minutes
507
+
508
+ api_key = "api_key_example" # String | crelate api key
509
+
510
+ opts = {
511
+ skip: 56, # Integer | skip number of records, default 0
512
+ take: 56, # Integer | retrieve x amount of records, limit 500, default 50
513
+ type: "type_example" # String | filter by record type, acceptable options are null, 0, 1, 2, 3, 4, 5, 6, 7 defaults to 0, 0 = All contacts regardless of record type null = contacts without a record type Standard: 1 = Customer, 2 = Potential Customer, Combined: 3 = Customer and Potential Customer e.g. type 7 will select only contacts who are all three types
514
+ }
515
+
516
+ begin
517
+ #retrieve a list of companies updated within a certain time frame
518
+ result = api_instance.public_api_get_accounts(modified, api_key, opts)
519
+ p result
520
+ rescue CrelateClient::ApiError => e
521
+ puts "Exception when calling CompaniesApi->public_api_get_accounts: #{e}"
522
+ end
523
+ ```
524
+
525
+ ### Parameters
526
+
527
+ Name | Type | Description | Notes
528
+ ------------- | ------------- | ------------- | -------------
529
+ **modified** | **Float**| modified within x number of minutes |
530
+ **api_key** | **String**| crelate api key |
531
+ **skip** | **Integer**| skip number of records, default 0 | [optional]
532
+ **take** | **Integer**| retrieve x amount of records, limit 500, default 50 | [optional]
533
+ **type** | **String**| filter by record type, acceptable options are null, 0, 1, 2, 3, 4, 5, 6, 7 defaults to 0, 0 = All contacts regardless of record type null = contacts without a record type Standard: 1 = Customer, 2 = Potential Customer, Combined: 3 = Customer and Potential Customer e.g. type 7 will select only contacts who are all three types | [optional]
534
+
535
+ ### Return type
536
+
537
+ [**PublicApiGetAccountResponseList**](PublicApiGetAccountResponseList.md)
538
+
539
+ ### Authorization
540
+
541
+ No authorization required
542
+
543
+ ### HTTP request headers
544
+
545
+ - **Content-Type**: Not defined
546
+ - **Accept**: application/json, text/json
547
+
548
+
549
+
550
+ # **public_api_post_account**
551
+ > PublicApiIdResponse public_api_post_account(api_key, request)
552
+
553
+ create a company
554
+
555
+
556
+
557
+ ### Example
558
+ ```ruby
559
+ # load the gem
560
+ require 'crelate_client'
561
+
562
+ api_instance = CrelateClient::CompaniesApi.new
563
+
564
+ api_key = "api_key_example" # String | crelate api key
565
+
566
+ request = CrelateClient::PublicApiSaveAccountRequest.new # PublicApiSaveAccountRequest |
567
+
568
+
569
+ begin
570
+ #create a company
571
+ result = api_instance.public_api_post_account(api_key, request)
572
+ p result
573
+ rescue CrelateClient::ApiError => e
574
+ puts "Exception when calling CompaniesApi->public_api_post_account: #{e}"
575
+ end
576
+ ```
577
+
578
+ ### Parameters
579
+
580
+ Name | Type | Description | Notes
581
+ ------------- | ------------- | ------------- | -------------
582
+ **api_key** | **String**| crelate api key |
583
+ **request** | [**PublicApiSaveAccountRequest**](PublicApiSaveAccountRequest.md)| |
584
+
585
+ ### Return type
586
+
587
+ [**PublicApiIdResponse**](PublicApiIdResponse.md)
588
+
589
+ ### Authorization
590
+
591
+ No authorization required
592
+
593
+ ### HTTP request headers
594
+
595
+ - **Content-Type**: application/json, text/json, application/x-www-form-urlencoded
596
+ - **Accept**: application/json, text/json
597
+
598
+
599
+
600
+ # **public_api_post_account_attachment**
601
+ > PublicApiIdResponse public_api_post_account_attachment(company_id, api_key, request)
602
+
603
+ add an attachment to a company
604
+
605
+ ### Example
606
+ ```ruby
607
+ # load the gem
608
+ require 'crelate_client'
609
+
610
+ api_instance = CrelateClient::CompaniesApi.new
611
+
612
+ company_id = "company_id_example" # String | identifier
613
+
614
+ api_key = "api_key_example" # String | crelate api key
615
+
616
+ request = CrelateClient::PublicApiSaveAttachmentRequest.new # PublicApiSaveAttachmentRequest |
617
+
618
+
619
+ begin
620
+ #add an attachment to a company
621
+ result = api_instance.public_api_post_account_attachment(company_id, api_key, request)
622
+ p result
623
+ rescue CrelateClient::ApiError => e
624
+ puts "Exception when calling CompaniesApi->public_api_post_account_attachment: #{e}"
625
+ end
626
+ ```
627
+
628
+ ### Parameters
629
+
630
+ Name | Type | Description | Notes
631
+ ------------- | ------------- | ------------- | -------------
632
+ **company_id** | [**String**](.md)| identifier |
633
+ **api_key** | **String**| crelate api key |
634
+ **request** | [**PublicApiSaveAttachmentRequest**](PublicApiSaveAttachmentRequest.md)| |
635
+
636
+ ### Return type
637
+
638
+ [**PublicApiIdResponse**](PublicApiIdResponse.md)
639
+
640
+ ### Authorization
641
+
642
+ No authorization required
643
+
644
+ ### HTTP request headers
645
+
646
+ - **Content-Type**: application/json, text/json, application/x-www-form-urlencoded
647
+ - **Accept**: application/json, text/json
648
+
649
+
650
+
651
+ # **public_api_post_account_note**
652
+ > PublicApiIdResponse public_api_post_account_note(company_id, api_key, request)
653
+
654
+ create a note for a company
655
+
656
+
657
+
658
+ ### Example
659
+ ```ruby
660
+ # load the gem
661
+ require 'crelate_client'
662
+
663
+ api_instance = CrelateClient::CompaniesApi.new
664
+
665
+ company_id = "company_id_example" # String | identifier
666
+
667
+ api_key = "api_key_example" # String | crelate api key
668
+
669
+ request = CrelateClient::PublicApiSaveNoteRequest.new # PublicApiSaveNoteRequest |
670
+
671
+
672
+ begin
673
+ #create a note for a company
674
+ result = api_instance.public_api_post_account_note(company_id, api_key, request)
675
+ p result
676
+ rescue CrelateClient::ApiError => e
677
+ puts "Exception when calling CompaniesApi->public_api_post_account_note: #{e}"
678
+ end
679
+ ```
680
+
681
+ ### Parameters
682
+
683
+ Name | Type | Description | Notes
684
+ ------------- | ------------- | ------------- | -------------
685
+ **company_id** | [**String**](.md)| identifier |
686
+ **api_key** | **String**| crelate api key |
687
+ **request** | [**PublicApiSaveNoteRequest**](PublicApiSaveNoteRequest.md)| |
688
+
689
+ ### Return type
690
+
691
+ [**PublicApiIdResponse**](PublicApiIdResponse.md)
692
+
693
+ ### Authorization
694
+
695
+ No authorization required
696
+
697
+ ### HTTP request headers
698
+
699
+ - **Content-Type**: application/json, text/json, application/x-www-form-urlencoded
700
+ - **Accept**: application/json, text/json
701
+
702
+
703
+
704
+ # **public_api_post_account_task**
705
+ > PublicApiIdResponse public_api_post_account_task(company_id, api_key, request)
706
+
707
+ create a task for a company
708
+
709
+
710
+
711
+ ### Example
712
+ ```ruby
713
+ # load the gem
714
+ require 'crelate_client'
715
+
716
+ api_instance = CrelateClient::CompaniesApi.new
717
+
718
+ company_id = "company_id_example" # String | identifier
719
+
720
+ api_key = "api_key_example" # String | crelate api key
721
+
722
+ request = CrelateClient::PublicApiSaveTaskRequest.new # PublicApiSaveTaskRequest |
723
+
724
+
725
+ begin
726
+ #create a task for a company
727
+ result = api_instance.public_api_post_account_task(company_id, api_key, request)
728
+ p result
729
+ rescue CrelateClient::ApiError => e
730
+ puts "Exception when calling CompaniesApi->public_api_post_account_task: #{e}"
731
+ end
732
+ ```
733
+
734
+ ### Parameters
735
+
736
+ Name | Type | Description | Notes
737
+ ------------- | ------------- | ------------- | -------------
738
+ **company_id** | [**String**](.md)| identifier |
739
+ **api_key** | **String**| crelate api key |
740
+ **request** | [**PublicApiSaveTaskRequest**](PublicApiSaveTaskRequest.md)| |
741
+
742
+ ### Return type
743
+
744
+ [**PublicApiIdResponse**](PublicApiIdResponse.md)
745
+
746
+ ### Authorization
747
+
748
+ No authorization required
749
+
750
+ ### HTTP request headers
751
+
752
+ - **Content-Type**: application/json, text/json, application/x-www-form-urlencoded
753
+ - **Accept**: application/json, text/json
754
+
755
+
756
+
757
+ # **public_api_put_account**
758
+ > Object public_api_put_account(company_id, api_key, request)
759
+
760
+ update a company
761
+
762
+ Replaces all fields. To partially update a company, first retrieve it using the GET method, apply changes and submit to the PUT method.
763
+
764
+ ### Example
765
+ ```ruby
766
+ # load the gem
767
+ require 'crelate_client'
768
+
769
+ api_instance = CrelateClient::CompaniesApi.new
770
+
771
+ company_id = "company_id_example" # String | identifier
772
+
773
+ api_key = "api_key_example" # String | crelate api key
774
+
775
+ request = CrelateClient::PublicApiSaveAccountRequest.new # PublicApiSaveAccountRequest |
776
+
777
+
778
+ begin
779
+ #update a company
780
+ result = api_instance.public_api_put_account(company_id, api_key, request)
781
+ p result
782
+ rescue CrelateClient::ApiError => e
783
+ puts "Exception when calling CompaniesApi->public_api_put_account: #{e}"
784
+ end
785
+ ```
786
+
787
+ ### Parameters
788
+
789
+ Name | Type | Description | Notes
790
+ ------------- | ------------- | ------------- | -------------
791
+ **company_id** | [**String**](.md)| identifier |
792
+ **api_key** | **String**| crelate api key |
793
+ **request** | [**PublicApiSaveAccountRequest**](PublicApiSaveAccountRequest.md)| |
794
+
795
+ ### Return type
796
+
797
+ **Object**
798
+
799
+ ### Authorization
800
+
801
+ No authorization required
802
+
803
+ ### HTTP request headers
804
+
805
+ - **Content-Type**: application/json, text/json, application/x-www-form-urlencoded
806
+ - **Accept**: application/json, text/json
807
+
808
+
809
+
810
+ # **public_api_put_account_note**
811
+ > Object public_api_put_account_note(company_id, note_id, api_key, request)
812
+
813
+ update a note for a company
814
+
815
+
816
+
817
+ ### Example
818
+ ```ruby
819
+ # load the gem
820
+ require 'crelate_client'
821
+
822
+ api_instance = CrelateClient::CompaniesApi.new
823
+
824
+ company_id = "company_id_example" # String | identifier
825
+
826
+ note_id = "note_id_example" # String |
827
+
828
+ api_key = "api_key_example" # String | crelate api key
829
+
830
+ request = CrelateClient::PublicApiSaveNoteRequest.new # PublicApiSaveNoteRequest |
831
+
832
+
833
+ begin
834
+ #update a note for a company
835
+ result = api_instance.public_api_put_account_note(company_id, note_id, api_key, request)
836
+ p result
837
+ rescue CrelateClient::ApiError => e
838
+ puts "Exception when calling CompaniesApi->public_api_put_account_note: #{e}"
839
+ end
840
+ ```
841
+
842
+ ### Parameters
843
+
844
+ Name | Type | Description | Notes
845
+ ------------- | ------------- | ------------- | -------------
846
+ **company_id** | [**String**](.md)| identifier |
847
+ **note_id** | [**String**](.md)| |
848
+ **api_key** | **String**| crelate api key |
849
+ **request** | [**PublicApiSaveNoteRequest**](PublicApiSaveNoteRequest.md)| |
850
+
851
+ ### Return type
852
+
853
+ **Object**
854
+
855
+ ### Authorization
856
+
857
+ No authorization required
858
+
859
+ ### HTTP request headers
860
+
861
+ - **Content-Type**: application/json, text/json, application/x-www-form-urlencoded
862
+ - **Accept**: application/json, text/json
863
+
864
+
865
+
866
+ # **public_api_put_account_task**
867
+ > Object public_api_put_account_task(company_id, task_id, api_key, request)
868
+
869
+ update a task for a company
870
+
871
+
872
+
873
+ ### Example
874
+ ```ruby
875
+ # load the gem
876
+ require 'crelate_client'
877
+
878
+ api_instance = CrelateClient::CompaniesApi.new
879
+
880
+ company_id = "company_id_example" # String | identifier
881
+
882
+ task_id = "task_id_example" # String |
883
+
884
+ api_key = "api_key_example" # String | crelate api key
885
+
886
+ request = CrelateClient::PublicApiSaveTaskRequest.new # PublicApiSaveTaskRequest |
887
+
888
+
889
+ begin
890
+ #update a task for a company
891
+ result = api_instance.public_api_put_account_task(company_id, task_id, api_key, request)
892
+ p result
893
+ rescue CrelateClient::ApiError => e
894
+ puts "Exception when calling CompaniesApi->public_api_put_account_task: #{e}"
895
+ end
896
+ ```
897
+
898
+ ### Parameters
899
+
900
+ Name | Type | Description | Notes
901
+ ------------- | ------------- | ------------- | -------------
902
+ **company_id** | [**String**](.md)| identifier |
903
+ **task_id** | [**String**](.md)| |
904
+ **api_key** | **String**| crelate api key |
905
+ **request** | [**PublicApiSaveTaskRequest**](PublicApiSaveTaskRequest.md)| |
906
+
907
+ ### Return type
908
+
909
+ **Object**
910
+
911
+ ### Authorization
912
+
913
+ No authorization required
914
+
915
+ ### HTTP request headers
916
+
917
+ - **Content-Type**: application/json, text/json, application/x-www-form-urlencoded
918
+ - **Accept**: application/json, text/json
919
+
920
+
921
+