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_id | path | string | 必須 | |
Docwize-Version | header | string (date) | 任意 | |
If-None-Match | header | string | 任意 | Answers 304 when the representation is unchanged (resources that publish an ETag). |
応答
| ステータス | 説明 | 本文 |
|---|---|---|
200 | Success. | application/json FreeeEmployeeSource |
304 | Not modified (If-None-Match matched the ETag). | |
400 | invalid_version | application/problem+json Problem |
401 | token_expired, unauthenticated | application/problem+json Problem |
403 | forbidden, insufficient_scope, token_owner_inactive | application/problem+json Problem |
404 | not_found | application/problem+json Problem |
405 | method_not_allowed | application/problem+json Problem |
406 | not_acceptable | application/problem+json Problem |
409 | conflict | application/problem+json Problem |
421 | wrong_region | application/problem+json Problem |
422 | validation_failed | application/problem+json Problem |
500 | internal_error | application/problem+json Problem |
503 | tenant_unavailable, unavailable | application/problem+json Problem |
504 | timeout | application/problem+json Problem |
エラー
この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。
| コード | ステータス |
|---|---|
invalid_version | 400 |
token_expired | 401 |
unauthenticated | 401 |
forbidden | 403 |
insufficient_scope | 403 |
token_owner_inactive | 403 |
not_found | 404 |
method_not_allowed | 405 |
not_acceptable | 406 |
conflict | 409 |
wrong_region | 421 |
validation_failed | 422 |
internal_error | 500 |
tenant_unavailable | 503 |
unavailable | 503 |
timeout | 504 |
スキーマ
FreeeEmployeeSource
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
fields | FreeeSourceField の配列 | 必須 | |
freee_person | FreeePerson | 必須 | |
source_revision | string | 必須 | Identifies these values and the mapping they came from; the preview must send it back, and is refused (409) when the sources changed since. |
transfers | FreeeEmployeeTransfer の配列 | 必須 | The transfers of this person to the connected freee company, newest first, with the employee as reviewed. |
FreeeEmployeeTransfer
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
created_at | string (date-time) または null | 必須 | |
employee | FreeeNewEmployee または null | 必須 | The employee as reviewed. Null in a task's result: the Portal keeps the details in its own journal. |
freee_company_id | string | 必須 | |
freee_employee_id | string または null | 必須 | freee's ID of the employee once it was created. |
freee_employee_transfer_id | string | 必須 | |
freee_person | FreeePerson | 必須 | |
provider_request_reference | string または null | 必須 | freee's request reference of the create call, which freee's support needs to reconcile an employee. |
status | string | 必須 | 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_at | string (date-time) または null | 必須 |
FreeeNewEmployee
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
account_name | string または null | 必須 | The holder's name in katakana or Latin letters, up to 50 characters. |
account_number | string または null | 必須 | Up to 7 digits. |
account_type | string または null | 必須 | ordinary, current or saving. |
address | string または null | 必須 | |
address_kana | string または null | 必須 | |
bank_code | string または null | 必須 | 4 digits. A salary account needs bank_code, branch_code, account_type, account_number and account_name together. |
bank_name | string または null | 必須 | |
bank_name_kana | string または null | 必須 | |
base_pension_num | string または null | 必須 | 10 digits. |
birth_date | string | 必須 | YYYY-MM-DD, not in the future. |
branch_code | string または null | 必須 | 3 digits. |
branch_name | string または null | 必須 | |
branch_name_kana | string または null | 必須 | |
company_reference_date_rule_name | string または null | 必須 | Up to 15 characters. |
email | string または null | 必須 | |
employment_insurance_reference_number | string または null | 必須 | 11 digits. |
employment_type | string または null | 必須 | board-member, regular, fixed-term, part-time or temporary. |
entry_date | string | 必須 | The joining date, YYYY-MM-DD, between 2000 and 2100 and not before the birth date. |
first_name | string | 必須 | |
first_name_kana | string | 必須 | |
gender | string または null | 必須 | unselected, male or female. |
last_name | string | 必須 | |
last_name_kana | string | 必須 | |
married | boolean または null | 必須 | |
no_payroll_calculation | boolean | 必須 | True for an employee outside payroll calculation, who takes only the basic fields. False (the default) for a payroll employee. |
num | string | 必須 | freee's employee number. |
pay_amount | integer または null | 必須 | Base pay, 0 to 99999999. Required for a payroll employee. |
pay_calc_type | string または null | 必須 | monthly, daily or hourly. Required for a payroll employee. |
phone | string または null | 必須 | Three groups of digits, 03-1234-5678. |
prefecture | string または null | 必須 | A prefecture in Japanese, 北海道 to 沖縄県; an address needs it. |
residential_address | string または null | 必須 | |
residential_address_kana | string または null | 必須 | |
residential_prefecture | string または null | 必須 | |
residential_zipcode | string または null | 必須 | 7 digits. |
title | string または null | 必須 | |
working_hours_system_name | string または null | 必須 | Up to 30 characters. |
zipcode | string または null | 必須 | 7 digits. |
FreeePerson
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
freee_person_id | string | 必須 | The person's row in the person register. |
name | string または null | 必須 | |
reference | string または null | 必須 |
FreeeSourceField
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
custom_field_id | string または null | 必須 | |
custom_field_name | string または null | 必須 | |
custom_field_template_id | string または null | 必須 | |
document_id | string または null | 必須 | The resume document a resume value was read from. |
employee_field | string | 必須 | |
source | string | 必須 | |
value | string | 必須 | 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. |