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

Attachment Input: Feed Poll

このリクエストボディは、バージョン 32.0 以降では使用できません。バージョン 32.0 以降では、Poll Capability Inputを使用します。

重要

XML
XML では、アンケートの選択肢はそれぞれ <choice> 要素にラップされ、attachmentType<attachment> 要素の属性です。例:
1<attachment attachmentType="Poll">
2   <pollChoices>
3      <choice>One</choice>
4      <choice>Two</choice>
5   </pollChoices>
6</attachment>
JSON
1{ "attachment": 
2   {
3      "attachmentType":"Poll",
4      "pollChoices": [
5         "Monday", 
6         "Tuesday"
7      ]
8   }
9}
プロパティ
名前 説明 使用可能なバージョン
attachmentType String 添付ファイルの種別。値 Poll を含める必要があります。 27.0 ~ 31.0
pollChoices String[] フィードアンケートに使用される選択肢のリスト。 26.0 ~ 31.0