この文章は Salesforce 機械翻訳システムを使用して翻訳されました。詳細はこちらをご参照ください。
英語に切り替える

User Recommendations for a Specific Action and Object ID

コンテキストユーザへの指定されたアクションおよびオブジェクト ID のおすすめを返します。おすすめの削除にも使用されます。
リソース
1/chatter/users/userId/recommendations/action/objectId
1/connect/communities/communityId/chatter/users/userId/recommendations/action/objectId

userId は、コンテキストユーザの ID または別名 me である必要があります。

メモ

  • action の有効値は次のとおりです。
    • follow
    • join
    • view (バージョン 25.0 以降)
  • objectId の有効値は次のとおりです。
    • actionfollow の場合、objectId は、ユーザ ID、ファイル ID、レコード ID、またはトピック ID になります (バージョン 36.0 以降)。
    • actionjoin の場合、objectId はグループ ID です。
    • actionview の場合、objectId は、ユーザ ID、ファイル ID、グループ ID、レコード ID、カスタムのおすすめ ID (バージョン 34.0 以降)、静的なおすすめの Today (バージョン 35.0 以降)、または記事 ID (バージョン 37.0 以降) です。
適用開始バージョン
24.0
Chatter が必要かどうか
はい
HTTP メソッド
GET、DELETE、または HEAD
DELETE は、おすすめの削除に使用され、次のリソースでのみ有効です。
  • /chatter/users/userId/recommendations/follow/recommendedUserId
  • /chatter/users/userId/recommendations/follow/recommendedFileId
  • /chatter/users/userId/recommendations/follow/recommendedRecordId
  • /chatter/users/userId/recommendations/follow/recommendedTopicId
  • /chatter/users/userId/recommendations/join/recommendedGroupId
  • /chatter/users/userId/recommendations/view/customRecommendationId
  • /chatter/users/userId/recommendations/view/Today
  • /chatter/users/userId/recommendations/view/recommendedArticleId

userId は、コンテキストユーザの ID または別名 me である必要があります。

メモ

GET のレスポンスボディ
Recommendations
DELETE のレスポンスボディ
204: Successful Delete