• 最終編集日時: 24 April 2017

連携実行API

このAPIを使用して、統合実行の作成、クエリ、更新、およびステータスの更新を行います。

連携実行にアクセスするURLはhttps ://.coupahost.com/api/integration_runs<instance>です

詳細については、統合のベストプラクティスを参照してください。

アクション

Integration Runs APIを使用すると、次のことができます。

動詞 パス アクション 説明
投稿 /api/integration_runs 作成 保留中のステータスで統合実行を作成
プット /api/integration_runs /: id/fail 失敗 統合実行ステータスを失敗として設定する
取得 /api/integration_runs index クエリ統合の実行
プット /api/integration_runs /: id/pause 一時停止 統合実行ステータスを一時停止に設定する
プット /api/integration_runs /: id/pending 承認待ち 統合実行ステータスを保留中に設定する
プット /api/integration_runs /: id/run run インテグレーションの実行ステータスを実行中に設定する
取得 /api/integration_runs /: id 表示 連携実行を表示
プット /api/integration_runs /: id/success 成功 統合実行ステータスを正常に設定する
パッチ /api/integration_runs /: id update 連携実行の更新
プット /api/integration_runs /: id update 連携実行を更新

要素

Integration Run APIで使用できる要素は次のとおりです。

要素 説明 タイプ APIイン APIアウト 必須 長さ 許容値
created - at CoupaがYYY - MM - DDTHH: MM: SS + HH: MMZの形式で自動的に作成しました         はい 日時
end - time 終了時刻       はい はい 日時
flow flow       はい はい フロー
iD Coupaの一意の識別子         はい 整数
統合 integration はい     はい はい 統合
統合 標準 boolean     いいえ   任意の
integrationError document_type string (255)     いいえ   OrderHeader、InventoryTransaction、InvoiceHeader、ExpenseReport、RequisitionHeader、Account、Supplier、User、Address、RemitToAddress、Contract、ExchangeRate、Invoice、Requisition、Payment、ApprovalChain、LookupValue、Item、SupplierInformation
integrationError 文書ID 整数     いいえ   任意の
integrationError 文書ステータス string     いいえ   any
integrationError 文書改訂 整数     いいえ   任意の
integration - errors integration_errors string       はい IntegrationError
integrationError document_type string (255)      

OrderHeader、InventoryTransaction、InvoiceHeader、ExpenseReport、RequisitionHeader、Account、Supplier、User、Address、RemitToAddress、Contract、ExchangeRate、Invoice、Requisition、Payment、ApprovalChain、LookupValue、Item、SupplierInformation

integrationError 文書ID 整数       任意の
integrationError 文書ステータス string       任意の
integrationError 文書改訂 整数       any
records - processed records_processed       はい はい 整数
start - time start_time       はい はい 日時
ステータス 取引のステータス         はい string
total - records total_records       はい はい 整数
updated - at CoupaがYYY - MM - DDTHH: MM: SS + HH: MMZの形式で自動的に作成しました         はい 日時

関連アイテム


Coupa Core API

CoupaのRESTful APIは、お客様のデータをCoupaプラットフォームで読み取り、編集し、統合するための堅牢なアクセスを提供します。

APIの開始

Coupa APIの使用に関する一般情報、およびCSVの使用を検討するタイミング。

OAuth 2.0およびOIDCへの移行

Coupaは従来のAPIキーを廃止し、OAuth 2.0 / OIDCの使用を必要としています。R34以降、新しいAPIキーは発行されず、R35ではAPIキーはサポートされなくなります。

リソース

参照データ、トランザクションデータ、共有リソースなど、オブジェクトのタイプ別にAPIエンドポイントを整理しました。