LoginSignup
0
0

More than 1 year has passed since last update.

Connect REST API エンドポイント /connect/notifications を使用して空の通知リストを受け取りました。

Posted at

Connect REST API エンドポイント /connect/notifications を使用して空の通知リストを受け取りました。

image.png

The API uses the context of the requesting connected app and returns notifications for the appropriate types.

Since you seem to accessing the API using rest explorer which uses the 'Workbench' connected app in SF to access Salesforce as per predefined policies. Since this app does not have the correct context of fetching the notifications data, hence you did not receive the necessary data. In order to verify your callout response you can trigger the callout from execute anonymous window using APEX HTTP request and response classes.

API は、要求元の接続アプリケーションのコンテキストを使用して、適切なタイプの通知を返します

事前定義されたポリシーに従って Salesforce にアクセスするために SF で「Workbench」接続アプリを使用するレスト エクスプローラーを使用して API にアクセスしているようです。このアプリには通知データを取得するための正しいコンテキストがないため、必要なデータを受け取りませんでした。コールアウト応答を確認するために、APEX HTTP 要求および応答クラスを使用して、匿名ウィンドウの実行からコールアウトをトリガーできます。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0