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
@@ -0,0 +1,467 @@
|
|
1
|
+
=begin
|
2
|
+
#Crelate API Reference
|
3
|
+
|
4
|
+
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
|
+
|
6
|
+
OpenAPI spec version: v1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require "uri"
|
14
|
+
|
15
|
+
module CrelateClient
|
16
|
+
class JobPostingsApi
|
17
|
+
attr_accessor :api_client
|
18
|
+
|
19
|
+
def initialize(api_client = ApiClient.default)
|
20
|
+
@api_client = api_client
|
21
|
+
end
|
22
|
+
|
23
|
+
# delete a job posting
|
24
|
+
#
|
25
|
+
# @param job_id identifier
|
26
|
+
# @param api_key crelate api key
|
27
|
+
# @param [Hash] opts the optional parameters
|
28
|
+
# @return [Object]
|
29
|
+
def public_api_delete_job_postings(job_id, api_key, opts = {})
|
30
|
+
data, _status_code, _headers = public_api_delete_job_postings_with_http_info(job_id, api_key, opts)
|
31
|
+
return data
|
32
|
+
end
|
33
|
+
|
34
|
+
# delete a job posting
|
35
|
+
#
|
36
|
+
# @param job_id identifier
|
37
|
+
# @param api_key crelate api key
|
38
|
+
# @param [Hash] opts the optional parameters
|
39
|
+
# @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers
|
40
|
+
def public_api_delete_job_postings_with_http_info(job_id, api_key, opts = {})
|
41
|
+
if @api_client.config.debugging
|
42
|
+
@api_client.config.logger.debug "Calling API: JobPostingsApi.public_api_delete_job_postings ..."
|
43
|
+
end
|
44
|
+
# verify the required parameter 'job_id' is set
|
45
|
+
if @api_client.config.client_side_validation && job_id.nil?
|
46
|
+
fail ArgumentError, "Missing the required parameter 'job_id' when calling JobPostingsApi.public_api_delete_job_postings"
|
47
|
+
end
|
48
|
+
# verify the required parameter 'api_key' is set
|
49
|
+
if @api_client.config.client_side_validation && api_key.nil?
|
50
|
+
fail ArgumentError, "Missing the required parameter 'api_key' when calling JobPostingsApi.public_api_delete_job_postings"
|
51
|
+
end
|
52
|
+
# resource path
|
53
|
+
local_var_path = "/api/pub/v1/jobPostings/{jobId}".sub('{' + 'jobId' + '}', job_id.to_s)
|
54
|
+
|
55
|
+
# query parameters
|
56
|
+
query_params = {}
|
57
|
+
query_params[:'api_key'] = api_key
|
58
|
+
|
59
|
+
# header parameters
|
60
|
+
header_params = {}
|
61
|
+
# HTTP header 'Accept' (if needed)
|
62
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json'])
|
63
|
+
|
64
|
+
# form parameters
|
65
|
+
form_params = {}
|
66
|
+
|
67
|
+
# http body (model)
|
68
|
+
post_body = nil
|
69
|
+
auth_names = []
|
70
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
71
|
+
:header_params => header_params,
|
72
|
+
:query_params => query_params,
|
73
|
+
:form_params => form_params,
|
74
|
+
:body => post_body,
|
75
|
+
:auth_names => auth_names,
|
76
|
+
:return_type => 'Object')
|
77
|
+
if @api_client.config.debugging
|
78
|
+
@api_client.config.logger.debug "API called: JobPostingsApi#public_api_delete_job_postings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
79
|
+
end
|
80
|
+
return data, status_code, headers
|
81
|
+
end
|
82
|
+
|
83
|
+
# retrieve a job posting
|
84
|
+
#
|
85
|
+
# @param job_id identifier
|
86
|
+
# @param api_key crelate api key
|
87
|
+
# @param [Hash] opts the optional parameters
|
88
|
+
# @return [PublicApiGetJobPostingResponse]
|
89
|
+
def public_api_get_job_posting(job_id, api_key, opts = {})
|
90
|
+
data, _status_code, _headers = public_api_get_job_posting_with_http_info(job_id, api_key, opts)
|
91
|
+
return data
|
92
|
+
end
|
93
|
+
|
94
|
+
# retrieve a job posting
|
95
|
+
#
|
96
|
+
# @param job_id identifier
|
97
|
+
# @param api_key crelate api key
|
98
|
+
# @param [Hash] opts the optional parameters
|
99
|
+
# @return [Array<(PublicApiGetJobPostingResponse, Fixnum, Hash)>] PublicApiGetJobPostingResponse data, response status code and response headers
|
100
|
+
def public_api_get_job_posting_with_http_info(job_id, api_key, opts = {})
|
101
|
+
if @api_client.config.debugging
|
102
|
+
@api_client.config.logger.debug "Calling API: JobPostingsApi.public_api_get_job_posting ..."
|
103
|
+
end
|
104
|
+
# verify the required parameter 'job_id' is set
|
105
|
+
if @api_client.config.client_side_validation && job_id.nil?
|
106
|
+
fail ArgumentError, "Missing the required parameter 'job_id' when calling JobPostingsApi.public_api_get_job_posting"
|
107
|
+
end
|
108
|
+
# verify the required parameter 'api_key' is set
|
109
|
+
if @api_client.config.client_side_validation && api_key.nil?
|
110
|
+
fail ArgumentError, "Missing the required parameter 'api_key' when calling JobPostingsApi.public_api_get_job_posting"
|
111
|
+
end
|
112
|
+
# resource path
|
113
|
+
local_var_path = "/api/pub/v1/jobPostings/{jobId}".sub('{' + 'jobId' + '}', job_id.to_s)
|
114
|
+
|
115
|
+
# query parameters
|
116
|
+
query_params = {}
|
117
|
+
query_params[:'api_key'] = api_key
|
118
|
+
|
119
|
+
# header parameters
|
120
|
+
header_params = {}
|
121
|
+
# HTTP header 'Accept' (if needed)
|
122
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json'])
|
123
|
+
|
124
|
+
# form parameters
|
125
|
+
form_params = {}
|
126
|
+
|
127
|
+
# http body (model)
|
128
|
+
post_body = nil
|
129
|
+
auth_names = []
|
130
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
131
|
+
:header_params => header_params,
|
132
|
+
:query_params => query_params,
|
133
|
+
:form_params => form_params,
|
134
|
+
:body => post_body,
|
135
|
+
:auth_names => auth_names,
|
136
|
+
:return_type => 'PublicApiGetJobPostingResponse')
|
137
|
+
if @api_client.config.debugging
|
138
|
+
@api_client.config.logger.debug "API called: JobPostingsApi#public_api_get_job_posting\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
139
|
+
end
|
140
|
+
return data, status_code, headers
|
141
|
+
end
|
142
|
+
|
143
|
+
# retrieve a list of all job postings
|
144
|
+
#
|
145
|
+
# @param api_key crelate api key
|
146
|
+
# @param [Hash] opts the optional parameters
|
147
|
+
# @option opts [Integer] :skip skip number of records, default 0
|
148
|
+
# @option opts [Integer] :take retrieve x amount of records, limit 500, default 50
|
149
|
+
# @return [PublicApiGetJobPostingListResponse]
|
150
|
+
def public_api_get_job_postings(api_key, opts = {})
|
151
|
+
data, _status_code, _headers = public_api_get_job_postings_with_http_info(api_key, opts)
|
152
|
+
return data
|
153
|
+
end
|
154
|
+
|
155
|
+
# retrieve a list of all job postings
|
156
|
+
#
|
157
|
+
# @param api_key crelate api key
|
158
|
+
# @param [Hash] opts the optional parameters
|
159
|
+
# @option opts [Integer] :skip skip number of records, default 0
|
160
|
+
# @option opts [Integer] :take retrieve x amount of records, limit 500, default 50
|
161
|
+
# @return [Array<(PublicApiGetJobPostingListResponse, Fixnum, Hash)>] PublicApiGetJobPostingListResponse data, response status code and response headers
|
162
|
+
def public_api_get_job_postings_with_http_info(api_key, opts = {})
|
163
|
+
if @api_client.config.debugging
|
164
|
+
@api_client.config.logger.debug "Calling API: JobPostingsApi.public_api_get_job_postings ..."
|
165
|
+
end
|
166
|
+
# verify the required parameter 'api_key' is set
|
167
|
+
if @api_client.config.client_side_validation && api_key.nil?
|
168
|
+
fail ArgumentError, "Missing the required parameter 'api_key' when calling JobPostingsApi.public_api_get_job_postings"
|
169
|
+
end
|
170
|
+
# resource path
|
171
|
+
local_var_path = "/api/pub/v1/jobPostings"
|
172
|
+
|
173
|
+
# query parameters
|
174
|
+
query_params = {}
|
175
|
+
query_params[:'api_key'] = api_key
|
176
|
+
query_params[:'skip'] = opts[:'skip'] if !opts[:'skip'].nil?
|
177
|
+
query_params[:'take'] = opts[:'take'] if !opts[:'take'].nil?
|
178
|
+
|
179
|
+
# header parameters
|
180
|
+
header_params = {}
|
181
|
+
# HTTP header 'Accept' (if needed)
|
182
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json'])
|
183
|
+
|
184
|
+
# form parameters
|
185
|
+
form_params = {}
|
186
|
+
|
187
|
+
# http body (model)
|
188
|
+
post_body = nil
|
189
|
+
auth_names = []
|
190
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
191
|
+
:header_params => header_params,
|
192
|
+
:query_params => query_params,
|
193
|
+
:form_params => form_params,
|
194
|
+
:body => post_body,
|
195
|
+
:auth_names => auth_names,
|
196
|
+
:return_type => 'PublicApiGetJobPostingListResponse')
|
197
|
+
if @api_client.config.debugging
|
198
|
+
@api_client.config.logger.debug "API called: JobPostingsApi#public_api_get_job_postings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
199
|
+
end
|
200
|
+
return data, status_code, headers
|
201
|
+
end
|
202
|
+
|
203
|
+
# retrieve a list of job postings updated within a certain time frame
|
204
|
+
#
|
205
|
+
# @param api_key crelate api key
|
206
|
+
# @param modified modified within x number of minutes ago
|
207
|
+
# @param [Hash] opts the optional parameters
|
208
|
+
# @option opts [Integer] :skip skip number of records, default 0
|
209
|
+
# @option opts [Integer] :take retrieve x amount of records, limit 500, default 50
|
210
|
+
# @return [PublicApiGetJobPostingListResponse]
|
211
|
+
def public_api_get_recent_job_postings(api_key, modified, opts = {})
|
212
|
+
data, _status_code, _headers = public_api_get_recent_job_postings_with_http_info(api_key, modified, opts)
|
213
|
+
return data
|
214
|
+
end
|
215
|
+
|
216
|
+
# retrieve a list of job postings updated within a certain time frame
|
217
|
+
#
|
218
|
+
# @param api_key crelate api key
|
219
|
+
# @param modified modified within x number of minutes ago
|
220
|
+
# @param [Hash] opts the optional parameters
|
221
|
+
# @option opts [Integer] :skip skip number of records, default 0
|
222
|
+
# @option opts [Integer] :take retrieve x amount of records, limit 500, default 50
|
223
|
+
# @return [Array<(PublicApiGetJobPostingListResponse, Fixnum, Hash)>] PublicApiGetJobPostingListResponse data, response status code and response headers
|
224
|
+
def public_api_get_recent_job_postings_with_http_info(api_key, modified, opts = {})
|
225
|
+
if @api_client.config.debugging
|
226
|
+
@api_client.config.logger.debug "Calling API: JobPostingsApi.public_api_get_recent_job_postings ..."
|
227
|
+
end
|
228
|
+
# verify the required parameter 'api_key' is set
|
229
|
+
if @api_client.config.client_side_validation && api_key.nil?
|
230
|
+
fail ArgumentError, "Missing the required parameter 'api_key' when calling JobPostingsApi.public_api_get_recent_job_postings"
|
231
|
+
end
|
232
|
+
# verify the required parameter 'modified' is set
|
233
|
+
if @api_client.config.client_side_validation && modified.nil?
|
234
|
+
fail ArgumentError, "Missing the required parameter 'modified' when calling JobPostingsApi.public_api_get_recent_job_postings"
|
235
|
+
end
|
236
|
+
# resource path
|
237
|
+
local_var_path = "/api/pub/v1/jobPostings/recent"
|
238
|
+
|
239
|
+
# query parameters
|
240
|
+
query_params = {}
|
241
|
+
query_params[:'api_key'] = api_key
|
242
|
+
query_params[:'modified'] = modified
|
243
|
+
query_params[:'skip'] = opts[:'skip'] if !opts[:'skip'].nil?
|
244
|
+
query_params[:'take'] = opts[:'take'] if !opts[:'take'].nil?
|
245
|
+
|
246
|
+
# header parameters
|
247
|
+
header_params = {}
|
248
|
+
# HTTP header 'Accept' (if needed)
|
249
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json'])
|
250
|
+
|
251
|
+
# form parameters
|
252
|
+
form_params = {}
|
253
|
+
|
254
|
+
# http body (model)
|
255
|
+
post_body = nil
|
256
|
+
auth_names = []
|
257
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
258
|
+
:header_params => header_params,
|
259
|
+
:query_params => query_params,
|
260
|
+
:form_params => form_params,
|
261
|
+
:body => post_body,
|
262
|
+
:auth_names => auth_names,
|
263
|
+
:return_type => 'PublicApiGetJobPostingListResponse')
|
264
|
+
if @api_client.config.debugging
|
265
|
+
@api_client.config.logger.debug "API called: JobPostingsApi#public_api_get_recent_job_postings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
266
|
+
end
|
267
|
+
return data, status_code, headers
|
268
|
+
end
|
269
|
+
|
270
|
+
# create a job application
|
271
|
+
# The ResumeContent field should contain a Base64 encoded string representing the contents of the resume, the ResumeFilename should be the original resume filename including the extension.
|
272
|
+
# @param job_id identifier
|
273
|
+
# @param api_key crelate api key
|
274
|
+
# @param request
|
275
|
+
# @param [Hash] opts the optional parameters
|
276
|
+
# @return [PublicApiIdResponse]
|
277
|
+
def public_api_post_job_posting_application(job_id, api_key, request, opts = {})
|
278
|
+
data, _status_code, _headers = public_api_post_job_posting_application_with_http_info(job_id, api_key, request, opts)
|
279
|
+
return data
|
280
|
+
end
|
281
|
+
|
282
|
+
# create a job application
|
283
|
+
# The ResumeContent field should contain a Base64 encoded string representing the contents of the resume, the ResumeFilename should be the original resume filename including the extension.
|
284
|
+
# @param job_id identifier
|
285
|
+
# @param api_key crelate api key
|
286
|
+
# @param request
|
287
|
+
# @param [Hash] opts the optional parameters
|
288
|
+
# @return [Array<(PublicApiIdResponse, Fixnum, Hash)>] PublicApiIdResponse data, response status code and response headers
|
289
|
+
def public_api_post_job_posting_application_with_http_info(job_id, api_key, request, opts = {})
|
290
|
+
if @api_client.config.debugging
|
291
|
+
@api_client.config.logger.debug "Calling API: JobPostingsApi.public_api_post_job_posting_application ..."
|
292
|
+
end
|
293
|
+
# verify the required parameter 'job_id' is set
|
294
|
+
if @api_client.config.client_side_validation && job_id.nil?
|
295
|
+
fail ArgumentError, "Missing the required parameter 'job_id' when calling JobPostingsApi.public_api_post_job_posting_application"
|
296
|
+
end
|
297
|
+
# verify the required parameter 'api_key' is set
|
298
|
+
if @api_client.config.client_side_validation && api_key.nil?
|
299
|
+
fail ArgumentError, "Missing the required parameter 'api_key' when calling JobPostingsApi.public_api_post_job_posting_application"
|
300
|
+
end
|
301
|
+
# verify the required parameter 'request' is set
|
302
|
+
if @api_client.config.client_side_validation && request.nil?
|
303
|
+
fail ArgumentError, "Missing the required parameter 'request' when calling JobPostingsApi.public_api_post_job_posting_application"
|
304
|
+
end
|
305
|
+
# resource path
|
306
|
+
local_var_path = "/api/pub/v1/jobPostings/{jobId}/applications".sub('{' + 'jobId' + '}', job_id.to_s)
|
307
|
+
|
308
|
+
# query parameters
|
309
|
+
query_params = {}
|
310
|
+
query_params[:'api_key'] = api_key
|
311
|
+
|
312
|
+
# header parameters
|
313
|
+
header_params = {}
|
314
|
+
# HTTP header 'Accept' (if needed)
|
315
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json'])
|
316
|
+
# HTTP header 'Content-Type'
|
317
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/x-www-form-urlencoded'])
|
318
|
+
|
319
|
+
# form parameters
|
320
|
+
form_params = {}
|
321
|
+
|
322
|
+
# http body (model)
|
323
|
+
post_body = @api_client.object_to_http_body(request)
|
324
|
+
auth_names = []
|
325
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
326
|
+
:header_params => header_params,
|
327
|
+
:query_params => query_params,
|
328
|
+
:form_params => form_params,
|
329
|
+
:body => post_body,
|
330
|
+
:auth_names => auth_names,
|
331
|
+
:return_type => 'PublicApiIdResponse')
|
332
|
+
if @api_client.config.debugging
|
333
|
+
@api_client.config.logger.debug "API called: JobPostingsApi#public_api_post_job_posting_application\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
334
|
+
end
|
335
|
+
return data, status_code, headers
|
336
|
+
end
|
337
|
+
|
338
|
+
# search job postings
|
339
|
+
#
|
340
|
+
# @param api_key crelate api key
|
341
|
+
# @param query search terms
|
342
|
+
# @param [Hash] opts the optional parameters
|
343
|
+
# @return [PublicApiGetJobPostingSearchResponse]
|
344
|
+
def public_api_put_job_posting(api_key, query, opts = {})
|
345
|
+
data, _status_code, _headers = public_api_put_job_posting_with_http_info(api_key, query, opts)
|
346
|
+
return data
|
347
|
+
end
|
348
|
+
|
349
|
+
# search job postings
|
350
|
+
#
|
351
|
+
# @param api_key crelate api key
|
352
|
+
# @param query search terms
|
353
|
+
# @param [Hash] opts the optional parameters
|
354
|
+
# @return [Array<(PublicApiGetJobPostingSearchResponse, Fixnum, Hash)>] PublicApiGetJobPostingSearchResponse data, response status code and response headers
|
355
|
+
def public_api_put_job_posting_with_http_info(api_key, query, opts = {})
|
356
|
+
if @api_client.config.debugging
|
357
|
+
@api_client.config.logger.debug "Calling API: JobPostingsApi.public_api_put_job_posting ..."
|
358
|
+
end
|
359
|
+
# verify the required parameter 'api_key' is set
|
360
|
+
if @api_client.config.client_side_validation && api_key.nil?
|
361
|
+
fail ArgumentError, "Missing the required parameter 'api_key' when calling JobPostingsApi.public_api_put_job_posting"
|
362
|
+
end
|
363
|
+
# verify the required parameter 'query' is set
|
364
|
+
if @api_client.config.client_side_validation && query.nil?
|
365
|
+
fail ArgumentError, "Missing the required parameter 'query' when calling JobPostingsApi.public_api_put_job_posting"
|
366
|
+
end
|
367
|
+
# resource path
|
368
|
+
local_var_path = "/api/pub/v1/jobPostings/search"
|
369
|
+
|
370
|
+
# query parameters
|
371
|
+
query_params = {}
|
372
|
+
query_params[:'api_key'] = api_key
|
373
|
+
query_params[:'query'] = query
|
374
|
+
|
375
|
+
# header parameters
|
376
|
+
header_params = {}
|
377
|
+
# HTTP header 'Accept' (if needed)
|
378
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json'])
|
379
|
+
|
380
|
+
# form parameters
|
381
|
+
form_params = {}
|
382
|
+
|
383
|
+
# http body (model)
|
384
|
+
post_body = nil
|
385
|
+
auth_names = []
|
386
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
387
|
+
:header_params => header_params,
|
388
|
+
:query_params => query_params,
|
389
|
+
:form_params => form_params,
|
390
|
+
:body => post_body,
|
391
|
+
:auth_names => auth_names,
|
392
|
+
:return_type => 'PublicApiGetJobPostingSearchResponse')
|
393
|
+
if @api_client.config.debugging
|
394
|
+
@api_client.config.logger.debug "API called: JobPostingsApi#public_api_put_job_posting\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
395
|
+
end
|
396
|
+
return data, status_code, headers
|
397
|
+
end
|
398
|
+
|
399
|
+
# update a job posting
|
400
|
+
# Replaces all fields. To partially update a job, first retrieve it using the GET method, apply changes and submit to the PUT method.
|
401
|
+
# @param job_id identifier
|
402
|
+
# @param api_key crelate api key
|
403
|
+
# @param request
|
404
|
+
# @param [Hash] opts the optional parameters
|
405
|
+
# @return [Object]
|
406
|
+
def public_api_put_job_posting_0(job_id, api_key, request, opts = {})
|
407
|
+
data, _status_code, _headers = public_api_put_job_posting_0_with_http_info(job_id, api_key, request, opts)
|
408
|
+
return data
|
409
|
+
end
|
410
|
+
|
411
|
+
# update a job posting
|
412
|
+
# Replaces all fields. To partially update a job, first retrieve it using the GET method, apply changes and submit to the PUT method.
|
413
|
+
# @param job_id identifier
|
414
|
+
# @param api_key crelate api key
|
415
|
+
# @param request
|
416
|
+
# @param [Hash] opts the optional parameters
|
417
|
+
# @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers
|
418
|
+
def public_api_put_job_posting_0_with_http_info(job_id, api_key, request, opts = {})
|
419
|
+
if @api_client.config.debugging
|
420
|
+
@api_client.config.logger.debug "Calling API: JobPostingsApi.public_api_put_job_posting_0 ..."
|
421
|
+
end
|
422
|
+
# verify the required parameter 'job_id' is set
|
423
|
+
if @api_client.config.client_side_validation && job_id.nil?
|
424
|
+
fail ArgumentError, "Missing the required parameter 'job_id' when calling JobPostingsApi.public_api_put_job_posting_0"
|
425
|
+
end
|
426
|
+
# verify the required parameter 'api_key' is set
|
427
|
+
if @api_client.config.client_side_validation && api_key.nil?
|
428
|
+
fail ArgumentError, "Missing the required parameter 'api_key' when calling JobPostingsApi.public_api_put_job_posting_0"
|
429
|
+
end
|
430
|
+
# verify the required parameter 'request' is set
|
431
|
+
if @api_client.config.client_side_validation && request.nil?
|
432
|
+
fail ArgumentError, "Missing the required parameter 'request' when calling JobPostingsApi.public_api_put_job_posting_0"
|
433
|
+
end
|
434
|
+
# resource path
|
435
|
+
local_var_path = "/api/pub/v1/jobPostings/{jobId}".sub('{' + 'jobId' + '}', job_id.to_s)
|
436
|
+
|
437
|
+
# query parameters
|
438
|
+
query_params = {}
|
439
|
+
query_params[:'api_key'] = api_key
|
440
|
+
|
441
|
+
# header parameters
|
442
|
+
header_params = {}
|
443
|
+
# HTTP header 'Accept' (if needed)
|
444
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json'])
|
445
|
+
# HTTP header 'Content-Type'
|
446
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/x-www-form-urlencoded'])
|
447
|
+
|
448
|
+
# form parameters
|
449
|
+
form_params = {}
|
450
|
+
|
451
|
+
# http body (model)
|
452
|
+
post_body = @api_client.object_to_http_body(request)
|
453
|
+
auth_names = []
|
454
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
455
|
+
:header_params => header_params,
|
456
|
+
:query_params => query_params,
|
457
|
+
:form_params => form_params,
|
458
|
+
:body => post_body,
|
459
|
+
:auth_names => auth_names,
|
460
|
+
:return_type => 'Object')
|
461
|
+
if @api_client.config.debugging
|
462
|
+
@api_client.config.logger.debug "API called: JobPostingsApi#public_api_put_job_posting_0\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
463
|
+
end
|
464
|
+
return data, status_code, headers
|
465
|
+
end
|
466
|
+
end
|
467
|
+
end
|