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.
- checksums.yaml +7 -0
- data/Gemfile +7 -0
- data/Gemfile.lock +69 -0
- data/README.md +267 -0
- data/Rakefile +8 -0
- data/crelate_client-1.0.0.gem +0 -0
- data/crelate_client.gemspec +45 -0
- data/docs/AssignedTo.md +11 -0
- data/docs/AssignedToRequest.md +9 -0
- data/docs/BoardParameters.md +9 -0
- data/docs/BroadcastMessage.md +15 -0
- data/docs/BroadcastMessageCreateRequest.md +9 -0
- data/docs/CompaniesApi.md +921 -0
- data/docs/Company.md +11 -0
- data/docs/ComplianceSettingsPayload.md +8 -0
- data/docs/ConsentRequestPayload.md +9 -0
- data/docs/ContactsApi.md +1246 -0
- data/docs/CrelateAction.md +14 -0
- data/docs/CrelateActionPayload.md +10 -0
- data/docs/CrelateDetails.md +10 -0
- data/docs/CustomFormCompletedForm.md +11 -0
- data/docs/CustomFormDefinition.md +16 -0
- data/docs/CustomFormDefinitionEntities.md +9 -0
- data/docs/CustomFormFormDefinitionUsage.md +10 -0
- data/docs/CustomFormFormDefintionUsageJobs.md +9 -0
- data/docs/CustomFormFormFieldUsage.md +11 -0
- data/docs/CustomFormFormFieldUsageFormDefinition.md +10 -0
- data/docs/CustomFormLayoutSection.md +9 -0
- data/docs/CustomFormSaveResponse.md +12 -0
- data/docs/DocumentCollection.md +10 -0
- data/docs/DocumentItem.md +22 -0
- data/docs/DomainApi.md +198 -0
- data/docs/EmailAttachment.md +9 -0
- data/docs/EntityDocumentOptions.md +8 -0
- data/docs/EntityLookup.md +15 -0
- data/docs/ExtIntegrationResponseInterviewResponse.md +11 -0
- data/docs/ExtReferralRequest.md +12 -0
- data/docs/ExtResumeCandidate.md +21 -0
- data/docs/ExtResumeCareerBuilderValidateCredentialsResponse.md +9 -0
- data/docs/ExtResumeOrgState.md +27 -0
- data/docs/ExtResumePackagePricing.md +11 -0
- data/docs/ExtResumePackageUpdateRequest.md +9 -0
- data/docs/ExtResumeSearchResponse.md +9 -0
- data/docs/ExtResumeViewResponse.md +30 -0
- data/docs/FusebillStateItem.md +9 -0
- data/docs/GetDocumentListOptions.md +10 -0
- data/docs/InterviewRequest.md +9 -0
- data/docs/InterviewRequestDetails.md +15 -0
- data/docs/InterviewResponse.md +18 -0
- data/docs/JobPostRequest.md +9 -0
- data/docs/JobPostingsApi.md +378 -0
- data/docs/JobResponse.md +15 -0
- data/docs/JobsApi.md +1197 -0
- data/docs/MultiEntityLookup.md +8 -0
- data/docs/NotesApi.md +215 -0
- data/docs/OrgAuditLogEvent.md +22 -0
- data/docs/PostPurchaseRequest.md +12 -0
- data/docs/PublicApiAttachmentResponse.md +19 -0
- data/docs/PublicApiAttachmentResponseList.md +9 -0
- data/docs/PublicApiDocumentType.md +10 -0
- data/docs/PublicApiGetAccountResponse.md +85 -0
- data/docs/PublicApiGetAccountResponseList.md +9 -0
- data/docs/PublicApiGetContactJob.md +13 -0
- data/docs/PublicApiGetContactResponse.md +151 -0
- data/docs/PublicApiGetContactResponseList.md +9 -0
- data/docs/PublicApiGetJobContact.md +13 -0
- data/docs/PublicApiGetJobListResponse.md +9 -0
- data/docs/PublicApiGetJobPostingListResponse.md +9 -0
- data/docs/PublicApiGetJobPostingResponse.md +29 -0
- data/docs/PublicApiGetJobPostingSearchResponse.md +8 -0
- data/docs/PublicApiGetJobPostingSearchResult.md +18 -0
- data/docs/PublicApiGetJobResponse.md +127 -0
- data/docs/PublicApiGetNoteResponse.md +21 -0
- data/docs/PublicApiGetTaskResponse.md +23 -0
- data/docs/PublicApiIdResponse.md +8 -0
- data/docs/PublicApiPlacementResponse.md +32 -0
- data/docs/PublicApiPlacementResponseList.md +9 -0
- data/docs/PublicApiRecordOwner.md +10 -0
- data/docs/PublicApiSaveAccountRequest.md +74 -0
- data/docs/PublicApiSaveAttachmentRequest.md +13 -0
- data/docs/PublicApiSaveContactRequest.md +139 -0
- data/docs/PublicApiSaveJobApplicationRequest.md +13 -0
- data/docs/PublicApiSaveJobPostingRequest.md +19 -0
- data/docs/PublicApiSaveJobRequest.md +95 -0
- data/docs/PublicApiSaveJobRequestJobType.md +9 -0
- data/docs/PublicApiSaveNoteRequest.md +11 -0
- data/docs/PublicApiSaveTaskRequest.md +13 -0
- data/docs/PublicApiSaveWorkflowItemStatusRequest.md +9 -0
- data/docs/PublicApiTagCategory.md +9 -0
- data/docs/PublicApiWorkflowStatus.md +12 -0
- data/docs/PublicApiWorkflowType.md +9 -0
- data/docs/Question.md +13 -0
- data/docs/QuestionSetResponse.md +12 -0
- data/docs/SaveExtCredentialResponse.md +10 -0
- data/docs/SearchContact.md +11 -0
- data/docs/SendEmailResponse.md +13 -0
- data/docs/SendSubmittalDetail.md +11 -0
- data/docs/ShareLink.md +13 -0
- data/docs/SignupInformation.md +19 -0
- data/docs/SmsPlivoMessageReceivedRequest.md +15 -0
- data/docs/SmsPlivoMessageStatusReceivedRequest.md +17 -0
- data/docs/SmsPlivoVoiceAnswerRequest.md +13 -0
- data/docs/SmsPlivoVoiceHangupRequest.md +19 -0
- data/docs/SparkHireResponseInfoInterviewResponse.md +11 -0
- data/docs/SparkHireResponseInfoJobResponse.md +11 -0
- data/docs/SparkHireResponseInfoQuestionSetResponse.md +11 -0
- data/docs/TasksApi.md +215 -0
- data/docs/UserResponse.md +12 -0
- data/docs/WayupData.md +15 -0
- data/docs/WebhookDeleteResponse.md +8 -0
- data/docs/ZipApplyData.md +15 -0
- data/git_push.sh +55 -0
- data/lib/.DS_Store +0 -0
- data/lib/crelate_client/.DS_Store +0 -0
- data/lib/crelate_client/api/companies_api.rb +1151 -0
- data/lib/crelate_client/api/contacts_api.rb +1552 -0
- data/lib/crelate_client/api/domain_api.rb +239 -0
- data/lib/crelate_client/api/job_postings_api.rb +467 -0
- data/lib/crelate_client/api/jobs_api.rb +1494 -0
- data/lib/crelate_client/api/notes_api.rb +273 -0
- data/lib/crelate_client/api/tasks_api.rb +273 -0
- data/lib/crelate_client/api_client.rb +388 -0
- data/lib/crelate_client/api_error.rb +38 -0
- data/lib/crelate_client/configuration.rb +202 -0
- data/lib/crelate_client/models/assigned_to.rb +215 -0
- data/lib/crelate_client/models/assigned_to_request.rb +197 -0
- data/lib/crelate_client/models/board_parameters.rb +199 -0
- data/lib/crelate_client/models/broadcast_message.rb +284 -0
- data/lib/crelate_client/models/broadcast_message_create_request.rb +197 -0
- data/lib/crelate_client/models/company.rb +215 -0
- data/lib/crelate_client/models/compliance_settings_payload.rb +188 -0
- data/lib/crelate_client/models/consent_request_payload.rb +197 -0
- data/lib/crelate_client/models/crelate_action.rb +279 -0
- data/lib/crelate_client/models/crelate_action_payload.rb +210 -0
- data/lib/crelate_client/models/crelate_details.rb +206 -0
- data/lib/crelate_client/models/custom_form_completed_form.rb +221 -0
- data/lib/crelate_client/models/custom_form_definition.rb +264 -0
- data/lib/crelate_client/models/custom_form_definition_entities.rb +201 -0
- data/lib/crelate_client/models/custom_form_form_definition_usage.rb +210 -0
- data/lib/crelate_client/models/custom_form_form_defintion_usage_jobs.rb +197 -0
- data/lib/crelate_client/models/custom_form_form_field_usage.rb +221 -0
- data/lib/crelate_client/models/custom_form_form_field_usage_form_definition.rb +206 -0
- data/lib/crelate_client/models/custom_form_layout_section.rb +199 -0
- data/lib/crelate_client/models/custom_form_save_response.rb +259 -0
- data/lib/crelate_client/models/document_collection.rb +212 -0
- data/lib/crelate_client/models/document_item.rb +316 -0
- data/lib/crelate_client/models/email_attachment.rb +213 -0
- data/lib/crelate_client/models/entity_document_options.rb +188 -0
- data/lib/crelate_client/models/entity_lookup.rb +286 -0
- data/lib/crelate_client/models/ext_integration_response_interview_response.rb +217 -0
- data/lib/crelate_client/models/ext_referral_request.rb +224 -0
- data/lib/crelate_client/models/ext_resume_candidate.rb +342 -0
- data/lib/crelate_client/models/ext_resume_career_builder_validate_credentials_response.rb +197 -0
- data/lib/crelate_client/models/ext_resume_org_state.rb +404 -0
- data/lib/crelate_client/models/ext_resume_package_pricing.rb +215 -0
- data/lib/crelate_client/models/ext_resume_package_update_request.rb +230 -0
- data/lib/crelate_client/models/ext_resume_search_response.rb +199 -0
- data/lib/crelate_client/models/ext_resume_view_response.rb +421 -0
- data/lib/crelate_client/models/fusebill_state_item.rb +197 -0
- data/lib/crelate_client/models/get_document_list_options.rb +231 -0
- data/lib/crelate_client/models/interview_request.rb +199 -0
- data/lib/crelate_client/models/interview_request_details.rb +255 -0
- data/lib/crelate_client/models/interview_response.rb +311 -0
- data/lib/crelate_client/models/job_post_request.rb +197 -0
- data/lib/crelate_client/models/job_response.rb +251 -0
- data/lib/crelate_client/models/multi_entity_lookup.rb +190 -0
- data/lib/crelate_client/models/org_audit_log_event.rb +314 -0
- data/lib/crelate_client/models/post_purchase_request.rb +224 -0
- data/lib/crelate_client/models/public_api_attachment_response.rb +287 -0
- data/lib/crelate_client/models/public_api_attachment_response_list.rb +199 -0
- data/lib/crelate_client/models/public_api_document_type.rb +208 -0
- data/lib/crelate_client/models/public_api_get_account_response.rb +889 -0
- data/lib/crelate_client/models/public_api_get_account_response_list.rb +199 -0
- data/lib/crelate_client/models/public_api_get_contact_job.rb +233 -0
- data/lib/crelate_client/models/public_api_get_contact_response.rb +1485 -0
- data/lib/crelate_client/models/public_api_get_contact_response_list.rb +199 -0
- data/lib/crelate_client/models/public_api_get_job_contact.rb +233 -0
- data/lib/crelate_client/models/public_api_get_job_list_response.rb +199 -0
- data/lib/crelate_client/models/public_api_get_job_posting_list_response.rb +199 -0
- data/lib/crelate_client/models/public_api_get_job_posting_response.rb +379 -0
- data/lib/crelate_client/models/public_api_get_job_posting_search_response.rb +190 -0
- data/lib/crelate_client/models/public_api_get_job_posting_search_result.rb +278 -0
- data/lib/crelate_client/models/public_api_get_job_response.rb +1267 -0
- data/lib/crelate_client/models/public_api_get_note_response.rb +307 -0
- data/lib/crelate_client/models/public_api_get_task_response.rb +325 -0
- data/lib/crelate_client/models/public_api_id_response.rb +188 -0
- data/lib/crelate_client/models/public_api_placement_response.rb +404 -0
- data/lib/crelate_client/models/public_api_placement_response_list.rb +199 -0
- data/lib/crelate_client/models/public_api_record_owner.rb +206 -0
- data/lib/crelate_client/models/public_api_save_account_request.rb +786 -0
- data/lib/crelate_client/models/public_api_save_attachment_request.rb +233 -0
- data/lib/crelate_client/models/public_api_save_contact_request.rb +1373 -0
- data/lib/crelate_client/models/public_api_save_job_application_request.rb +233 -0
- data/lib/crelate_client/models/public_api_save_job_posting_request.rb +287 -0
- data/lib/crelate_client/models/public_api_save_job_request.rb +975 -0
- data/lib/crelate_client/models/public_api_save_job_request_job_type.rb +197 -0
- data/lib/crelate_client/models/public_api_save_note_request.rb +215 -0
- data/lib/crelate_client/models/public_api_save_task_request.rb +233 -0
- data/lib/crelate_client/models/public_api_save_workflow_item_status_request.rb +197 -0
- data/lib/crelate_client/models/public_api_tag_category.rb +197 -0
- data/lib/crelate_client/models/public_api_workflow_status.rb +224 -0
- data/lib/crelate_client/models/public_api_workflow_type.rb +197 -0
- data/lib/crelate_client/models/question.rb +233 -0
- data/lib/crelate_client/models/question_set_response.rb +226 -0
- data/lib/crelate_client/models/save_ext_credential_response.rb +206 -0
- data/lib/crelate_client/models/search_contact.rb +215 -0
- data/lib/crelate_client/models/send_email_response.rb +235 -0
- data/lib/crelate_client/models/send_submittal_detail.rb +217 -0
- data/lib/crelate_client/models/share_link.rb +266 -0
- data/lib/crelate_client/models/signup_information.rb +287 -0
- data/lib/crelate_client/models/sms_plivo_message_received_request.rb +251 -0
- data/lib/crelate_client/models/sms_plivo_message_status_received_request.rb +269 -0
- data/lib/crelate_client/models/sms_plivo_voice_answer_request.rb +233 -0
- data/lib/crelate_client/models/sms_plivo_voice_hangup_request.rb +287 -0
- data/lib/crelate_client/models/spark_hire_response_info_interview_response.rb +215 -0
- data/lib/crelate_client/models/spark_hire_response_info_job_response.rb +215 -0
- data/lib/crelate_client/models/spark_hire_response_info_question_set_response.rb +215 -0
- data/lib/crelate_client/models/user_response.rb +224 -0
- data/lib/crelate_client/models/wayup_data.rb +267 -0
- data/lib/crelate_client/models/webhook_delete_response.rb +188 -0
- data/lib/crelate_client/models/zip_apply_data.rb +267 -0
- data/lib/crelate_client/version.rb +15 -0
- data/lib/crelate_client.rb +143 -0
- data/spec/api/companies_api_spec.rb +273 -0
- data/spec/api/contacts_api_spec.rb +358 -0
- data/spec/api/domain_api_spec.rb +83 -0
- data/spec/api/job_postings_api_spec.rb +131 -0
- data/spec/api/jobs_api_spec.rb +346 -0
- data/spec/api/notes_api_spec.rb +88 -0
- data/spec/api/tasks_api_spec.rb +88 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/assigned_to_request_spec.rb +48 -0
- data/spec/models/assigned_to_spec.rb +60 -0
- data/spec/models/board_parameters_spec.rb +48 -0
- data/spec/models/broadcast_message_create_request_spec.rb +48 -0
- data/spec/models/broadcast_message_spec.rb +88 -0
- data/spec/models/company_spec.rb +60 -0
- data/spec/models/compliance_settings_payload_spec.rb +42 -0
- data/spec/models/consent_request_payload_spec.rb +48 -0
- data/spec/models/crelate_action_payload_spec.rb +54 -0
- data/spec/models/crelate_action_spec.rb +82 -0
- data/spec/models/crelate_details_spec.rb +54 -0
- data/spec/models/custom_form_completed_form_spec.rb +60 -0
- data/spec/models/custom_form_definition_entities_spec.rb +48 -0
- data/spec/models/custom_form_definition_spec.rb +90 -0
- data/spec/models/custom_form_form_definition_usage_spec.rb +54 -0
- data/spec/models/custom_form_form_defintion_usage_jobs_spec.rb +48 -0
- data/spec/models/custom_form_form_field_usage_form_definition_spec.rb +54 -0
- data/spec/models/custom_form_form_field_usage_spec.rb +60 -0
- data/spec/models/custom_form_layout_section_spec.rb +48 -0
- data/spec/models/custom_form_save_response_spec.rb +70 -0
- data/spec/models/document_collection_spec.rb +54 -0
- data/spec/models/document_item_spec.rb +126 -0
- data/spec/models/email_attachment_spec.rb +48 -0
- data/spec/models/entity_document_options_spec.rb +42 -0
- data/spec/models/entity_lookup_spec.rb +88 -0
- data/spec/models/ext_integration_response_interview_response_spec.rb +60 -0
- data/spec/models/ext_referral_request_spec.rb +66 -0
- data/spec/models/ext_resume_candidate_spec.rb +124 -0
- data/spec/models/ext_resume_career_builder_validate_credentials_response_spec.rb +48 -0
- data/spec/models/ext_resume_org_state_spec.rb +164 -0
- data/spec/models/ext_resume_package_pricing_spec.rb +60 -0
- data/spec/models/ext_resume_package_update_request_spec.rb +52 -0
- data/spec/models/ext_resume_search_response_spec.rb +48 -0
- data/spec/models/ext_resume_view_response_spec.rb +178 -0
- data/spec/models/fusebill_state_item_spec.rb +48 -0
- data/spec/models/get_document_list_options_spec.rb +58 -0
- data/spec/models/interview_request_details_spec.rb +84 -0
- data/spec/models/interview_request_spec.rb +48 -0
- data/spec/models/interview_response_spec.rb +106 -0
- data/spec/models/job_post_request_spec.rb +48 -0
- data/spec/models/job_response_spec.rb +84 -0
- data/spec/models/multi_entity_lookup_spec.rb +42 -0
- data/spec/models/org_audit_log_event_spec.rb +126 -0
- data/spec/models/post_purchase_request_spec.rb +66 -0
- data/spec/models/public_api_attachment_response_list_spec.rb +48 -0
- data/spec/models/public_api_attachment_response_spec.rb +108 -0
- data/spec/models/public_api_document_type_spec.rb +54 -0
- data/spec/models/public_api_get_account_response_list_spec.rb +48 -0
- data/spec/models/public_api_get_account_response_spec.rb +504 -0
- data/spec/models/public_api_get_contact_job_spec.rb +72 -0
- data/spec/models/public_api_get_contact_response_list_spec.rb +48 -0
- data/spec/models/public_api_get_contact_response_spec.rb +900 -0
- data/spec/models/public_api_get_job_contact_spec.rb +72 -0
- data/spec/models/public_api_get_job_list_response_spec.rb +48 -0
- data/spec/models/public_api_get_job_posting_list_response_spec.rb +48 -0
- data/spec/models/public_api_get_job_posting_response_spec.rb +168 -0
- data/spec/models/public_api_get_job_posting_search_response_spec.rb +42 -0
- data/spec/models/public_api_get_job_posting_search_result_spec.rb +102 -0
- data/spec/models/public_api_get_job_response_spec.rb +756 -0
- data/spec/models/public_api_get_note_response_spec.rb +120 -0
- data/spec/models/public_api_get_task_response_spec.rb +132 -0
- data/spec/models/public_api_id_response_spec.rb +42 -0
- data/spec/models/public_api_placement_response_list_spec.rb +48 -0
- data/spec/models/public_api_placement_response_spec.rb +186 -0
- data/spec/models/public_api_record_owner_spec.rb +54 -0
- data/spec/models/public_api_save_account_request_spec.rb +438 -0
- data/spec/models/public_api_save_attachment_request_spec.rb +72 -0
- data/spec/models/public_api_save_contact_request_spec.rb +828 -0
- data/spec/models/public_api_save_job_application_request_spec.rb +72 -0
- data/spec/models/public_api_save_job_posting_request_spec.rb +108 -0
- data/spec/models/public_api_save_job_request_job_type_spec.rb +48 -0
- data/spec/models/public_api_save_job_request_spec.rb +564 -0
- data/spec/models/public_api_save_note_request_spec.rb +60 -0
- data/spec/models/public_api_save_task_request_spec.rb +72 -0
- data/spec/models/public_api_save_workflow_item_status_request_spec.rb +48 -0
- data/spec/models/public_api_tag_category_spec.rb +48 -0
- data/spec/models/public_api_workflow_status_spec.rb +66 -0
- data/spec/models/public_api_workflow_type_spec.rb +48 -0
- data/spec/models/question_set_response_spec.rb +66 -0
- data/spec/models/question_spec.rb +72 -0
- data/spec/models/save_ext_credential_response_spec.rb +54 -0
- data/spec/models/search_contact_spec.rb +60 -0
- data/spec/models/send_email_response_spec.rb +72 -0
- data/spec/models/send_submittal_detail_spec.rb +60 -0
- data/spec/models/share_link_spec.rb +76 -0
- data/spec/models/signup_information_spec.rb +108 -0
- data/spec/models/sms_plivo_message_received_request_spec.rb +84 -0
- data/spec/models/sms_plivo_message_status_received_request_spec.rb +96 -0
- data/spec/models/sms_plivo_voice_answer_request_spec.rb +72 -0
- data/spec/models/sms_plivo_voice_hangup_request_spec.rb +108 -0
- data/spec/models/spark_hire_response_info_interview_response_spec.rb +60 -0
- data/spec/models/spark_hire_response_info_job_response_spec.rb +60 -0
- data/spec/models/spark_hire_response_info_question_set_response_spec.rb +60 -0
- data/spec/models/user_response_spec.rb +66 -0
- data/spec/models/wayup_data_spec.rb +84 -0
- data/spec/models/webhook_delete_response_spec.rb +42 -0
- data/spec/models/zip_apply_data_spec.rb +84 -0
- data/spec/spec_helper.rb +111 -0
- metadata +654 -0
data/docs/ContactsApi.md
ADDED
@@ -0,0 +1,1246 @@
|
|
1
|
+
# CrelateClient::ContactsApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://app.crelate.com*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**public_api_delete_contact**](ContactsApi.md#public_api_delete_contact) | **DELETE** /api/pub/v1/contacts/{contactId} | delete a contact
|
8
|
+
[**public_api_delete_contact_attachment**](ContactsApi.md#public_api_delete_contact_attachment) | **DELETE** /api/pub/v1/contacts/{contactId}/attachments/{attachmentId} | delete an attachment for a contact
|
9
|
+
[**public_api_delete_contact_job**](ContactsApi.md#public_api_delete_contact_job) | **DELETE** /api/pub/v1/contacts/{contactId}/jobs/{jobId} | delete a contact from a job for the recruiting workflow
|
10
|
+
[**public_api_delete_contact_note**](ContactsApi.md#public_api_delete_contact_note) | **DELETE** /api/pub/v1/contacts/{contactId}/notes/{noteId} | delete a note for a contact
|
11
|
+
[**public_api_delete_contact_task**](ContactsApi.md#public_api_delete_contact_task) | **DELETE** /api/pub/v1/contacts/{contactId}/tasks/{taskId} | delete a task for a contact
|
12
|
+
[**public_api_get_contact**](ContactsApi.md#public_api_get_contact) | **GET** /api/pub/v1/contacts/{contactId} | retrieve a contact by id
|
13
|
+
[**public_api_get_contact_attachment**](ContactsApi.md#public_api_get_contact_attachment) | **GET** /api/pub/v1/contacts/{contactId}/attachments/{attachmentId} | get the content of a specific attachment for a contact
|
14
|
+
[**public_api_get_contact_attachments**](ContactsApi.md#public_api_get_contact_attachments) | **GET** /api/pub/v1/contacts/{contactId}/attachments | get all attachment metadata for a contact
|
15
|
+
[**public_api_get_contact_jobs**](ContactsApi.md#public_api_get_contact_jobs) | **GET** /api/pub/v1/contacts/{contactId}/jobs | get jobs for a contact
|
16
|
+
[**public_api_get_contact_note**](ContactsApi.md#public_api_get_contact_note) | **GET** /api/pub/v1/contacts/{contactId}/notes/{noteId} | get a note for a contact
|
17
|
+
[**public_api_get_contact_placements**](ContactsApi.md#public_api_get_contact_placements) | **GET** /api/pub/v1/contacts/{contactId}/placements | Get placements associated with a job Please Note: TimeToFill is the amount of Days it took to fill the position
|
18
|
+
[**public_api_get_contact_task**](ContactsApi.md#public_api_get_contact_task) | **GET** /api/pub/v1/contacts/{contactId}/tasks/{taskId} | get a task for a contact
|
19
|
+
[**public_api_get_contacts**](ContactsApi.md#public_api_get_contacts) | **GET** /api/pub/v1/contacts/recent | retrieve a list of contact updated within a certain time frame
|
20
|
+
[**public_api_get_contacts_by_email**](ContactsApi.md#public_api_get_contacts_by_email) | **GET** /api/pub/v1/contacts | retrieve a list of contacts by email
|
21
|
+
[**public_api_post_contact**](ContactsApi.md#public_api_post_contact) | **POST** /api/pub/v1/contacts | create a contact
|
22
|
+
[**public_api_post_contact_attachment**](ContactsApi.md#public_api_post_contact_attachment) | **POST** /api/pub/v1/contacts/{contactId}/attachments | add an attachment to a contact
|
23
|
+
[**public_api_post_contact_job**](ContactsApi.md#public_api_post_contact_job) | **POST** /api/pub/v1/contacts/{contactId}/jobs/{jobId} | move a contact into a job for the first time
|
24
|
+
[**public_api_post_contact_note**](ContactsApi.md#public_api_post_contact_note) | **POST** /api/pub/v1/contacts/{contactId}/notes | create a note for a contact
|
25
|
+
[**public_api_post_contact_task**](ContactsApi.md#public_api_post_contact_task) | **POST** /api/pub/v1/contacts/{contactId}/tasks | save a task for a contact
|
26
|
+
[**public_api_put_contact**](ContactsApi.md#public_api_put_contact) | **PUT** /api/pub/v1/contacts/{contactId} | update a contact
|
27
|
+
[**public_api_put_contact_job_status**](ContactsApi.md#public_api_put_contact_job_status) | **PUT** /api/pub/v1/contacts/{contactId}/jobs/{jobId} | update job stage for a contact
|
28
|
+
[**public_api_put_contact_note**](ContactsApi.md#public_api_put_contact_note) | **PUT** /api/pub/v1/contacts/{contactId}/notes/{noteId} | update a note for a contact
|
29
|
+
[**public_api_put_contact_task**](ContactsApi.md#public_api_put_contact_task) | **PUT** /api/pub/v1/contacts/{contactId}/tasks/{taskId} | update a task for a contact
|
30
|
+
|
31
|
+
|
32
|
+
# **public_api_delete_contact**
|
33
|
+
> Object public_api_delete_contact(contact_id, api_key)
|
34
|
+
|
35
|
+
delete a contact
|
36
|
+
|
37
|
+
|
38
|
+
|
39
|
+
### Example
|
40
|
+
```ruby
|
41
|
+
# load the gem
|
42
|
+
require 'crelate_client'
|
43
|
+
|
44
|
+
api_instance = CrelateClient::ContactsApi.new
|
45
|
+
|
46
|
+
contact_id = "contact_id_example" # String | identifier
|
47
|
+
|
48
|
+
api_key = "api_key_example" # String | crelate api key
|
49
|
+
|
50
|
+
|
51
|
+
begin
|
52
|
+
#delete a contact
|
53
|
+
result = api_instance.public_api_delete_contact(contact_id, api_key)
|
54
|
+
p result
|
55
|
+
rescue CrelateClient::ApiError => e
|
56
|
+
puts "Exception when calling ContactsApi->public_api_delete_contact: #{e}"
|
57
|
+
end
|
58
|
+
```
|
59
|
+
|
60
|
+
### Parameters
|
61
|
+
|
62
|
+
Name | Type | Description | Notes
|
63
|
+
------------- | ------------- | ------------- | -------------
|
64
|
+
**contact_id** | [**String**](.md)| identifier |
|
65
|
+
**api_key** | **String**| crelate api key |
|
66
|
+
|
67
|
+
### Return type
|
68
|
+
|
69
|
+
**Object**
|
70
|
+
|
71
|
+
### Authorization
|
72
|
+
|
73
|
+
No authorization required
|
74
|
+
|
75
|
+
### HTTP request headers
|
76
|
+
|
77
|
+
- **Content-Type**: Not defined
|
78
|
+
- **Accept**: application/json, text/json
|
79
|
+
|
80
|
+
|
81
|
+
|
82
|
+
# **public_api_delete_contact_attachment**
|
83
|
+
> Object public_api_delete_contact_attachment(contact_id, attachment_id, api_key)
|
84
|
+
|
85
|
+
delete an attachment for a contact
|
86
|
+
|
87
|
+
### Example
|
88
|
+
```ruby
|
89
|
+
# load the gem
|
90
|
+
require 'crelate_client'
|
91
|
+
|
92
|
+
api_instance = CrelateClient::ContactsApi.new
|
93
|
+
|
94
|
+
contact_id = "contact_id_example" # String | contact identifier
|
95
|
+
|
96
|
+
attachment_id = "attachment_id_example" # String | attachment identifier
|
97
|
+
|
98
|
+
api_key = "api_key_example" # String | crelate api key
|
99
|
+
|
100
|
+
|
101
|
+
begin
|
102
|
+
#delete an attachment for a contact
|
103
|
+
result = api_instance.public_api_delete_contact_attachment(contact_id, attachment_id, api_key)
|
104
|
+
p result
|
105
|
+
rescue CrelateClient::ApiError => e
|
106
|
+
puts "Exception when calling ContactsApi->public_api_delete_contact_attachment: #{e}"
|
107
|
+
end
|
108
|
+
```
|
109
|
+
|
110
|
+
### Parameters
|
111
|
+
|
112
|
+
Name | Type | Description | Notes
|
113
|
+
------------- | ------------- | ------------- | -------------
|
114
|
+
**contact_id** | [**String**](.md)| contact identifier |
|
115
|
+
**attachment_id** | [**String**](.md)| attachment identifier |
|
116
|
+
**api_key** | **String**| crelate api key |
|
117
|
+
|
118
|
+
### Return type
|
119
|
+
|
120
|
+
**Object**
|
121
|
+
|
122
|
+
### Authorization
|
123
|
+
|
124
|
+
No authorization required
|
125
|
+
|
126
|
+
### HTTP request headers
|
127
|
+
|
128
|
+
- **Content-Type**: Not defined
|
129
|
+
- **Accept**: application/json, text/json
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
# **public_api_delete_contact_job**
|
134
|
+
> Object public_api_delete_contact_job(contact_id, job_id, api_key)
|
135
|
+
|
136
|
+
delete a contact from a job for the recruiting workflow
|
137
|
+
|
138
|
+
|
139
|
+
|
140
|
+
### Example
|
141
|
+
```ruby
|
142
|
+
# load the gem
|
143
|
+
require 'crelate_client'
|
144
|
+
|
145
|
+
api_instance = CrelateClient::ContactsApi.new
|
146
|
+
|
147
|
+
contact_id = "contact_id_example" # String |
|
148
|
+
|
149
|
+
job_id = "job_id_example" # String |
|
150
|
+
|
151
|
+
api_key = "api_key_example" # String | crelate api key
|
152
|
+
|
153
|
+
|
154
|
+
begin
|
155
|
+
#delete a contact from a job for the recruiting workflow
|
156
|
+
result = api_instance.public_api_delete_contact_job(contact_id, job_id, api_key)
|
157
|
+
p result
|
158
|
+
rescue CrelateClient::ApiError => e
|
159
|
+
puts "Exception when calling ContactsApi->public_api_delete_contact_job: #{e}"
|
160
|
+
end
|
161
|
+
```
|
162
|
+
|
163
|
+
### Parameters
|
164
|
+
|
165
|
+
Name | Type | Description | Notes
|
166
|
+
------------- | ------------- | ------------- | -------------
|
167
|
+
**contact_id** | [**String**](.md)| |
|
168
|
+
**job_id** | [**String**](.md)| |
|
169
|
+
**api_key** | **String**| crelate api key |
|
170
|
+
|
171
|
+
### Return type
|
172
|
+
|
173
|
+
**Object**
|
174
|
+
|
175
|
+
### Authorization
|
176
|
+
|
177
|
+
No authorization required
|
178
|
+
|
179
|
+
### HTTP request headers
|
180
|
+
|
181
|
+
- **Content-Type**: Not defined
|
182
|
+
- **Accept**: application/json, text/json
|
183
|
+
|
184
|
+
|
185
|
+
|
186
|
+
# **public_api_delete_contact_note**
|
187
|
+
> Object public_api_delete_contact_note(contact_id, note_id, api_key)
|
188
|
+
|
189
|
+
delete a note for a contact
|
190
|
+
|
191
|
+
|
192
|
+
|
193
|
+
### Example
|
194
|
+
```ruby
|
195
|
+
# load the gem
|
196
|
+
require 'crelate_client'
|
197
|
+
|
198
|
+
api_instance = CrelateClient::ContactsApi.new
|
199
|
+
|
200
|
+
contact_id = "contact_id_example" # String | identifier
|
201
|
+
|
202
|
+
note_id = "note_id_example" # String |
|
203
|
+
|
204
|
+
api_key = "api_key_example" # String | crelate api key
|
205
|
+
|
206
|
+
|
207
|
+
begin
|
208
|
+
#delete a note for a contact
|
209
|
+
result = api_instance.public_api_delete_contact_note(contact_id, note_id, api_key)
|
210
|
+
p result
|
211
|
+
rescue CrelateClient::ApiError => e
|
212
|
+
puts "Exception when calling ContactsApi->public_api_delete_contact_note: #{e}"
|
213
|
+
end
|
214
|
+
```
|
215
|
+
|
216
|
+
### Parameters
|
217
|
+
|
218
|
+
Name | Type | Description | Notes
|
219
|
+
------------- | ------------- | ------------- | -------------
|
220
|
+
**contact_id** | [**String**](.md)| identifier |
|
221
|
+
**note_id** | [**String**](.md)| |
|
222
|
+
**api_key** | **String**| crelate api key |
|
223
|
+
|
224
|
+
### Return type
|
225
|
+
|
226
|
+
**Object**
|
227
|
+
|
228
|
+
### Authorization
|
229
|
+
|
230
|
+
No authorization required
|
231
|
+
|
232
|
+
### HTTP request headers
|
233
|
+
|
234
|
+
- **Content-Type**: Not defined
|
235
|
+
- **Accept**: application/json, text/json
|
236
|
+
|
237
|
+
|
238
|
+
|
239
|
+
# **public_api_delete_contact_task**
|
240
|
+
> Object public_api_delete_contact_task(contact_id, task_id, api_key)
|
241
|
+
|
242
|
+
delete a task for a contact
|
243
|
+
|
244
|
+
|
245
|
+
|
246
|
+
### Example
|
247
|
+
```ruby
|
248
|
+
# load the gem
|
249
|
+
require 'crelate_client'
|
250
|
+
|
251
|
+
api_instance = CrelateClient::ContactsApi.new
|
252
|
+
|
253
|
+
contact_id = "contact_id_example" # String | identifier
|
254
|
+
|
255
|
+
task_id = "task_id_example" # String |
|
256
|
+
|
257
|
+
api_key = "api_key_example" # String | crelate api key
|
258
|
+
|
259
|
+
|
260
|
+
begin
|
261
|
+
#delete a task for a contact
|
262
|
+
result = api_instance.public_api_delete_contact_task(contact_id, task_id, api_key)
|
263
|
+
p result
|
264
|
+
rescue CrelateClient::ApiError => e
|
265
|
+
puts "Exception when calling ContactsApi->public_api_delete_contact_task: #{e}"
|
266
|
+
end
|
267
|
+
```
|
268
|
+
|
269
|
+
### Parameters
|
270
|
+
|
271
|
+
Name | Type | Description | Notes
|
272
|
+
------------- | ------------- | ------------- | -------------
|
273
|
+
**contact_id** | [**String**](.md)| identifier |
|
274
|
+
**task_id** | [**String**](.md)| |
|
275
|
+
**api_key** | **String**| crelate api key |
|
276
|
+
|
277
|
+
### Return type
|
278
|
+
|
279
|
+
**Object**
|
280
|
+
|
281
|
+
### Authorization
|
282
|
+
|
283
|
+
No authorization required
|
284
|
+
|
285
|
+
### HTTP request headers
|
286
|
+
|
287
|
+
- **Content-Type**: Not defined
|
288
|
+
- **Accept**: application/json, text/json
|
289
|
+
|
290
|
+
|
291
|
+
|
292
|
+
# **public_api_get_contact**
|
293
|
+
> PublicApiGetContactResponse public_api_get_contact(contact_id, api_key)
|
294
|
+
|
295
|
+
retrieve a contact by id
|
296
|
+
|
297
|
+
|
298
|
+
|
299
|
+
### Example
|
300
|
+
```ruby
|
301
|
+
# load the gem
|
302
|
+
require 'crelate_client'
|
303
|
+
|
304
|
+
api_instance = CrelateClient::ContactsApi.new
|
305
|
+
|
306
|
+
contact_id = "contact_id_example" # String | identifier
|
307
|
+
|
308
|
+
api_key = "api_key_example" # String | crelate api key
|
309
|
+
|
310
|
+
|
311
|
+
begin
|
312
|
+
#retrieve a contact by id
|
313
|
+
result = api_instance.public_api_get_contact(contact_id, api_key)
|
314
|
+
p result
|
315
|
+
rescue CrelateClient::ApiError => e
|
316
|
+
puts "Exception when calling ContactsApi->public_api_get_contact: #{e}"
|
317
|
+
end
|
318
|
+
```
|
319
|
+
|
320
|
+
### Parameters
|
321
|
+
|
322
|
+
Name | Type | Description | Notes
|
323
|
+
------------- | ------------- | ------------- | -------------
|
324
|
+
**contact_id** | [**String**](.md)| identifier |
|
325
|
+
**api_key** | **String**| crelate api key |
|
326
|
+
|
327
|
+
### Return type
|
328
|
+
|
329
|
+
[**PublicApiGetContactResponse**](PublicApiGetContactResponse.md)
|
330
|
+
|
331
|
+
### Authorization
|
332
|
+
|
333
|
+
No authorization required
|
334
|
+
|
335
|
+
### HTTP request headers
|
336
|
+
|
337
|
+
- **Content-Type**: Not defined
|
338
|
+
- **Accept**: application/json, text/json
|
339
|
+
|
340
|
+
|
341
|
+
|
342
|
+
# **public_api_get_contact_attachment**
|
343
|
+
> Object public_api_get_contact_attachment(contact_id, attachment_id, api_key)
|
344
|
+
|
345
|
+
get the content of a specific attachment for a contact
|
346
|
+
|
347
|
+
|
348
|
+
|
349
|
+
### Example
|
350
|
+
```ruby
|
351
|
+
# load the gem
|
352
|
+
require 'crelate_client'
|
353
|
+
|
354
|
+
api_instance = CrelateClient::ContactsApi.new
|
355
|
+
|
356
|
+
contact_id = "contact_id_example" # String | identifier
|
357
|
+
|
358
|
+
attachment_id = "attachment_id_example" # String | attachment identifier
|
359
|
+
|
360
|
+
api_key = "api_key_example" # String | crelate api key
|
361
|
+
|
362
|
+
|
363
|
+
begin
|
364
|
+
#get the content of a specific attachment for a contact
|
365
|
+
result = api_instance.public_api_get_contact_attachment(contact_id, attachment_id, api_key)
|
366
|
+
p result
|
367
|
+
rescue CrelateClient::ApiError => e
|
368
|
+
puts "Exception when calling ContactsApi->public_api_get_contact_attachment: #{e}"
|
369
|
+
end
|
370
|
+
```
|
371
|
+
|
372
|
+
### Parameters
|
373
|
+
|
374
|
+
Name | Type | Description | Notes
|
375
|
+
------------- | ------------- | ------------- | -------------
|
376
|
+
**contact_id** | [**String**](.md)| identifier |
|
377
|
+
**attachment_id** | [**String**](.md)| attachment identifier |
|
378
|
+
**api_key** | **String**| crelate api key |
|
379
|
+
|
380
|
+
### Return type
|
381
|
+
|
382
|
+
**Object**
|
383
|
+
|
384
|
+
### Authorization
|
385
|
+
|
386
|
+
No authorization required
|
387
|
+
|
388
|
+
### HTTP request headers
|
389
|
+
|
390
|
+
- **Content-Type**: Not defined
|
391
|
+
- **Accept**: application/json, text/json
|
392
|
+
|
393
|
+
|
394
|
+
|
395
|
+
# **public_api_get_contact_attachments**
|
396
|
+
> PublicApiAttachmentResponseList public_api_get_contact_attachments(contact_id, api_key)
|
397
|
+
|
398
|
+
get all attachment metadata for a contact
|
399
|
+
|
400
|
+
|
401
|
+
|
402
|
+
### Example
|
403
|
+
```ruby
|
404
|
+
# load the gem
|
405
|
+
require 'crelate_client'
|
406
|
+
|
407
|
+
api_instance = CrelateClient::ContactsApi.new
|
408
|
+
|
409
|
+
contact_id = "contact_id_example" # String |
|
410
|
+
|
411
|
+
api_key = "api_key_example" # String | crelate api key
|
412
|
+
|
413
|
+
|
414
|
+
begin
|
415
|
+
#get all attachment metadata for a contact
|
416
|
+
result = api_instance.public_api_get_contact_attachments(contact_id, api_key)
|
417
|
+
p result
|
418
|
+
rescue CrelateClient::ApiError => e
|
419
|
+
puts "Exception when calling ContactsApi->public_api_get_contact_attachments: #{e}"
|
420
|
+
end
|
421
|
+
```
|
422
|
+
|
423
|
+
### Parameters
|
424
|
+
|
425
|
+
Name | Type | Description | Notes
|
426
|
+
------------- | ------------- | ------------- | -------------
|
427
|
+
**contact_id** | [**String**](.md)| |
|
428
|
+
**api_key** | **String**| crelate api key |
|
429
|
+
|
430
|
+
### Return type
|
431
|
+
|
432
|
+
[**PublicApiAttachmentResponseList**](PublicApiAttachmentResponseList.md)
|
433
|
+
|
434
|
+
### Authorization
|
435
|
+
|
436
|
+
No authorization required
|
437
|
+
|
438
|
+
### HTTP request headers
|
439
|
+
|
440
|
+
- **Content-Type**: Not defined
|
441
|
+
- **Accept**: application/json, text/json
|
442
|
+
|
443
|
+
|
444
|
+
|
445
|
+
# **public_api_get_contact_jobs**
|
446
|
+
> Array<PublicApiGetContactJob> public_api_get_contact_jobs(contact_id, api_key)
|
447
|
+
|
448
|
+
get jobs for a contact
|
449
|
+
|
450
|
+
|
451
|
+
|
452
|
+
### Example
|
453
|
+
```ruby
|
454
|
+
# load the gem
|
455
|
+
require 'crelate_client'
|
456
|
+
|
457
|
+
api_instance = CrelateClient::ContactsApi.new
|
458
|
+
|
459
|
+
contact_id = "contact_id_example" # String | contact identifier
|
460
|
+
|
461
|
+
api_key = "api_key_example" # String | crelate api key
|
462
|
+
|
463
|
+
|
464
|
+
begin
|
465
|
+
#get jobs for a contact
|
466
|
+
result = api_instance.public_api_get_contact_jobs(contact_id, api_key)
|
467
|
+
p result
|
468
|
+
rescue CrelateClient::ApiError => e
|
469
|
+
puts "Exception when calling ContactsApi->public_api_get_contact_jobs: #{e}"
|
470
|
+
end
|
471
|
+
```
|
472
|
+
|
473
|
+
### Parameters
|
474
|
+
|
475
|
+
Name | Type | Description | Notes
|
476
|
+
------------- | ------------- | ------------- | -------------
|
477
|
+
**contact_id** | [**String**](.md)| contact identifier |
|
478
|
+
**api_key** | **String**| crelate api key |
|
479
|
+
|
480
|
+
### Return type
|
481
|
+
|
482
|
+
[**Array<PublicApiGetContactJob>**](PublicApiGetContactJob.md)
|
483
|
+
|
484
|
+
### Authorization
|
485
|
+
|
486
|
+
No authorization required
|
487
|
+
|
488
|
+
### HTTP request headers
|
489
|
+
|
490
|
+
- **Content-Type**: Not defined
|
491
|
+
- **Accept**: application/json, text/json
|
492
|
+
|
493
|
+
|
494
|
+
|
495
|
+
# **public_api_get_contact_note**
|
496
|
+
> PublicApiGetNoteResponse public_api_get_contact_note(contact_id, note_id, api_key)
|
497
|
+
|
498
|
+
get a note for a contact
|
499
|
+
|
500
|
+
|
501
|
+
|
502
|
+
### Example
|
503
|
+
```ruby
|
504
|
+
# load the gem
|
505
|
+
require 'crelate_client'
|
506
|
+
|
507
|
+
api_instance = CrelateClient::ContactsApi.new
|
508
|
+
|
509
|
+
contact_id = "contact_id_example" # String | identifier
|
510
|
+
|
511
|
+
note_id = "note_id_example" # String |
|
512
|
+
|
513
|
+
api_key = "api_key_example" # String | crelate api key
|
514
|
+
|
515
|
+
|
516
|
+
begin
|
517
|
+
#get a note for a contact
|
518
|
+
result = api_instance.public_api_get_contact_note(contact_id, note_id, api_key)
|
519
|
+
p result
|
520
|
+
rescue CrelateClient::ApiError => e
|
521
|
+
puts "Exception when calling ContactsApi->public_api_get_contact_note: #{e}"
|
522
|
+
end
|
523
|
+
```
|
524
|
+
|
525
|
+
### Parameters
|
526
|
+
|
527
|
+
Name | Type | Description | Notes
|
528
|
+
------------- | ------------- | ------------- | -------------
|
529
|
+
**contact_id** | [**String**](.md)| identifier |
|
530
|
+
**note_id** | [**String**](.md)| |
|
531
|
+
**api_key** | **String**| crelate api key |
|
532
|
+
|
533
|
+
### Return type
|
534
|
+
|
535
|
+
[**PublicApiGetNoteResponse**](PublicApiGetNoteResponse.md)
|
536
|
+
|
537
|
+
### Authorization
|
538
|
+
|
539
|
+
No authorization required
|
540
|
+
|
541
|
+
### HTTP request headers
|
542
|
+
|
543
|
+
- **Content-Type**: Not defined
|
544
|
+
- **Accept**: application/json, text/json
|
545
|
+
|
546
|
+
|
547
|
+
|
548
|
+
# **public_api_get_contact_placements**
|
549
|
+
> PublicApiPlacementResponseList public_api_get_contact_placements(contact_id, api_key, opts)
|
550
|
+
|
551
|
+
Get placements associated with a job Please Note: TimeToFill is the amount of Days it took to fill the position
|
552
|
+
|
553
|
+
### Example
|
554
|
+
```ruby
|
555
|
+
# load the gem
|
556
|
+
require 'crelate_client'
|
557
|
+
|
558
|
+
api_instance = CrelateClient::ContactsApi.new
|
559
|
+
|
560
|
+
contact_id = "contact_id_example" # String | id for job
|
561
|
+
|
562
|
+
api_key = "api_key_example" # String | crelate api key
|
563
|
+
|
564
|
+
opts = {
|
565
|
+
skip: 56, # Integer | skip number of records, default 0
|
566
|
+
take: 56 # Integer | retrieve x amount of records, limit 500, default 50
|
567
|
+
}
|
568
|
+
|
569
|
+
begin
|
570
|
+
#Get placements associated with a job Please Note: TimeToFill is the amount of Days it took to fill the position
|
571
|
+
result = api_instance.public_api_get_contact_placements(contact_id, api_key, opts)
|
572
|
+
p result
|
573
|
+
rescue CrelateClient::ApiError => e
|
574
|
+
puts "Exception when calling ContactsApi->public_api_get_contact_placements: #{e}"
|
575
|
+
end
|
576
|
+
```
|
577
|
+
|
578
|
+
### Parameters
|
579
|
+
|
580
|
+
Name | Type | Description | Notes
|
581
|
+
------------- | ------------- | ------------- | -------------
|
582
|
+
**contact_id** | [**String**](.md)| id for job |
|
583
|
+
**api_key** | **String**| crelate api key |
|
584
|
+
**skip** | **Integer**| skip number of records, default 0 | [optional]
|
585
|
+
**take** | **Integer**| retrieve x amount of records, limit 500, default 50 | [optional]
|
586
|
+
|
587
|
+
### Return type
|
588
|
+
|
589
|
+
[**PublicApiPlacementResponseList**](PublicApiPlacementResponseList.md)
|
590
|
+
|
591
|
+
### Authorization
|
592
|
+
|
593
|
+
No authorization required
|
594
|
+
|
595
|
+
### HTTP request headers
|
596
|
+
|
597
|
+
- **Content-Type**: Not defined
|
598
|
+
- **Accept**: application/json, text/json
|
599
|
+
|
600
|
+
|
601
|
+
|
602
|
+
# **public_api_get_contact_task**
|
603
|
+
> PublicApiGetTaskResponse public_api_get_contact_task(contact_id, task_id, api_key)
|
604
|
+
|
605
|
+
get a task for a contact
|
606
|
+
|
607
|
+
|
608
|
+
|
609
|
+
### Example
|
610
|
+
```ruby
|
611
|
+
# load the gem
|
612
|
+
require 'crelate_client'
|
613
|
+
|
614
|
+
api_instance = CrelateClient::ContactsApi.new
|
615
|
+
|
616
|
+
contact_id = "contact_id_example" # String | identifier
|
617
|
+
|
618
|
+
task_id = "task_id_example" # String | task identifier
|
619
|
+
|
620
|
+
api_key = "api_key_example" # String | crelate api key
|
621
|
+
|
622
|
+
|
623
|
+
begin
|
624
|
+
#get a task for a contact
|
625
|
+
result = api_instance.public_api_get_contact_task(contact_id, task_id, api_key)
|
626
|
+
p result
|
627
|
+
rescue CrelateClient::ApiError => e
|
628
|
+
puts "Exception when calling ContactsApi->public_api_get_contact_task: #{e}"
|
629
|
+
end
|
630
|
+
```
|
631
|
+
|
632
|
+
### Parameters
|
633
|
+
|
634
|
+
Name | Type | Description | Notes
|
635
|
+
------------- | ------------- | ------------- | -------------
|
636
|
+
**contact_id** | [**String**](.md)| identifier |
|
637
|
+
**task_id** | [**String**](.md)| task identifier |
|
638
|
+
**api_key** | **String**| crelate api key |
|
639
|
+
|
640
|
+
### Return type
|
641
|
+
|
642
|
+
[**PublicApiGetTaskResponse**](PublicApiGetTaskResponse.md)
|
643
|
+
|
644
|
+
### Authorization
|
645
|
+
|
646
|
+
No authorization required
|
647
|
+
|
648
|
+
### HTTP request headers
|
649
|
+
|
650
|
+
- **Content-Type**: Not defined
|
651
|
+
- **Accept**: application/json, text/json
|
652
|
+
|
653
|
+
|
654
|
+
|
655
|
+
# **public_api_get_contacts**
|
656
|
+
> PublicApiGetContactResponseList public_api_get_contacts(modified, api_key, opts)
|
657
|
+
|
658
|
+
retrieve a list of contact updated within a certain time frame
|
659
|
+
|
660
|
+
|
661
|
+
|
662
|
+
### Example
|
663
|
+
```ruby
|
664
|
+
# load the gem
|
665
|
+
require 'crelate_client'
|
666
|
+
|
667
|
+
api_instance = CrelateClient::ContactsApi.new
|
668
|
+
|
669
|
+
modified = 1.2 # Float | modified within x number of minutes
|
670
|
+
|
671
|
+
api_key = "api_key_example" # String | crelate api key
|
672
|
+
|
673
|
+
opts = {
|
674
|
+
skip: 56, # Integer | skip number of records, default 0
|
675
|
+
take: 56, # Integer | retrieve x amount of records, limit 500, default 50
|
676
|
+
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 = Candidate, 2 = Sales Client Contact, 4 = Lead Contact Combined: 3 = 1 and 2, 5 = 1 and 4, 6 = 2 and 4, 7 = 1 and 2 and 4] e.g. type 7 will select only contacts who are all three types
|
677
|
+
}
|
678
|
+
|
679
|
+
begin
|
680
|
+
#retrieve a list of contact updated within a certain time frame
|
681
|
+
result = api_instance.public_api_get_contacts(modified, api_key, opts)
|
682
|
+
p result
|
683
|
+
rescue CrelateClient::ApiError => e
|
684
|
+
puts "Exception when calling ContactsApi->public_api_get_contacts: #{e}"
|
685
|
+
end
|
686
|
+
```
|
687
|
+
|
688
|
+
### Parameters
|
689
|
+
|
690
|
+
Name | Type | Description | Notes
|
691
|
+
------------- | ------------- | ------------- | -------------
|
692
|
+
**modified** | **Float**| modified within x number of minutes |
|
693
|
+
**api_key** | **String**| crelate api key |
|
694
|
+
**skip** | **Integer**| skip number of records, default 0 | [optional]
|
695
|
+
**take** | **Integer**| retrieve x amount of records, limit 500, default 50 | [optional]
|
696
|
+
**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 = Candidate, 2 = Sales Client Contact, 4 = Lead Contact Combined: 3 = 1 and 2, 5 = 1 and 4, 6 = 2 and 4, 7 = 1 and 2 and 4] e.g. type 7 will select only contacts who are all three types | [optional]
|
697
|
+
|
698
|
+
### Return type
|
699
|
+
|
700
|
+
[**PublicApiGetContactResponseList**](PublicApiGetContactResponseList.md)
|
701
|
+
|
702
|
+
### Authorization
|
703
|
+
|
704
|
+
No authorization required
|
705
|
+
|
706
|
+
### HTTP request headers
|
707
|
+
|
708
|
+
- **Content-Type**: Not defined
|
709
|
+
- **Accept**: application/json, text/json
|
710
|
+
|
711
|
+
|
712
|
+
|
713
|
+
# **public_api_get_contacts_by_email**
|
714
|
+
> PublicApiGetContactResponseList public_api_get_contacts_by_email(email, api_key)
|
715
|
+
|
716
|
+
retrieve a list of contacts by email
|
717
|
+
|
718
|
+
|
719
|
+
|
720
|
+
### Example
|
721
|
+
```ruby
|
722
|
+
# load the gem
|
723
|
+
require 'crelate_client'
|
724
|
+
|
725
|
+
api_instance = CrelateClient::ContactsApi.new
|
726
|
+
|
727
|
+
email = "email_example" # String | email address
|
728
|
+
|
729
|
+
api_key = "api_key_example" # String | crelate api key
|
730
|
+
|
731
|
+
|
732
|
+
begin
|
733
|
+
#retrieve a list of contacts by email
|
734
|
+
result = api_instance.public_api_get_contacts_by_email(email, api_key)
|
735
|
+
p result
|
736
|
+
rescue CrelateClient::ApiError => e
|
737
|
+
puts "Exception when calling ContactsApi->public_api_get_contacts_by_email: #{e}"
|
738
|
+
end
|
739
|
+
```
|
740
|
+
|
741
|
+
### Parameters
|
742
|
+
|
743
|
+
Name | Type | Description | Notes
|
744
|
+
------------- | ------------- | ------------- | -------------
|
745
|
+
**email** | **String**| email address |
|
746
|
+
**api_key** | **String**| crelate api key |
|
747
|
+
|
748
|
+
### Return type
|
749
|
+
|
750
|
+
[**PublicApiGetContactResponseList**](PublicApiGetContactResponseList.md)
|
751
|
+
|
752
|
+
### Authorization
|
753
|
+
|
754
|
+
No authorization required
|
755
|
+
|
756
|
+
### HTTP request headers
|
757
|
+
|
758
|
+
- **Content-Type**: Not defined
|
759
|
+
- **Accept**: application/json, text/json
|
760
|
+
|
761
|
+
|
762
|
+
|
763
|
+
# **public_api_post_contact**
|
764
|
+
> PublicApiIdResponse public_api_post_contact(api_key, request)
|
765
|
+
|
766
|
+
create a contact
|
767
|
+
|
768
|
+
|
769
|
+
|
770
|
+
### Example
|
771
|
+
```ruby
|
772
|
+
# load the gem
|
773
|
+
require 'crelate_client'
|
774
|
+
|
775
|
+
api_instance = CrelateClient::ContactsApi.new
|
776
|
+
|
777
|
+
api_key = "api_key_example" # String | crelate api key
|
778
|
+
|
779
|
+
request = CrelateClient::PublicApiSaveContactRequest.new # PublicApiSaveContactRequest |
|
780
|
+
|
781
|
+
|
782
|
+
begin
|
783
|
+
#create a contact
|
784
|
+
result = api_instance.public_api_post_contact(api_key, request)
|
785
|
+
p result
|
786
|
+
rescue CrelateClient::ApiError => e
|
787
|
+
puts "Exception when calling ContactsApi->public_api_post_contact: #{e}"
|
788
|
+
end
|
789
|
+
```
|
790
|
+
|
791
|
+
### Parameters
|
792
|
+
|
793
|
+
Name | Type | Description | Notes
|
794
|
+
------------- | ------------- | ------------- | -------------
|
795
|
+
**api_key** | **String**| crelate api key |
|
796
|
+
**request** | [**PublicApiSaveContactRequest**](PublicApiSaveContactRequest.md)| |
|
797
|
+
|
798
|
+
### Return type
|
799
|
+
|
800
|
+
[**PublicApiIdResponse**](PublicApiIdResponse.md)
|
801
|
+
|
802
|
+
### Authorization
|
803
|
+
|
804
|
+
No authorization required
|
805
|
+
|
806
|
+
### HTTP request headers
|
807
|
+
|
808
|
+
- **Content-Type**: application/json, text/json, application/x-www-form-urlencoded
|
809
|
+
- **Accept**: application/json, text/json
|
810
|
+
|
811
|
+
|
812
|
+
|
813
|
+
# **public_api_post_contact_attachment**
|
814
|
+
> PublicApiIdResponse public_api_post_contact_attachment(contact_id, api_key, request)
|
815
|
+
|
816
|
+
add an attachment to a contact
|
817
|
+
|
818
|
+
### Example
|
819
|
+
```ruby
|
820
|
+
# load the gem
|
821
|
+
require 'crelate_client'
|
822
|
+
|
823
|
+
api_instance = CrelateClient::ContactsApi.new
|
824
|
+
|
825
|
+
contact_id = "contact_id_example" # String | identifier
|
826
|
+
|
827
|
+
api_key = "api_key_example" # String | crelate api key
|
828
|
+
|
829
|
+
request = CrelateClient::PublicApiSaveAttachmentRequest.new # PublicApiSaveAttachmentRequest |
|
830
|
+
|
831
|
+
|
832
|
+
begin
|
833
|
+
#add an attachment to a contact
|
834
|
+
result = api_instance.public_api_post_contact_attachment(contact_id, api_key, request)
|
835
|
+
p result
|
836
|
+
rescue CrelateClient::ApiError => e
|
837
|
+
puts "Exception when calling ContactsApi->public_api_post_contact_attachment: #{e}"
|
838
|
+
end
|
839
|
+
```
|
840
|
+
|
841
|
+
### Parameters
|
842
|
+
|
843
|
+
Name | Type | Description | Notes
|
844
|
+
------------- | ------------- | ------------- | -------------
|
845
|
+
**contact_id** | [**String**](.md)| identifier |
|
846
|
+
**api_key** | **String**| crelate api key |
|
847
|
+
**request** | [**PublicApiSaveAttachmentRequest**](PublicApiSaveAttachmentRequest.md)| |
|
848
|
+
|
849
|
+
### Return type
|
850
|
+
|
851
|
+
[**PublicApiIdResponse**](PublicApiIdResponse.md)
|
852
|
+
|
853
|
+
### Authorization
|
854
|
+
|
855
|
+
No authorization required
|
856
|
+
|
857
|
+
### HTTP request headers
|
858
|
+
|
859
|
+
- **Content-Type**: application/json, text/json, application/x-www-form-urlencoded
|
860
|
+
- **Accept**: application/json, text/json
|
861
|
+
|
862
|
+
|
863
|
+
|
864
|
+
# **public_api_post_contact_job**
|
865
|
+
> PublicApiIdResponse public_api_post_contact_job(contact_id, job_id, api_key, request)
|
866
|
+
|
867
|
+
move a contact into a job for the first time
|
868
|
+
|
869
|
+
|
870
|
+
|
871
|
+
### Example
|
872
|
+
```ruby
|
873
|
+
# load the gem
|
874
|
+
require 'crelate_client'
|
875
|
+
|
876
|
+
api_instance = CrelateClient::ContactsApi.new
|
877
|
+
|
878
|
+
contact_id = "contact_id_example" # String | identifier
|
879
|
+
|
880
|
+
job_id = "job_id_example" # String | identifier
|
881
|
+
|
882
|
+
api_key = "api_key_example" # String | crelate api key
|
883
|
+
|
884
|
+
request = CrelateClient::PublicApiSaveWorkflowItemStatusRequest.new # PublicApiSaveWorkflowItemStatusRequest |
|
885
|
+
|
886
|
+
|
887
|
+
begin
|
888
|
+
#move a contact into a job for the first time
|
889
|
+
result = api_instance.public_api_post_contact_job(contact_id, job_id, api_key, request)
|
890
|
+
p result
|
891
|
+
rescue CrelateClient::ApiError => e
|
892
|
+
puts "Exception when calling ContactsApi->public_api_post_contact_job: #{e}"
|
893
|
+
end
|
894
|
+
```
|
895
|
+
|
896
|
+
### Parameters
|
897
|
+
|
898
|
+
Name | Type | Description | Notes
|
899
|
+
------------- | ------------- | ------------- | -------------
|
900
|
+
**contact_id** | [**String**](.md)| identifier |
|
901
|
+
**job_id** | [**String**](.md)| identifier |
|
902
|
+
**api_key** | **String**| crelate api key |
|
903
|
+
**request** | [**PublicApiSaveWorkflowItemStatusRequest**](PublicApiSaveWorkflowItemStatusRequest.md)| |
|
904
|
+
|
905
|
+
### Return type
|
906
|
+
|
907
|
+
[**PublicApiIdResponse**](PublicApiIdResponse.md)
|
908
|
+
|
909
|
+
### Authorization
|
910
|
+
|
911
|
+
No authorization required
|
912
|
+
|
913
|
+
### HTTP request headers
|
914
|
+
|
915
|
+
- **Content-Type**: application/json, text/json, application/x-www-form-urlencoded
|
916
|
+
- **Accept**: application/json, text/json
|
917
|
+
|
918
|
+
|
919
|
+
|
920
|
+
# **public_api_post_contact_note**
|
921
|
+
> PublicApiIdResponse public_api_post_contact_note(contact_id, api_key, request)
|
922
|
+
|
923
|
+
create a note for a contact
|
924
|
+
|
925
|
+
|
926
|
+
|
927
|
+
### Example
|
928
|
+
```ruby
|
929
|
+
# load the gem
|
930
|
+
require 'crelate_client'
|
931
|
+
|
932
|
+
api_instance = CrelateClient::ContactsApi.new
|
933
|
+
|
934
|
+
contact_id = "contact_id_example" # String | identifier
|
935
|
+
|
936
|
+
api_key = "api_key_example" # String | crelate api key
|
937
|
+
|
938
|
+
request = CrelateClient::PublicApiSaveNoteRequest.new # PublicApiSaveNoteRequest |
|
939
|
+
|
940
|
+
|
941
|
+
begin
|
942
|
+
#create a note for a contact
|
943
|
+
result = api_instance.public_api_post_contact_note(contact_id, api_key, request)
|
944
|
+
p result
|
945
|
+
rescue CrelateClient::ApiError => e
|
946
|
+
puts "Exception when calling ContactsApi->public_api_post_contact_note: #{e}"
|
947
|
+
end
|
948
|
+
```
|
949
|
+
|
950
|
+
### Parameters
|
951
|
+
|
952
|
+
Name | Type | Description | Notes
|
953
|
+
------------- | ------------- | ------------- | -------------
|
954
|
+
**contact_id** | [**String**](.md)| identifier |
|
955
|
+
**api_key** | **String**| crelate api key |
|
956
|
+
**request** | [**PublicApiSaveNoteRequest**](PublicApiSaveNoteRequest.md)| |
|
957
|
+
|
958
|
+
### Return type
|
959
|
+
|
960
|
+
[**PublicApiIdResponse**](PublicApiIdResponse.md)
|
961
|
+
|
962
|
+
### Authorization
|
963
|
+
|
964
|
+
No authorization required
|
965
|
+
|
966
|
+
### HTTP request headers
|
967
|
+
|
968
|
+
- **Content-Type**: application/json, text/json, application/x-www-form-urlencoded
|
969
|
+
- **Accept**: application/json, text/json
|
970
|
+
|
971
|
+
|
972
|
+
|
973
|
+
# **public_api_post_contact_task**
|
974
|
+
> PublicApiIdResponse public_api_post_contact_task(contact_id, api_key, request)
|
975
|
+
|
976
|
+
save a task for a contact
|
977
|
+
|
978
|
+
|
979
|
+
|
980
|
+
### Example
|
981
|
+
```ruby
|
982
|
+
# load the gem
|
983
|
+
require 'crelate_client'
|
984
|
+
|
985
|
+
api_instance = CrelateClient::ContactsApi.new
|
986
|
+
|
987
|
+
contact_id = "contact_id_example" # String | identifier
|
988
|
+
|
989
|
+
api_key = "api_key_example" # String | crelate api key
|
990
|
+
|
991
|
+
request = CrelateClient::PublicApiSaveTaskRequest.new # PublicApiSaveTaskRequest |
|
992
|
+
|
993
|
+
|
994
|
+
begin
|
995
|
+
#save a task for a contact
|
996
|
+
result = api_instance.public_api_post_contact_task(contact_id, api_key, request)
|
997
|
+
p result
|
998
|
+
rescue CrelateClient::ApiError => e
|
999
|
+
puts "Exception when calling ContactsApi->public_api_post_contact_task: #{e}"
|
1000
|
+
end
|
1001
|
+
```
|
1002
|
+
|
1003
|
+
### Parameters
|
1004
|
+
|
1005
|
+
Name | Type | Description | Notes
|
1006
|
+
------------- | ------------- | ------------- | -------------
|
1007
|
+
**contact_id** | [**String**](.md)| identifier |
|
1008
|
+
**api_key** | **String**| crelate api key |
|
1009
|
+
**request** | [**PublicApiSaveTaskRequest**](PublicApiSaveTaskRequest.md)| |
|
1010
|
+
|
1011
|
+
### Return type
|
1012
|
+
|
1013
|
+
[**PublicApiIdResponse**](PublicApiIdResponse.md)
|
1014
|
+
|
1015
|
+
### Authorization
|
1016
|
+
|
1017
|
+
No authorization required
|
1018
|
+
|
1019
|
+
### HTTP request headers
|
1020
|
+
|
1021
|
+
- **Content-Type**: application/json, text/json, application/x-www-form-urlencoded
|
1022
|
+
- **Accept**: application/json, text/json
|
1023
|
+
|
1024
|
+
|
1025
|
+
|
1026
|
+
# **public_api_put_contact**
|
1027
|
+
> Object public_api_put_contact(contact_id, api_key, request)
|
1028
|
+
|
1029
|
+
update a contact
|
1030
|
+
|
1031
|
+
Replaces all fields. To partially update a contact, first retrieve it using the GET method, apply changes and submit to the PUT method.
|
1032
|
+
|
1033
|
+
### Example
|
1034
|
+
```ruby
|
1035
|
+
# load the gem
|
1036
|
+
require 'crelate_client'
|
1037
|
+
|
1038
|
+
api_instance = CrelateClient::ContactsApi.new
|
1039
|
+
|
1040
|
+
contact_id = "contact_id_example" # String | identifier
|
1041
|
+
|
1042
|
+
api_key = "api_key_example" # String | crelate api key
|
1043
|
+
|
1044
|
+
request = CrelateClient::PublicApiSaveContactRequest.new # PublicApiSaveContactRequest |
|
1045
|
+
|
1046
|
+
|
1047
|
+
begin
|
1048
|
+
#update a contact
|
1049
|
+
result = api_instance.public_api_put_contact(contact_id, api_key, request)
|
1050
|
+
p result
|
1051
|
+
rescue CrelateClient::ApiError => e
|
1052
|
+
puts "Exception when calling ContactsApi->public_api_put_contact: #{e}"
|
1053
|
+
end
|
1054
|
+
```
|
1055
|
+
|
1056
|
+
### Parameters
|
1057
|
+
|
1058
|
+
Name | Type | Description | Notes
|
1059
|
+
------------- | ------------- | ------------- | -------------
|
1060
|
+
**contact_id** | [**String**](.md)| identifier |
|
1061
|
+
**api_key** | **String**| crelate api key |
|
1062
|
+
**request** | [**PublicApiSaveContactRequest**](PublicApiSaveContactRequest.md)| |
|
1063
|
+
|
1064
|
+
### Return type
|
1065
|
+
|
1066
|
+
**Object**
|
1067
|
+
|
1068
|
+
### Authorization
|
1069
|
+
|
1070
|
+
No authorization required
|
1071
|
+
|
1072
|
+
### HTTP request headers
|
1073
|
+
|
1074
|
+
- **Content-Type**: application/json, text/json, application/x-www-form-urlencoded
|
1075
|
+
- **Accept**: application/json, text/json
|
1076
|
+
|
1077
|
+
|
1078
|
+
|
1079
|
+
# **public_api_put_contact_job_status**
|
1080
|
+
> Object public_api_put_contact_job_status(contact_id, job_id, api_key, request)
|
1081
|
+
|
1082
|
+
update job stage for a contact
|
1083
|
+
|
1084
|
+
|
1085
|
+
|
1086
|
+
### Example
|
1087
|
+
```ruby
|
1088
|
+
# load the gem
|
1089
|
+
require 'crelate_client'
|
1090
|
+
|
1091
|
+
api_instance = CrelateClient::ContactsApi.new
|
1092
|
+
|
1093
|
+
contact_id = "contact_id_example" # String | contact identifier
|
1094
|
+
|
1095
|
+
job_id = "job_id_example" # String | job identifier
|
1096
|
+
|
1097
|
+
api_key = "api_key_example" # String | crelate api key
|
1098
|
+
|
1099
|
+
request = CrelateClient::PublicApiSaveWorkflowItemStatusRequest.new # PublicApiSaveWorkflowItemStatusRequest |
|
1100
|
+
|
1101
|
+
|
1102
|
+
begin
|
1103
|
+
#update job stage for a contact
|
1104
|
+
result = api_instance.public_api_put_contact_job_status(contact_id, job_id, api_key, request)
|
1105
|
+
p result
|
1106
|
+
rescue CrelateClient::ApiError => e
|
1107
|
+
puts "Exception when calling ContactsApi->public_api_put_contact_job_status: #{e}"
|
1108
|
+
end
|
1109
|
+
```
|
1110
|
+
|
1111
|
+
### Parameters
|
1112
|
+
|
1113
|
+
Name | Type | Description | Notes
|
1114
|
+
------------- | ------------- | ------------- | -------------
|
1115
|
+
**contact_id** | [**String**](.md)| contact identifier |
|
1116
|
+
**job_id** | [**String**](.md)| job identifier |
|
1117
|
+
**api_key** | **String**| crelate api key |
|
1118
|
+
**request** | [**PublicApiSaveWorkflowItemStatusRequest**](PublicApiSaveWorkflowItemStatusRequest.md)| |
|
1119
|
+
|
1120
|
+
### Return type
|
1121
|
+
|
1122
|
+
**Object**
|
1123
|
+
|
1124
|
+
### Authorization
|
1125
|
+
|
1126
|
+
No authorization required
|
1127
|
+
|
1128
|
+
### HTTP request headers
|
1129
|
+
|
1130
|
+
- **Content-Type**: application/json, text/json, application/x-www-form-urlencoded
|
1131
|
+
- **Accept**: application/json, text/json
|
1132
|
+
|
1133
|
+
|
1134
|
+
|
1135
|
+
# **public_api_put_contact_note**
|
1136
|
+
> Object public_api_put_contact_note(contact_id, note_id, api_key, request)
|
1137
|
+
|
1138
|
+
update a note for a contact
|
1139
|
+
|
1140
|
+
|
1141
|
+
|
1142
|
+
### Example
|
1143
|
+
```ruby
|
1144
|
+
# load the gem
|
1145
|
+
require 'crelate_client'
|
1146
|
+
|
1147
|
+
api_instance = CrelateClient::ContactsApi.new
|
1148
|
+
|
1149
|
+
contact_id = "contact_id_example" # String | identifier
|
1150
|
+
|
1151
|
+
note_id = "note_id_example" # String |
|
1152
|
+
|
1153
|
+
api_key = "api_key_example" # String | crelate api key
|
1154
|
+
|
1155
|
+
request = CrelateClient::PublicApiSaveNoteRequest.new # PublicApiSaveNoteRequest |
|
1156
|
+
|
1157
|
+
|
1158
|
+
begin
|
1159
|
+
#update a note for a contact
|
1160
|
+
result = api_instance.public_api_put_contact_note(contact_id, note_id, api_key, request)
|
1161
|
+
p result
|
1162
|
+
rescue CrelateClient::ApiError => e
|
1163
|
+
puts "Exception when calling ContactsApi->public_api_put_contact_note: #{e}"
|
1164
|
+
end
|
1165
|
+
```
|
1166
|
+
|
1167
|
+
### Parameters
|
1168
|
+
|
1169
|
+
Name | Type | Description | Notes
|
1170
|
+
------------- | ------------- | ------------- | -------------
|
1171
|
+
**contact_id** | [**String**](.md)| identifier |
|
1172
|
+
**note_id** | [**String**](.md)| |
|
1173
|
+
**api_key** | **String**| crelate api key |
|
1174
|
+
**request** | [**PublicApiSaveNoteRequest**](PublicApiSaveNoteRequest.md)| |
|
1175
|
+
|
1176
|
+
### Return type
|
1177
|
+
|
1178
|
+
**Object**
|
1179
|
+
|
1180
|
+
### Authorization
|
1181
|
+
|
1182
|
+
No authorization required
|
1183
|
+
|
1184
|
+
### HTTP request headers
|
1185
|
+
|
1186
|
+
- **Content-Type**: application/json, text/json, application/x-www-form-urlencoded
|
1187
|
+
- **Accept**: application/json, text/json
|
1188
|
+
|
1189
|
+
|
1190
|
+
|
1191
|
+
# **public_api_put_contact_task**
|
1192
|
+
> Object public_api_put_contact_task(contact_id, task_id, api_key, request)
|
1193
|
+
|
1194
|
+
update a task for a contact
|
1195
|
+
|
1196
|
+
|
1197
|
+
|
1198
|
+
### Example
|
1199
|
+
```ruby
|
1200
|
+
# load the gem
|
1201
|
+
require 'crelate_client'
|
1202
|
+
|
1203
|
+
api_instance = CrelateClient::ContactsApi.new
|
1204
|
+
|
1205
|
+
contact_id = "contact_id_example" # String | identifier
|
1206
|
+
|
1207
|
+
task_id = "task_id_example" # String |
|
1208
|
+
|
1209
|
+
api_key = "api_key_example" # String | crelate api key
|
1210
|
+
|
1211
|
+
request = CrelateClient::PublicApiSaveTaskRequest.new # PublicApiSaveTaskRequest |
|
1212
|
+
|
1213
|
+
|
1214
|
+
begin
|
1215
|
+
#update a task for a contact
|
1216
|
+
result = api_instance.public_api_put_contact_task(contact_id, task_id, api_key, request)
|
1217
|
+
p result
|
1218
|
+
rescue CrelateClient::ApiError => e
|
1219
|
+
puts "Exception when calling ContactsApi->public_api_put_contact_task: #{e}"
|
1220
|
+
end
|
1221
|
+
```
|
1222
|
+
|
1223
|
+
### Parameters
|
1224
|
+
|
1225
|
+
Name | Type | Description | Notes
|
1226
|
+
------------- | ------------- | ------------- | -------------
|
1227
|
+
**contact_id** | [**String**](.md)| identifier |
|
1228
|
+
**task_id** | [**String**](.md)| |
|
1229
|
+
**api_key** | **String**| crelate api key |
|
1230
|
+
**request** | [**PublicApiSaveTaskRequest**](PublicApiSaveTaskRequest.md)| |
|
1231
|
+
|
1232
|
+
### Return type
|
1233
|
+
|
1234
|
+
**Object**
|
1235
|
+
|
1236
|
+
### Authorization
|
1237
|
+
|
1238
|
+
No authorization required
|
1239
|
+
|
1240
|
+
### HTTP request headers
|
1241
|
+
|
1242
|
+
- **Content-Type**: application/json, text/json, application/x-www-form-urlencoded
|
1243
|
+
- **Accept**: application/json, text/json
|
1244
|
+
|
1245
|
+
|
1246
|
+
|