連携履歴レコードAPI

統合履歴レコードにアクセスするURLは https ://{your_instance}/api/integration_history_recordsです

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

アクション

連携履歴レコードAPIでは以下の操作が可能です。

動詞パスアクションDescription
POST/api/integration_history_records/acknowledgeacknowledge
POST/api/integration_history_records作成連携履歴レコードを作成する
POST/api/integration_history_records/create_alertcreate_alert
POST

/api/integration_history_records/

create_alert_and_mark_exported

create_alert_and_mark_exported
GET/api/integration_history_recordsインデックス連携履歴レコードを検索する
POST/api/integration_history_records/mark_exportedmark_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-iddocument_idyes
yes
yes
整数
document-revisiondocument_revisionyes
yes
整数
document-statusdocument_statusyes
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、InventoryRequestHeaderyes
yes
string(255)
外部IDexternal_idyes
yes
string(255)
IDCoupaの一意の識別子yes
整数
integrationintegrationyes
yes
連携
integration-runintegration_runyes
連携実行
integration-run-id連携実行の一意の識別子yes
yes
整数
integration_filename一括インポート/エクスポートのファイル名yes
string(255)
resolvedこのレコードが解決された場合はtrueyes
boolean
responses外部システムからのレスポンスyes
yes
統合レコード応答
ステータス取引ステータスyes
yes
string(255)
updated-atCoupaがYYY-MM-DDTHH:MM:SS+HH:MMZの形式で自動的に作成しますyes
datetime
updated-by更新したユーザーyes
ユーザー