Windchill 基礎原理 > 與他人協同合作 > 訂閱 > 配置 Webhook 訂閱
  
配置 Webhook 訂閱
先決條件
安裝 Winchill Rest Services 1.4 或更高版本是配置 Webhook 訂閱的先決條件。
只有管理員可以執行此組態。欲配置並使用 Webhook 訂閱,請執行下列操作:
1. 在 Windchill「偏好設定管理」中網站層級的 Webhook > 「外向 Webhook URL」偏好設定中指定基礎 Webhook URL。URL 必須以 http 或 https 開頭。僅可以指定一個 URL。例如:http://earth:8004/webhook
2. 使用 REST API 建立 Webhook 訂閱來定義下列項目:
外向 Webhook URL
訂閱事件
物件資訊
物件類型及容器或物件層級
已訂閱使用者
訂閱到期日期
只能使用 REST API 建立 Webhook 訂閱。如需有關建立 Webhook 訂閱的資訊,請參閱 Windchill REST Services 1.4 User's Guide
* 
Webhook URL 中的網域名稱是在建立 Webhook 時指定的,它必須與外向 Webhook URL 偏好設定中所指定的相同。
Webhook 訂閱成功建立之後,Webhook 訂閱項目會列在 Windchill 的訂閱表格中。Webhook 訂閱項目由 Windchill 中的 指示。如需有關存取訂閱表的詳細資訊,請參閱訂閱表
* 
欲修復 SSLHAndshake 相關例外,請匯入附有用戶端 jdk 的伺服器憑證。