製品をチェック

無償トライアル:

無償トライアルへ

製品の情報と無償トライアルへ:

Bullhorn CRM ODBC Driver

Bullhorn CRM ODBC Driver を使って、ODBC 接続をサポートするあらゆるアプリケーション・ツールからBullhorn CRM にデータ連携。

Bullhorn CRM データにデータベースと同感覚でアクセスして、Bullhorn CRM のCandidates、Resumes、Searches データに使い慣れたODBC インターフェースで双方向連携。

データ連携でお困りですか?

お問い合わせ

Ruby でBullhorn CRM データ連携アプリを構築


Ruby でODBC 経由でBullhorn CRM に接続して、モダンなクラウド連携アプリを開発。


bullhorncrm ロゴ画像
odbc ロゴ画像

ODBC

Ruby ロゴ画像

CData ODBC Driver for BullhornCRM を使うと、簡単にRuby アプリケーションにリアルタイムBullhorn CRM データを連携・統合できます。 Tこの記事では、Bullhorn CRM] データにリアルタイムに連携するRuby アプリケーションを構築して、クエリを実行し、結果を表示してみます。

Bullhorn CRM データのODBC 接続を設定

通常はCData ODBC Driver のインストール後にODBC DSN 接続ウィザードが立ち上がり、設定を行うことができます。 もしODBC DSN 接続が未済の場合には、Microsoft ODBC データソースアドミニストレータでODBC DSN を作成および設定することができます。

Begin by providing your Bullhorn CRM account credentials in the following:

If you are uncertain about your data center code, codes like CLS2, CLS21, etc. are cluster IDs that are contained in a user's browser URL (address bar) once they are logged in.

Example: https://cls21.bullhornstaffing.com/BullhornSTAFFING/MainFrame.jsp?#no-ba... indicates that the logged in user is on CLS21.

Authenticating with OAuth

Bullhorn CRM uses the OAuth 2.0 authentication standard. To authenticate using OAuth, create and configure a custom OAuth app. See the Help documentation for more information.

Ruby および必要なGem のインストール

If you do not have Ruby installed, refer to the Ruby インストールページ. Ruby をインストールしたら、次にruby-dbi、dbd-odbc、ruby-odbc gems をインストールします:

gem install dbi gem install dbd-odbc gem install ruby-odbc

Bullhorn CRM データに連携するRuby アプリケーションの作成

Ruby ファイル (例: BullhornCRMSelect.rb) を作成し、テキストエディタで開きます。ファイルに次のコードをコピーします:

#connect to the DSN require 'DBI' cnxn = DBI.connect('DBI:ODBC:CData BullhornCRM Source','','') #execute a SELECT query and store the result set resultSet = cnxn.execute("SELECT Id, CandidateName FROM Candidate WHERE CandidateName = 'Jane Doe'") #display the names of the columns resultSet.column_names.each do |name| print name, "\t" end puts #display the results while row = resultSet.fetch do (0..resultSet.column_names.size - 1).each do |n| print row[n], "\t" end puts end resultSet.finish #close the connection cnxn.disconnect if cnxn

これで、Ruby で Bullhorn CRM データが接続できるようになります。簡単にコマンドラインからファイルを叩いて接続を確認してみましょう。:

ruby BullhornCRMSelect.rb Bullhorn CRM へのSQL-92 企画のSQL を使って、Ruby に簡単にBullhorn CRM を連携できます。是非、トライアルで試してみてください。