Skip to main content

Save which fields feed each freee employee field (JSON Merge Patch).

PATCH/api/v1/freee-source-mappingconnectors:write

Members sent change (null clears one of the two resume members); fields replaces the whole set of bindings. The Portal checks every field is a scalar field of an active register, bindings with source resume need both resume members, and refuses (409) before the person register mapping is saved. Needs Configure Freee Employee Mappings.

Scopeconnectors:write (sensitive)
AsynchronousNo
MCP toolupdate_freee_source_mapping
Portal permissionsconfigure_freee_employee_mappings

Parameters​

NameInTypeRequiredDescription
Docwize-Versionheaderstring (date)Optional
If-MatchheaderstringOptional

Request body​

Content typeType
application/jsonFreeeSourceMappingPatchInput
application/merge-patch+jsonFreeeSourceMappingPatchInput

Responses​

StatusDescriptionBody
200Success.application/json FreeeSourceMapping or object
400invalid_version, malformed_jsonapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
409conflictapplication/problem+json Problem
412precondition_failedapplication/problem+json Problem
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

FreeeSourceBinding​

FieldTypeRequiredDescription
custom_field_idstringRequiredA scalar field (text, date, number, combo, currency or checkbox) of that register or template.
employee_fieldstringRequiredA field of v1FreeeEmployee: last_name, first_name, last_name_kana, first_name_kana, birth_date, entry_date, num, pay_calc_type, pay_amount, working_hours_system_name, company_reference_date_rule_name, base_pension_num, employment_insurance_reference_number, or a profile or bank field.
sourcestringRequiredperson: a field of the person register. resume: a field of the resume template, read from the person's resume document.

FreeeSourceBindingInput​

FieldTypeRequiredDescription
custom_field_idstringRequiredA scalar field (text, date, number, combo, currency or checkbox) of that register or template.
employee_fieldstringRequiredA field of v1FreeeEmployee: last_name, first_name, last_name_kana, first_name_kana, birth_date, entry_date, num, pay_calc_type, pay_amount, working_hours_system_name, company_reference_date_rule_name, base_pension_num, employment_insurance_reference_number, or a profile or bank field.
sourcestringRequiredperson: a field of the person register. resume: a field of the resume template, read from the person's resume document.

FreeeSourceMapping​

FieldTypeRequiredDescription
fieldsarray of FreeeSourceBindingRequiredOne binding per freee employee field that is read from a register; the others are typed in at review.
person_resume_custom_field_idstring or nullRequiredThe person register's field holding the document ID of the person's resume, for bindings with source resume.
resume_custom_field_template_idstring or nullRequiredThe document custom-field template (a grid) of the resume, for bindings with source resume.

FreeeSourceMappingPatchInput​

FieldTypeRequiredDescription
fieldsarray of FreeeSourceBindingInput or nullOptional
person_resume_custom_field_idstring or nullOptional
resume_custom_field_template_idstring or nullOptional