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

Get the freee connection.

GET/api/v1/freee-connectionconnectors:read
注記

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

Whether the organisation is connected to freee, for which product and company and with which scopes, whether you may send employee data, the operator's switch for it, and the freee company approved to receive employee data (approving it is a Portal action). Always answers: is_connected false when there is no connection. Needs View Freee Connection.

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

パラメーター​

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

応答​

ステータス説明本文
200Success.application/json FreeeConnection
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
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/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 のコードです。各コードからそのページに移動できます。

スキーマ​

FreeeConnection​

フィールド型必須説明
can_send_employeesboolean必須You hold Submit Freee Employee Transfers, which sending employee data needs.
destinationFreeeDestination または null必須The freee company approved to receive employee data. Approving and revoking are done in the Portal; null when none is approved.
freee_company_idstring または null必須
freee_company_namestring または null必須
freee_company_rolestring または null必須The connecting user's role in the freee company.
has_write_scopeboolean必須The connection may write employees (hr:employees:write).
is_connectedboolean必須
is_employee_creation_enabledboolean必須The operator's switch for creating employees in freee for this organisation; on unless an operator switched it off.
productstring または null必須accounting or hr: what the connection was authorised for; null when not connected.
scopestring または null必須The scopes freee granted, space separated.

FreeeDestination​

フィールド型必須説明
approved_atstring (date-time)必須
approved_byUserRef必須
consent_versioninteger または null必須The version of the opt-in wording the approver agreed to; null when approved before versioning.
freee_company_idstring必須
freee_company_namestring必須

UserRef​

フィールド型必須説明
display_namestring必須
kindstring: user, system, integration または string必須
user_idstring または null必須