ODBC Driver for Xero

Build 22.0.8479

macOS DSN の構成

このセクションでは、macOS でODBC 接続をセットアップしDSN を設定する方法を示します:

macOS の最小バージョン

CData ODBC Driver for Xero 本製品 にはmacOS Sierra (10.12) 以上が必要です。

ドライバーのライセンス

端末で次のコマンドを実行して、本製品 のライセンスを取得します。評価版をアクティベートするには、<key> の入力を省略してください。

cd "/Applications/CData ODBC Driver for Xero/bin"
sudo ./install-license.sh <key>

名前とパスワードを入力するよう求められます。これらは、あなたの名前とマシンのパスワードを指します。

Xero API への接続

本製品 は、以下のXero API をサポートしています。

  • Accounting API:Schema 接続プロパティをACCOUNTING に設定。
  • Australian Payroll API:Schema 接続プロパティをPAYROLLAUS に設定。
  • Files API:Schema 接続プロパティをFILES に設定。
  • Fixed Assets API:Schema 接続プロパティをASSETS に設定。
  • Projects API:Schema 接続プロパティをPROJECTS に設定。

It is also recommended that you set the Tenant property, which can be the name or ID of a Xero organization. Xero allows you to authorize the 本製品 to access multiple organizations. By default the 本製品 will pick the first one, which may not be the one you expect if the 本製品 is granted access to additional organizations.

If you need to confirm what organizations the 本製品 has access to, you can connect without an Tenant and read the Tenants view. This will provide both the ID and the name of each connected organization. You should use the ID to set the Tenant property when possible since multiple organizations can have the same name.

Xero への認証

All connections to Xero are authenticated using OAuth. The 本製品 supports using PKCE applications and OAuth applications. For desktop applications, the 本製品's embedded application is the simplest way to authenticate.

When the 本製品 starts, it will open a browser and Xero will request your login information. The 本製品 will use the credentials you provide to access your Xero data. These credentials will be saved and automatically refreshed as needed. For desktop applications, the 本製品's default application is the simplest way to authenticate.

When the 本製品 starts, it will open a browser and Xero will request your login information. The 本製品 will use the credentials you provide to access your Xero data. These credentials will be saved and automatically refreshed as needed.

ドライバーのアンインストール

ドライバーをアンインストールする最も簡単な方法は、ターミナルを開いて、インストールディレクトリにあるuninstall.sh スクリプトを実行します。次に例を示します。

cd "/Applications/CData ODBC Driver for Xero"
sudo ./uninstall.sh

Note:このスクリプトはインストールディレクトリから実行される必要があります。

Copyright (c) 2023 CData Software, Inc. - All rights reserved.
Build 22.0.8479