連携履歴レコードAPI
統合履歴レコードにアクセスするURLは https ://{your_instance}/api/integration_history_recordsです
詳細については、統合のベストプラクティスを参照してください。
アクション
連携履歴レコードAPIでは以下の操作が可能です。
| 動詞 | パス | アクション | Description |
|---|---|---|---|
| POST | /api/integration_history_records/acknowledge | acknowledge | |
| POST | /api/integration_history_records | 作成 | 連携履歴レコードを作成する |
| POST | /api/integration_history_records/create_alert | create_alert | |
| POST |
| create_alert_and_mark_exported | |
| GET | /api/integration_history_records | インデックス | 連携履歴レコードを検索する |
| POST | /api/integration_history_records/mark_exported | mark_exported | |
| GET | /api/integration_history_records /: id | 表示 | 連携履歴レコードを表示する |
| PATCH | /api/integration_history_records /: id | 更新 | 連携履歴レコードを更新する |
| PUT | /api/integration_history_records /: id | 更新 | 連携履歴レコードを更新する |
Elements
連携履歴レコードAPIで使用できる要素は次のとおりです。
| 要素 | Description | 必須 | 一意 | 許容値 | 入力 | 出力 | データタイプ |
|---|---|---|---|---|---|---|---|
| contact-alert-type | 連絡先アラートタイプ | yes | yes | yes | string(255) | ||
| 作成日時 | CoupaがYYY-MM-DDTHH:MM:SS+HH:MMZの形式で自動的に作成します | yes | yes | datetime | |||
| created-by | 作成したユーザー | yes | ユーザー | ||||
| creation-method | 作成方法 | yes | yes | string(255) | |||
| document-id | document_id | yes | yes | yes | 整数 | ||
| document-revision | document_revision | yes | yes | 整数 | |||
| document-status | document_status | yes | yes | string(255) | |||
| document-type | 文書タイプ | yes | ExternalOrderHeader、OrderHeader、InventoryTransaction、InvoiceHeader、ExpenseReport、RequisitionHeader、Account、Supplier、User、Address、RemitToAddress、Contract、ExchangeRate、Invoice、Requisition、Payment、ApprovalChain、LookupValue、Item、SupplierInformation、Asn:: Header、AccountValidationRule、ContingentWorkOrderHeader、Payables:: External:: Payable、Charge、Payables:: Invoice、Payables:: Expense、CoupaPay:: Payment、CoupaPay:: Statement、ReceiptRequest、InventoryRequestHeader | yes | yes | string(255) | |
| 外部ID | external_id | yes | yes | string(255) | |||
| ID | Coupaの一意の識別子 | yes | 整数 | ||||
| integration | integration | yes | yes | 連携 | |||
| integration-run | integration_run | yes | 連携実行 | ||||
| integration-run-id | 連携実行の一意の識別子 | yes | yes | 整数 | |||
| integration_filename | 一括インポート/エクスポートのファイル名 | yes | string(255) | ||||
| resolved | このレコードが解決された場合はtrue | yes | boolean | ||||
| responses | 外部システムからのレスポンス | yes | yes | 統合レコード応答 | |||
| ステータス | 取引ステータス | yes | yes | string(255) | |||
| updated-at | CoupaがYYY-MM-DDTHH:MM:SS+HH:MMZの形式で自動的に作成します | yes | datetime | ||||
| updated-by | 更新したユーザー | yes | ユーザー | ||||