メインコンテンツまでスキップ

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

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

このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。

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.

スコープconnectors:write (機密性の高いスコープ)
非同期いいえ
MCP ツールupdate_freee_source_mapping
Portal の権限configure_freee_employee_mappings

パラメーター​

名前場所型必須説明
Docwize-Versionheaderstring (date)任意
If-Matchheaderstring任意

リクエスト本文​

Content-Type型
application/jsonFreeeSourceMappingPatchInput
application/merge-patch+jsonFreeeSourceMappingPatchInput

応答​

ステータス説明本文
200Success.application/json FreeeSourceMapping または 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

エラー​

この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。

スキーマ​

FreeeSourceBinding​

フィールド型必須説明
custom_field_idstring必須A scalar field (text, date, number, combo, currency or checkbox) of that register or template.
employee_fieldstring必須A 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.
sourcestring必須person: a field of the person register. resume: a field of the resume template, read from the person's resume document.

FreeeSourceBindingInput​

フィールド型必須説明
custom_field_idstring必須A scalar field (text, date, number, combo, currency or checkbox) of that register or template.
employee_fieldstring必須A 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.
sourcestring必須person: a field of the person register. resume: a field of the resume template, read from the person's resume document.

FreeeSourceMapping​

フィールド型必須説明
fieldsFreeeSourceBinding の配列必須One binding per freee employee field that is read from a register; the others are typed in at review.
person_resume_custom_field_idstring または null必須The person register's field holding the document ID of the person's resume, for bindings with source resume.
resume_custom_field_template_idstring または null必須The document custom-field template (a grid) of the resume, for bindings with source resume.

FreeeSourceMappingPatchInput​

フィールド型必須説明
fieldsFreeeSourceBindingInput の配列 または null任意
person_resume_custom_field_idstring または null任意
resume_custom_field_template_idstring または null任意