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

Get what the registers give for one person's freee employee.

GET/api/v1/freee-people/{freee_person_id}/employee-sourceconnectors:read
注記

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

The values of every bound field for the person, where each was read from, the source_revision the review must send, and the transfers already made for the person to the connected freee company. Like the Portal it needs the operator's switch on and a freee HR connection with employee write access and an approved destination (403 otherwise; approving is done in the Portal), and 403 when a resume value comes from a document you cannot read. Needs Preview Freee Employee Transfers.

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

パラメーター​

名前場所型必須説明
freee_person_idpathstring必須
Docwize-Versionheaderstring (date)任意
If-None-Matchheaderstring任意Answers 304 when the representation is unchanged (resources that publish an ETag).

応答​

ステータス説明本文
200Success.application/json FreeeEmployeeSource
304Not modified (If-None-Match matched the ETag).
400invalid_versionapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
409conflictapplication/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 のコードです。各コードからそのページに移動できます。

スキーマ​

FreeeEmployeeSource​

フィールド型必須説明
fieldsFreeeSourceField の配列必須
freee_personFreeePerson必須
source_revisionstring必須Identifies these values and the mapping they came from; the preview must send it back, and is refused (409) when the sources changed since.
transfersFreeeEmployeeTransfer の配列必須The transfers of this person to the connected freee company, newest first, with the employee as reviewed.

FreeeEmployeeTransfer​

フィールド型必須説明
created_atstring (date-time) または null必須
employeeFreeeNewEmployee または null必須The employee as reviewed. Null in a task's result: the Portal keeps the details in its own journal.
freee_company_idstring必須
freee_employee_idstring または null必須freee's ID of the employee once it was created.
freee_employee_transfer_idstring必須
freee_personFreeePerson必須
provider_request_referencestring または null必須freee's request reference of the create call, which freee's support needs to reconcile an employee.
statusstring必須draft (reviewed, nothing sent), sending, created (the employee exists in freee), details (created and linked; a section freee did not accept waits for correct-details), verified (done), rejected (freee refused: nothing was created) or unknown (the outcome could not be confirmed: inspect freee before anything is sent again). Open.
submitted_atstring (date-time) または null必須

FreeeNewEmployee​

フィールド型必須説明
account_namestring または null必須The holder's name in katakana or Latin letters, up to 50 characters.
account_numberstring または null必須Up to 7 digits.
account_typestring または null必須ordinary, current or saving.
addressstring または null必須
address_kanastring または null必須
bank_codestring または null必須4 digits. A salary account needs bank_code, branch_code, account_type, account_number and account_name together.
bank_namestring または null必須
bank_name_kanastring または null必須
base_pension_numstring または null必須10 digits.
birth_datestring必須YYYY-MM-DD, not in the future.
branch_codestring または null必須3 digits.
branch_namestring または null必須
branch_name_kanastring または null必須
company_reference_date_rule_namestring または null必須Up to 15 characters.
emailstring または null必須
employment_insurance_reference_numberstring または null必須11 digits.
employment_typestring または null必須board-member, regular, fixed-term, part-time or temporary.
entry_datestring必須The joining date, YYYY-MM-DD, between 2000 and 2100 and not before the birth date.
first_namestring必須
first_name_kanastring必須
genderstring または null必須unselected, male or female.
last_namestring必須
last_name_kanastring必須
marriedboolean または null必須
no_payroll_calculationboolean必須True for an employee outside payroll calculation, who takes only the basic fields. False (the default) for a payroll employee.
numstring必須freee's employee number.
pay_amountinteger または null必須Base pay, 0 to 99999999. Required for a payroll employee.
pay_calc_typestring または null必須monthly, daily or hourly. Required for a payroll employee.
phonestring または null必須Three groups of digits, 03-1234-5678.
prefecturestring または null必須A prefecture in Japanese, 北海道 to 沖縄県; an address needs it.
residential_addressstring または null必須
residential_address_kanastring または null必須
residential_prefecturestring または null必須
residential_zipcodestring または null必須7 digits.
titlestring または null必須
working_hours_system_namestring または null必須Up to 30 characters.
zipcodestring または null必須7 digits.

FreeePerson​

フィールド型必須説明
freee_person_idstring必須The person's row in the person register.
namestring または null必須
referencestring または null必須

FreeeSourceField​

フィールド型必須説明
custom_field_idstring または null必須
custom_field_namestring または null必須
custom_field_template_idstring または null必須
document_idstring または null必須The resume document a resume value was read from.
employee_fieldstring必須
sourcestring必須
valuestring必須What the register holds, in freee's form where Docwize knows the Japanese labels (a gender, a pay type, an employment type, an account type, married); empty when the register has nothing.