連携エラーAPI
統合エラーにアクセスするURLは https ://{your_instance}/api/integration_errorsです
詳細については、統合のベストプラクティスを参照してください。
アクション
連携履歴レコードAPIでは以下の操作が可能です。
| 動詞 | パス | アクション | Description |
|---|---|---|---|
| GET | /api/integration_errors | query | 連携エラーを検索 |
| POST | /api/integration_errors | 作成 | 連携エラーを作成 |
| GET | /api/integration_errors/{id} | 表示 | 連携エラーを表示 |
| PATCH | /api/integration_errors/{id} | 更新 | 連携エラーを更新 |
| PUT | /api/integration_errors/{id} | 更新 | 連携エラーを更新 |
| PUT | /api/integration_errors/{id}/resolve | resolve | 連携エラーを解決 |
| PUT | /api/integration_errors/{id}/unresolve | unresolve | 解決済みの連携エラーを未解決にする |
| POST | /api/integration_errors/create_alert | create_alert | /integration_errors/create_alert |
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 | 整数 | |||
| document-revision | document_revision | yes | yes | 整数 | |||
| document-status | document_status | yes | yes | string(255) | |||
| document-type | 文書タイプ | ContingentWorkOrderHeader、ExternalOrderHeader、OrderHeader、InventoryTransaction、InvoiceHeader、ExpenseReport、RequisitionHeader、Account、Supplier、User、Address、RemitToAddress、Contract、ExchangeRate、Invoice、Requisition、Payment、ApprovalChain、LookupValue、Item、SupplierInformation、Asn::Header、AccountValidationRule、Payables::External::Payable、Charge、Payables::Invoice、Payables::Expense、CoupaPay::Payment、CoupaPay::Statement、ReceiptRequest、InventoryRequestHeader | yes | yes | string(255) | ||
| 外部ID | 外部ID | yes | yes | string(255) | |||
| ID | Coupaの一意の識別子 | yes | 整数 | ||||
| integration | integration | yes | yes | 連携 | |||
| integration-filename | 連携エラーに関連付けられているファイル名 | yes | yes | string(255) | |||
| integration-run | integration-run | yes | yes | ||||
| integration-run-id | 連携実行ID | yes | yes | 整数 | |||
| resolved | このエラーが解決された場合はtrue | yes | boolean | ||||
| responses | 外部システムからのレスポンス | yes | yes | IntegrationRecordResponse | |||
| ステータス | 取引ステータス | yes | yes | string(255) | |||
| updated-at | CoupaがYYY-MM-DDTHH:MM:SS+HH:MMZの形式で自動的に作成します | yes | yes | datetime | |||
| updated-by | 更新したユーザー | yes | ユーザー |